@skzz/components-gis 0.0.4 → 0.0.5

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.
@@ -0,0 +1,13 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ groupKey: string;
3
+ stackIndex: number;
4
+ subStackIndex: number;
5
+ config: Record<string, any>;
6
+ $props: {
7
+ readonly groupKey?: string | undefined;
8
+ readonly stackIndex?: number | undefined;
9
+ readonly subStackIndex?: number | undefined;
10
+ readonly config?: Record<string, any> | undefined;
11
+ };
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
@@ -0,0 +1,56 @@
1
+ export function initLayer(viewer: any, options: any): Promise<ShpZztsLayer | null>;
2
+ export function removeLayer(id: any): void;
3
+ export function getLayer(id: any): any;
4
+ export function removeAllLayers(): void;
5
+ declare class ShpZztsLayer {
6
+ constructor(viewer: any, options?: {});
7
+ viewer: any;
8
+ id: any;
9
+ calTilesUrl: any;
10
+ tileUrl: any;
11
+ opacity: number;
12
+ batchSize: any;
13
+ transitionDuration: any;
14
+ currentLod: number;
15
+ lodPrimitives: Map<any, any>;
16
+ transitionAnimId: number | null;
17
+ requestInProgress: boolean;
18
+ debounceTimer: number | null;
19
+ destroyed: boolean;
20
+ globalInstanceId: number;
21
+ stackIndex: any;
22
+ subStackIndex: any;
23
+ groupKey: any;
24
+ _moveHandler: (() => void) | null;
25
+ _normOpacity(val: any): number;
26
+ _getScreenBounds(): {
27
+ region: number[];
28
+ width: any;
29
+ height: any;
30
+ } | null;
31
+ _updatePrimitiveAlpha(entries: any, alpha: any): void;
32
+ _destroyLodPrimitives(lod: any): void;
33
+ _crossFadeLod(oldLod: any, newLod: any): void;
34
+ _renderBatched(geometries: any, lodLevel: any, initialAlpha: any, onReady: any): any[];
35
+ _getVectorTileData(geosot: any, level: any): Promise<{
36
+ geosot: any;
37
+ data: any;
38
+ }>;
39
+ loadAndRender(): Promise<void>;
40
+ _onCameraMoveEnd(): void;
41
+ _setupMoveHandler(): void;
42
+ _teardownMoveHandler(): void;
43
+ init(): Promise<void>;
44
+ remove(): void;
45
+ /** 更新图层配置(颜色、透明度、栈位等) */
46
+ updateOptions(options?: {}): void;
47
+ }
48
+ export const shpZztsManager: ShpZztsManager;
49
+ declare class ShpZztsManager {
50
+ layers: Map<any, any>;
51
+ createLayer(viewer: any, options?: {}): Promise<ShpZztsLayer | null>;
52
+ removeLayer(id: any): void;
53
+ getLayer(id: any): any;
54
+ removeAllLayers(): void;
55
+ }
56
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skzz/components-gis",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "peerDependencies": {
36
36
  "@element-plus/icons-vue": "^2.3.2",
37
- "@skzz/libs-base": "^0.0.2",
37
+ "@skzz/libs-base": "^0.0.3",
38
38
  "@skzz/libs-gis": "^0.0.1",
39
39
  "@skzz/utils-common": "^0.0.2",
40
40
  "@vueup/vue-quill": "1.2.0",