@skzz/components-gis 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- // images.d.ts
2
- declare module '*.png'
3
- declare module '*.jpg'
4
- declare module '*.jpeg'
5
- declare module '*.gif'
6
- declare module '*.svg'
1
+ // images.d.ts
2
+ declare module '*.png'
3
+ declare module '*.jpg'
4
+ declare module '*.jpeg'
5
+ declare module '*.gif'
6
+ declare module '*.svg'
7
7
  declare module '*.webp'
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 将一张地理配准图片按 EPSG:4326 Polygon/MultiPolygon 遮罩。
3
+ * rectangle 为图片覆盖范围(Cesium Rectangle),projection 决定像素坐标映射。
4
+ */
5
+ export function maskImageWithDisplayGeometry(image: any, geometry: any, rectangle: any, projection: any): any;
6
+ /**
7
+ * 包装 Cesium WMS/WMTS provider 的取图方法,仅改变虚拟胶囊传入的影像像素。
8
+ */
9
+ export function applyDisplayGeometryMask(provider: any, geometry: any): any;
@@ -6,9 +6,9 @@ declare const _default: import('vue').DefineComponent<{}, {
6
6
  reload: typeof loadGeoJson;
7
7
  setVisibility: typeof setVisibility;
8
8
  $emit: (event: "loaded" | "error" | "updated" | "click", ...args: any[]) => void;
9
+ style: Record<string, any>;
9
10
  geojson: string | Record<string, any>;
10
11
  name: string;
11
- style: Record<string, any>;
12
12
  show: boolean;
13
13
  clampToGround: boolean;
14
14
  token: string;
@@ -18,9 +18,9 @@ declare const _default: import('vue').DefineComponent<{}, {
18
18
  styleByProperty: Record<string, any>;
19
19
  note: Record<string, any>;
20
20
  $props: {
21
+ readonly style?: Record<string, any> | undefined;
21
22
  readonly geojson?: string | Record<string, any> | undefined;
22
23
  readonly name?: string | undefined;
23
- readonly style?: Record<string, any> | undefined;
24
24
  readonly show?: boolean | undefined;
25
25
  readonly clampToGround?: boolean | undefined;
26
26
  readonly token?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {
2
+ $emit: (event: "point-click", ...args: any[]) => void;
2
3
  config: Record<string, any>;
3
4
  $props: {
4
5
  readonly config?: Record<string, any> | undefined;
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "name": "@skzz/components-gis",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "main": "./dist/index.umd.js",
6
- "module": "./dist/index.es.js",
7
- "types": "./dist/index.d.ts",
8
- "style": "./dist/index.css",
9
- "sideEffects": [
10
- "*.css",
11
- "./dist/index.css"
12
- ],
13
- "exports": {
14
- ".": {
15
- "types": "./dist/index.d.ts",
16
- "import": "./dist/index.es.js",
17
- "require": "./dist/index.umd.js"
18
- },
19
- "./dist/index.css": "./dist/index.css"
20
- },
21
- "files": [
22
- "dist"
23
- ],
24
- "scripts": {
25
- "dev": "vite",
26
- "build": "vue-tsc --noEmit && vite build",
27
- "preview": "vite preview",
28
- "prepublishOnly": "npm run build"
29
- },
30
- "keywords": [
31
- "vue3",
32
- "component",
33
- "ui"
34
- ],
35
- "peerDependencies": {
36
- "@element-plus/icons-vue": "^2.3.2",
37
- "@skzz/libs-base": "^0.0.2",
38
- "@skzz/libs-gis": "^0.0.1",
39
- "@skzz/utils-common": "^0.0.2",
40
- "@vueup/vue-quill": "1.2.0",
41
- "@vueuse/core": "13.3.0",
42
- "axios": "^1.11.0",
43
- "cesium": "^1.134.1",
44
- "element-plus": "^2.11.1",
45
- "pinia": "^3.0.3",
46
- "vue": "^3.5.19",
47
- "vue-router": "^4.5.1"
48
- },
49
- "dependencies": {
50
- "@liumaorong/cesium-vectortile-gl-plus": "^0.1.6"
51
- },
52
- "publishConfig": {
53
- "access": "public",
54
- "registry": "https://registry.npmjs.org"
55
- },
56
- "devDependencies": {
57
- "cesium": "^1.134.1",
58
- "vite-plugin-cesium": "^1.2.23"
59
- },
60
- "author": "Your Name",
61
- "license": "MIT"
62
- }
1
+ {
2
+ "name": "@skzz/components-gis",
3
+ "version": "0.0.3",
4
+ "type": "module",
5
+ "main": "./dist/index.umd.js",
6
+ "module": "./dist/index.es.js",
7
+ "types": "./dist/index.d.ts",
8
+ "style": "./dist/index.css",
9
+ "sideEffects": [
10
+ "*.css",
11
+ "./dist/index.css"
12
+ ],
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.es.js",
17
+ "require": "./dist/index.umd.js"
18
+ },
19
+ "./dist/index.css": "./dist/index.css"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "dev": "vite",
26
+ "build": "vue-tsc --noEmit && vite build",
27
+ "preview": "vite preview",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "keywords": [
31
+ "vue3",
32
+ "component",
33
+ "ui"
34
+ ],
35
+ "peerDependencies": {
36
+ "@element-plus/icons-vue": "^2.3.2",
37
+ "@skzz/libs-base": "^0.0.2",
38
+ "@skzz/libs-gis": "^0.0.1",
39
+ "@skzz/utils-common": "^0.0.2",
40
+ "@vueup/vue-quill": "1.2.0",
41
+ "@vueuse/core": "13.3.0",
42
+ "axios": "^1.11.0",
43
+ "cesium": "^1.134.1",
44
+ "element-plus": "^2.11.1",
45
+ "pinia": "^3.0.3",
46
+ "vue": "^3.5.19",
47
+ "vue-router": "^4.5.1"
48
+ },
49
+ "dependencies": {
50
+ "@liumaorong/cesium-vectortile-gl-plus": "^0.1.6"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public",
54
+ "registry": "https://registry.npmjs.org"
55
+ },
56
+ "devDependencies": {
57
+ "cesium": "^1.134.1",
58
+ "vite-plugin-cesium": "^1.2.23"
59
+ },
60
+ "author": "Your Name",
61
+ "license": "MIT"
62
+ }