@xingm/vmap-cesium-toolbar 0.0.2-alpha.17 → 0.0.2-alpha.19

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,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;
@@ -92,6 +95,10 @@ export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>,
92
95
  setVisible: (entity: Entity, visible: boolean) => void;
93
96
  remove: (entityOrId: Entity | string) => boolean;
94
97
  };
98
+ setOverlayEditMode: (enabled: boolean) => void;
99
+ getOverlayEditModeEnabled: () => boolean;
100
+ stopOverlayEdit: () => void;
101
+ startOverlayEdit: (entityOrId: (import('..').DrawEntity & OverlayEntity) | string) => boolean;
95
102
  toggleOverlayHighlight: (entity: OverlayEntity, reason?: "click" | "hover") => void;
96
103
  setOverlayHighlight: (entityOrId: OverlayEntity | string, enabled: boolean, reason?: "click" | "hover") => boolean;
97
104
  addMarker: (options: import('../libs/overlay').MarkerOptions) => Entity;
@@ -113,6 +120,9 @@ export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>,
113
120
  getAllOverlays: () => Entity[];
114
121
  destroy: () => void;
115
122
  } | null, CesiumOverlayService | {
123
+ beginBulkUpdate: () => void;
124
+ endBulkUpdate: () => void;
125
+ bulkUpdate: <T>(fn: () => T) => T;
116
126
  readonly marker: {
117
127
  add: (options: import('../libs/overlay').MarkerOptions) => Entity;
118
128
  updatePosition: (entity: Entity, position: import('../libs/overlay').OverlayPosition) => void;
@@ -195,6 +205,10 @@ export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>,
195
205
  setVisible: (entity: Entity, visible: boolean) => void;
196
206
  remove: (entityOrId: Entity | string) => boolean;
197
207
  };
208
+ setOverlayEditMode: (enabled: boolean) => void;
209
+ getOverlayEditModeEnabled: () => boolean;
210
+ stopOverlayEdit: () => void;
211
+ startOverlayEdit: (entityOrId: (import('..').DrawEntity & OverlayEntity) | string) => boolean;
198
212
  toggleOverlayHighlight: (entity: OverlayEntity, reason?: "click" | "hover") => void;
199
213
  setOverlayHighlight: (entityOrId: OverlayEntity | string, enabled: boolean, reason?: "click" | "hover") => boolean;
200
214
  addMarker: (options: import('../libs/overlay').MarkerOptions) => Entity;
@@ -237,6 +251,7 @@ export declare function useOverlayHelper(viewer: Ref<Cesium.Viewer | undefined>,
237
251
  addPolygon: () => void;
238
252
  addRectangle: () => void;
239
253
  addInfoWindow: () => void;
254
+ closeInfoWindow: () => void;
240
255
  testSetOverlayHighlight: () => void;
241
256
  testToggleOverlayHighlight: () => void;
242
257
  cancelMarkerMode: () => void;
@@ -64,6 +64,11 @@ declare const enUS: {
64
64
  lod_medium: string;
65
65
  lod_fine: string;
66
66
  };
67
+ overlay_edit: {
68
+ enable: string;
69
+ disable: string;
70
+ stop: string;
71
+ };
67
72
  };
68
73
  draw: {
69
74
  start: {
@@ -130,6 +135,9 @@ declare const enUS: {
130
135
  info_window_desc: string;
131
136
  ring_added: string;
132
137
  ring_clicked: string;
138
+ edit_mode_on: string;
139
+ edit_mode_off: string;
140
+ edit_stopped: string;
133
141
  };
134
142
  };
135
143
  export default enUS;
@@ -64,6 +64,11 @@ declare const zhCN: {
64
64
  lod_medium: string;
65
65
  lod_fine: string;
66
66
  };
67
+ overlay_edit: {
68
+ enable: string;
69
+ disable: string;
70
+ stop: string;
71
+ };
67
72
  };
68
73
  draw: {
69
74
  start: {
@@ -130,6 +135,9 @@ declare const zhCN: {
130
135
  info_window_desc: string;
131
136
  ring_added: string;
132
137
  ring_clicked: string;
138
+ edit_mode_on: string;
139
+ edit_mode_off: string;
140
+ edit_stopped: string;
133
141
  };
134
142
  };
135
143
  export default zhCN;