@xingm/vmap-cesium-toolbar 0.0.2-alpha.17 → 0.0.2-alpha.18
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.
- package/dist/hooks/useMapInit.d.ts +14 -0
- package/dist/hooks/useOverlayHelper.d.ts +6 -0
- package/dist/index.d.ts +37 -993
- package/dist/{index.js → index.es.js} +1230 -782
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/libs/CesiumAutoRecover.d.ts +48 -0
- package/dist/libs/CesiumHeatmapLayer.d.ts +20 -0
- package/dist/libs/CesiumMapLoader.d.ts +3 -0
- package/dist/libs/CesiumOverlayService.d.ts +29 -0
- package/dist/libs/drawHelper/DrawPolgon.d.ts +5 -0
- package/dist/libs/i18n/index.d.ts +1 -0
- package/dist/libs/overlay/primitives/CirclePrimitiveLayerStack.d.ts +5 -5
- package/dist/libs/overlay/primitives/PolygonPrimitiveLayerStack.d.ts +5 -5
- package/dist/libs/toolBar/MapToolBarConfig.d.ts +8 -1
- package/dist/package.json +7 -6
- package/package.json +6 -5
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const TD_Map_TOKEN: any;
|
|
2
|
+
export declare const China_Map_Bound = "73.5577,18.1597,135.0882,53.5609";
|
|
3
|
+
export declare const China_Map_Center: {
|
|
4
|
+
longitude: number;
|
|
5
|
+
latitude: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const China_Map_Extent: {
|
|
9
|
+
west: number;
|
|
10
|
+
south: number;
|
|
11
|
+
east: number;
|
|
12
|
+
north: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any) => string;
|
|
@@ -10,6 +10,9 @@ import * as Cesium from "cesium";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>, message: Ref<string>): {
|
|
12
12
|
overlayService: Ref<{
|
|
13
|
+
beginBulkUpdate: () => void;
|
|
14
|
+
endBulkUpdate: () => void;
|
|
15
|
+
bulkUpdate: <T>(fn: () => T) => T;
|
|
13
16
|
readonly marker: {
|
|
14
17
|
add: (options: import('../libs/overlay').MarkerOptions) => Entity;
|
|
15
18
|
updatePosition: (entity: Entity, position: import('../libs/overlay').OverlayPosition) => void;
|
|
@@ -113,6 +116,9 @@ export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>,
|
|
|
113
116
|
getAllOverlays: () => Entity[];
|
|
114
117
|
destroy: () => void;
|
|
115
118
|
} | null, CesiumOverlayService | {
|
|
119
|
+
beginBulkUpdate: () => void;
|
|
120
|
+
endBulkUpdate: () => void;
|
|
121
|
+
bulkUpdate: <T>(fn: () => T) => T;
|
|
116
122
|
readonly marker: {
|
|
117
123
|
add: (options: import('../libs/overlay').MarkerOptions) => Entity;
|
|
118
124
|
updatePosition: (entity: Entity, position: import('../libs/overlay').OverlayPosition) => void;
|