@gis_victory/gismap 2.0.25 → 2.0.26
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/gismap.css +1 -1
- package/dist/index.d.ts +153 -39
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -0
- package/package.json +1 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/adapters/index.d.ts +0 -13
- package/dist/adapters/mapbox/MapboxAdapter.d.ts +0 -44
- package/dist/adapters/types.d.ts +0 -216
- package/dist/api/BaseController.d.ts +0 -6
- package/dist/api/CommonController.d.ts +0 -51
- package/dist/components/MapCompass/index.vue.d.ts +0 -2
- package/dist/components/MapContainer/index.d.ts +0 -2
- package/dist/components/MapContainer/index.vue.d.ts +0 -344
- package/dist/components/MapLayer/components/CustomLayerDialog.vue.d.ts +0 -22
- package/dist/components/MapLayer/components/LayerTab.vue.d.ts +0 -2179
- package/dist/components/MapLayer/index.d.ts +0 -2
- package/dist/components/MapLayer/index.vue.d.ts +0 -2287
- package/dist/components/MapLegend/index.d.ts +0 -2
- package/dist/components/MapLegend/index.vue.d.ts +0 -14
- package/dist/components/MapMeasure/index.vue.d.ts +0 -2
- package/dist/components/MapPrint/MapPrintPanel.vue.d.ts +0 -21
- package/dist/components/MapPrint/MapPrintService.d.ts +0 -155
- package/dist/components/MapPrint/index.vue.d.ts +0 -37
- package/dist/components/MapQueryResult/index.vue.d.ts +0 -29
- package/dist/components/MapQueryResult/popup.vue.d.ts +0 -16
- package/dist/components/MapSearch/index.d.ts +0 -2
- package/dist/components/MapSearch/index.vue.d.ts +0 -56
- package/dist/components/MapSwitch/index.d.ts +0 -2
- package/dist/components/MapSwitch/index.vue.d.ts +0 -37
- package/dist/components/MapTools/index.d.ts +0 -2
- package/dist/components/MapTools/index.vue.d.ts +0 -40
- package/dist/components/MobileMapLayer/BaseLayerSwitch.vue.d.ts +0 -16
- package/dist/components/MobileMapLayer/index.vue.d.ts +0 -9
- package/dist/components/Widgets/PopupBar/BarItem.vue.d.ts +0 -75
- package/dist/components/Widgets/PopupBar/index.vue.d.ts +0 -21
- package/dist/composables/index.d.ts +0 -13
- package/dist/composables/useControl.d.ts +0 -39
- package/dist/composables/useDraw.d.ts +0 -49
- package/dist/composables/useLayer.d.ts +0 -57
- package/dist/composables/useMap.d.ts +0 -111
- package/dist/composables/useMarker.d.ts +0 -55
- package/dist/composables/useMeasure.d.ts +0 -49
- package/dist/composables/useSearch.d.ts +0 -20
- package/dist/config/api.config.d.ts +0 -40
- package/dist/config/gismap.config.d.ts +0 -156
- package/dist/core/ManagerRegistry.d.ts +0 -75
- package/dist/core/PluginSystem.d.ts +0 -71
- package/dist/core/StateStore.d.ts +0 -96
- package/dist/core/TypedEventEmitter.d.ts +0 -67
- package/dist/core/di/Container.d.ts +0 -61
- package/dist/core/di/decorators.d.ts +0 -32
- package/dist/core/di/index.d.ts +0 -7
- package/dist/core/di/types.d.ts +0 -59
- package/dist/core/event/EventBus.d.ts +0 -101
- package/dist/core/event/index.d.ts +0 -5
- package/dist/core/event/types.d.ts +0 -215
- package/dist/core/index.d.ts +0 -6
- package/dist/core/state/Store.d.ts +0 -145
- package/dist/core/state/index.d.ts +0 -6
- package/dist/core/state/types.d.ts +0 -134
- package/dist/domain/index.d.ts +0 -8
- package/dist/domain/layer/LayerEntity.d.ts +0 -90
- package/dist/domain/layer/LayerService.d.ts +0 -128
- package/dist/domain/marker/MarkerEntity.d.ts +0 -77
- package/dist/domain/marker/MarkerService.d.ts +0 -105
- package/dist/domain/types.d.ts +0 -66
- package/dist/examples/DrawDemo.vue.d.ts +0 -2
- package/dist/examples/DrawPanel.vue.d.ts +0 -2
- package/dist/examples/Map.vue.d.ts +0 -74
- package/dist/examples/MapDemoExample.vue.d.ts +0 -2
- package/dist/examples/MeasureDemo.vue.d.ts +0 -2
- package/dist/examples/MeasurePanel.vue.d.ts +0 -2
- package/dist/examples/SplitScreenDrawDemo.vue.d.ts +0 -7
- package/dist/examples/SplitScreenDrawPanel.vue.d.ts +0 -12
- package/dist/examples/SplitScreenPanel.vue.d.ts +0 -12
- package/dist/examples/TdtControlPanel.vue.d.ts +0 -2
- package/dist/examples/TiandituDemo.vue.d.ts +0 -2
- package/dist/main.d.ts +0 -0
- package/dist/manager/IconManager.d.ts +0 -18
- package/dist/manager/LayerManager.d.ts +0 -50
- package/dist/manager/MaskManager.d.ts +0 -52
- package/dist/manager/PlaceholderManager.d.ts +0 -28
- package/dist/manager/PopupManager.d.ts +0 -13
- package/dist/manager/QuickSearchManager.d.ts +0 -24
- package/dist/manager/RadarManager.d.ts +0 -46
- package/dist/manager/SplitScreenDrawManager.d.ts +0 -75
- package/dist/manager/SplitScreenManager.d.ts +0 -81
- package/dist/manager/TDTManager.d.ts +0 -33
- package/dist/manager/TemplateManager.d.ts +0 -52
- package/dist/manager/TerrainManager.d.ts +0 -39
- package/dist/manager/layer/MarkerLayer.d.ts +0 -89
- package/dist/manager/layer/VectorLayer.d.ts +0 -30
- package/dist/manager/mapbox/DrawManager.d.ts +0 -153
- package/dist/manager/mapbox/MeasureManager.d.ts +0 -158
- package/dist/router/index.d.ts +0 -2
- package/dist/services/MapContext.d.ts +0 -171
- package/dist/services/index.d.ts +0 -5
- package/dist/types/IEvents.d.ts +0 -178
- package/dist/types/IGISMap.d.ts +0 -234
- package/dist/types/IManager.d.ts +0 -113
- package/dist/types/IMapSearch.d.ts +0 -28
- package/dist/types/IState.d.ts +0 -259
- package/dist/types/ITemplate.d.ts +0 -35
- package/dist/types/index.d.ts +0 -7
- package/dist/utils/hooks/layout.d.ts +0 -4
- package/dist/utils/http/axios.d.ts +0 -3
- package/dist/utils/http/config.d.ts +0 -3
- package/dist/utils/http/request.d.ts +0 -46
- package/dist/utils/index.d.ts +0 -49
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
import { LayerService, MarkerService } from '../../domain';
|
|
2
|
-
import { MapContext } from '../../services';
|
|
3
|
-
import { MapAdapter, MapInitOptions } from '../../adapters';
|
|
4
|
-
interface Props {
|
|
5
|
-
adapter?: MapAdapter;
|
|
6
|
-
accessToken?: string;
|
|
7
|
-
tdtToken?: string;
|
|
8
|
-
options?: Partial<MapInitOptions>;
|
|
9
|
-
center?: [number, number];
|
|
10
|
-
zoom?: number;
|
|
11
|
-
pitch?: number;
|
|
12
|
-
bearing?: number;
|
|
13
|
-
initIcons?: Array<{
|
|
14
|
-
name: string;
|
|
15
|
-
url: string;
|
|
16
|
-
}>;
|
|
17
|
-
}
|
|
18
|
-
declare function __VLS_template(): {
|
|
19
|
-
attrs: Partial<{}>;
|
|
20
|
-
slots: {
|
|
21
|
-
'top-left'?(_: {}): any;
|
|
22
|
-
'top-right'?(_: {}): any;
|
|
23
|
-
'bottom-left'?(_: {}): any;
|
|
24
|
-
'bottom-right'?(_: {}): any;
|
|
25
|
-
default?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {
|
|
28
|
-
containerRef: HTMLDivElement;
|
|
29
|
-
mapContainerRef: HTMLDivElement;
|
|
30
|
-
};
|
|
31
|
-
rootEl: HTMLDivElement;
|
|
32
|
-
};
|
|
33
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
35
|
-
context: () => {
|
|
36
|
-
readonly adapter: {
|
|
37
|
-
getMap: () => any;
|
|
38
|
-
initialize: (container: HTMLElement, options: MapInitOptions) => Promise<void>;
|
|
39
|
-
dispose: () => void;
|
|
40
|
-
setView: (center: [number, number], zoom: number, options?: import('../../adapters').ViewOptions) => void;
|
|
41
|
-
flyTo: (center: [number, number], options?: import('../../adapters').FlyToOptions) => void;
|
|
42
|
-
fitBounds: (bounds: [[number, number], [number, number]], options?: import('../../adapters').FitBoundsOptions) => void;
|
|
43
|
-
getViewState: () => import('../../adapters').MapViewState;
|
|
44
|
-
addMarker: (id: string, options: import('../../adapters').MarkerOptions) => any;
|
|
45
|
-
removeMarker: (id: string) => void;
|
|
46
|
-
updateMarkerPosition: (id: string, position: [number, number]) => void;
|
|
47
|
-
addPopup: (id: string, options: import('../../adapters').PopupOptions) => any;
|
|
48
|
-
removePopup: (id: string) => void;
|
|
49
|
-
onViewChange: (callback: (view: import('../../adapters').MapViewState) => void) => void;
|
|
50
|
-
onClick: (callback: (event: import('../../adapters').MapClickEvent) => void) => void;
|
|
51
|
-
onLoad: (callback: () => void) => void;
|
|
52
|
-
onError: (callback: (error: Error) => void) => void;
|
|
53
|
-
queryFeatures: (point: [number, number], options?: import('../../adapters').QueryOptions) => any[];
|
|
54
|
-
queryRenderedFeatures: (geometry: [number, number] | [[number, number], [number, number]], options?: import('../../adapters').QueryOptions) => any[];
|
|
55
|
-
};
|
|
56
|
-
readonly events: {
|
|
57
|
-
on: <K extends keyof import('../../core').CoreMapEvents>(event: K, handler: import('../../core').EventHandler<import('../../core').CoreMapEvents[K]>) => import('../../core').Unsubscribe;
|
|
58
|
-
once: <K extends keyof import('../../core').CoreMapEvents>(event: K, handler: import('../../core').EventHandler<import('../../core').CoreMapEvents[K]>) => import('../../core').Unsubscribe;
|
|
59
|
-
emit: <K extends keyof import('../../core').CoreMapEvents>(event: K, payload: import('../../core').CoreMapEvents[K]) => void;
|
|
60
|
-
off: <K extends keyof import('../../core').CoreMapEvents>(event?: K | undefined, handler?: import('../../core').EventHandler<import('../../core').CoreMapEvents[K]> | undefined) => void;
|
|
61
|
-
listenerCount: <K extends keyof import('../../core').CoreMapEvents>(event: K) => number;
|
|
62
|
-
hasListeners: <K extends keyof import('../../core').CoreMapEvents>(event?: K | undefined) => boolean;
|
|
63
|
-
clearHistory: () => void;
|
|
64
|
-
getHistory: () => import('../../core').EventHistoryItem[];
|
|
65
|
-
dispose: () => void;
|
|
66
|
-
};
|
|
67
|
-
readonly state: {
|
|
68
|
-
getState: () => import('../../core').MapState;
|
|
69
|
-
get: <K extends keyof import('../../core').MapState>(key: K) => import('../../core').MapState[K];
|
|
70
|
-
setState: (partial: Partial<import('../../core').MapState>) => void;
|
|
71
|
-
set: <K extends keyof import('../../core').MapState>(key: K, value: import('../../core').MapState[K]) => void;
|
|
72
|
-
subscribe: (listener: import('../../core').StateListener<import('../../core').MapState>) => () => void;
|
|
73
|
-
subscribeKey: <K extends keyof import('../../core').MapState>(key: K, listener: (value: import('../../core').MapState[K], prevValue: import('../../core').MapState[K]) => void) => () => void;
|
|
74
|
-
select: <R>(selector: import('../../core').StateSelector<import('../../core').MapState, R>) => R;
|
|
75
|
-
reset: () => void;
|
|
76
|
-
dispose: () => void;
|
|
77
|
-
};
|
|
78
|
-
readonly container?: {
|
|
79
|
-
register: <T>(token: import('../../core').Token<T>, provider: import('../../core').Provider<T>) => import('../../core').IContainer;
|
|
80
|
-
resolve: <T>(token: import('../../core').Token<T>) => T;
|
|
81
|
-
has: <T>(token: import('../../core').Token<T>) => boolean;
|
|
82
|
-
createScope: () => import('../../core').IContainer;
|
|
83
|
-
dispose: () => void;
|
|
84
|
-
} | undefined;
|
|
85
|
-
readonly tdtToken?: string | undefined;
|
|
86
|
-
readonly initIcons?: {
|
|
87
|
-
name: string;
|
|
88
|
-
url: string;
|
|
89
|
-
}[] | undefined;
|
|
90
|
-
readonly measureOptions?: {
|
|
91
|
-
sourceId?: string | undefined;
|
|
92
|
-
pointColor?: string | undefined;
|
|
93
|
-
lineColor?: string | undefined;
|
|
94
|
-
polygonColor?: string | undefined;
|
|
95
|
-
textColor?: string | undefined;
|
|
96
|
-
coordinateType?: import('../../manager/mapbox/MeasureManager').CoordinateType | undefined;
|
|
97
|
-
lnglatDecimal?: number | undefined;
|
|
98
|
-
mercatorDecimal?: number | undefined;
|
|
99
|
-
distanceUnit?: import('../../manager/mapbox/MeasureManager').DistanceUnit | undefined;
|
|
100
|
-
areaUnit?: import('../../manager/mapbox/MeasureManager').AreaUnit | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
readonly layers: {
|
|
103
|
-
initialize: () => void;
|
|
104
|
-
dispose: () => void;
|
|
105
|
-
addLayer: (config: import('../../domain').LayerConfig, beforeId?: string) => import('../../domain').LayerEntity;
|
|
106
|
-
removeLayer: (layerId: import('../../domain').EntityId) => boolean;
|
|
107
|
-
getLayer: (layerId: import('../../domain').EntityId) => import('../../domain').LayerEntity | undefined;
|
|
108
|
-
getLayers: () => import('../../domain').LayerEntity[];
|
|
109
|
-
hasLayer: (layerId: import('../../domain').EntityId) => boolean;
|
|
110
|
-
updateLayer: (layerId: import('../../domain').EntityId, updates: Partial<import('../../domain').LayerConfig>) => import('../../domain').LayerEntity;
|
|
111
|
-
showLayer: (layerId: import('../../domain').EntityId) => void;
|
|
112
|
-
hideLayer: (layerId: import('../../domain').EntityId) => void;
|
|
113
|
-
toggleLayer: (layerId: import('../../domain').EntityId) => boolean;
|
|
114
|
-
setLayerOpacity: (layerId: import('../../domain').EntityId, opacity: number) => void;
|
|
115
|
-
createGroup: (name: string, id?: import('../../domain').EntityId) => import('../../domain').LayerGroup;
|
|
116
|
-
getGroup: (groupId: import('../../domain').EntityId) => import('../../domain').LayerGroup | undefined;
|
|
117
|
-
removeGroup: (groupId: import('../../domain').EntityId) => boolean;
|
|
118
|
-
addLayerToGroup: (layerId: import('../../domain').EntityId, groupId: import('../../domain').EntityId) => void;
|
|
119
|
-
registerSource: (source: import('../../domain').SourceConfig) => void;
|
|
120
|
-
addSource: (source: import('../../domain').SourceConfig) => void;
|
|
121
|
-
getSource: (sourceId: import('../../domain').EntityId) => import('../../domain').SourceConfig | undefined;
|
|
122
|
-
removeSource: (sourceId: import('../../domain').EntityId) => boolean;
|
|
123
|
-
moveLayer: (layerId: import('../../domain').EntityId, beforeId?: string) => void;
|
|
124
|
-
getLayerOrder: () => import('../../domain').EntityId[];
|
|
125
|
-
getLayersByType: (type: string) => import('../../domain').LayerEntity[];
|
|
126
|
-
getVisibleLayers: () => import('../../domain').LayerEntity[];
|
|
127
|
-
getQueryableLayers: () => import('../../domain').LayerEntity[];
|
|
128
|
-
showAll: () => void;
|
|
129
|
-
hideAll: () => void;
|
|
130
|
-
removeAll: () => void;
|
|
131
|
-
};
|
|
132
|
-
readonly markers: {
|
|
133
|
-
initialize: () => void;
|
|
134
|
-
dispose: () => void;
|
|
135
|
-
addMarker: (config: import('../../domain').MarkerConfig) => import('../../domain').MarkerEntity;
|
|
136
|
-
removeMarker: (markerId: import('../../domain').EntityId) => boolean;
|
|
137
|
-
getMarker: (markerId: import('../../domain').EntityId) => import('../../domain').MarkerEntity | undefined;
|
|
138
|
-
getMarkers: () => import('../../domain').MarkerEntity[];
|
|
139
|
-
hasMarker: (markerId: import('../../domain').EntityId) => boolean;
|
|
140
|
-
updateMarker: (markerId: import('../../domain').EntityId, updates: Partial<import('../../domain').MarkerConfig>) => import('../../domain').MarkerEntity;
|
|
141
|
-
setPosition: (markerId: import('../../domain').EntityId, position: [number, number]) => void;
|
|
142
|
-
moveMarker: (markerId: import('../../domain').EntityId, position: [number, number], _animate?: boolean) => void;
|
|
143
|
-
showMarker: (markerId: import('../../domain').EntityId) => void;
|
|
144
|
-
hideMarker: (markerId: import('../../domain').EntityId) => void;
|
|
145
|
-
toggleMarker: (markerId: import('../../domain').EntityId) => boolean;
|
|
146
|
-
openPopup: (markerId: import('../../domain').EntityId) => void;
|
|
147
|
-
closePopup: (markerId: import('../../domain').EntityId) => void;
|
|
148
|
-
togglePopup: (markerId: import('../../domain').EntityId) => boolean;
|
|
149
|
-
setDraggable: (markerId: import('../../domain').EntityId, draggable: boolean) => void;
|
|
150
|
-
startDrag: (markerId: import('../../domain').EntityId) => void;
|
|
151
|
-
endDrag: (markerId: import('../../domain').EntityId) => void;
|
|
152
|
-
showAll: () => void;
|
|
153
|
-
hideAll: () => void;
|
|
154
|
-
removeAll: () => void;
|
|
155
|
-
getMarkersInBounds: (bounds: [[number, number], [number, number]]) => import('../../domain').MarkerEntity[];
|
|
156
|
-
};
|
|
157
|
-
readonly tdtManager: {
|
|
158
|
-
addImgLayer: (sourceConfig?: any, beforeId?: string) => void;
|
|
159
|
-
removeImgLayer: () => void;
|
|
160
|
-
addVecLayer: (sourceConfig?: any, beforeId?: string) => void;
|
|
161
|
-
removeVecLayer: () => void;
|
|
162
|
-
addCiaLayer: (sourceConfig?: any, beforeId?: string) => void;
|
|
163
|
-
removeCiaLayer: () => void;
|
|
164
|
-
clear: () => void;
|
|
165
|
-
show: () => void;
|
|
166
|
-
hideAll: () => void;
|
|
167
|
-
hide: (layerId: string) => void;
|
|
168
|
-
} | undefined;
|
|
169
|
-
readonly terrainManager: {
|
|
170
|
-
addSource: (options: {
|
|
171
|
-
tiles: string[];
|
|
172
|
-
minzoom?: number;
|
|
173
|
-
maxzoom?: number;
|
|
174
|
-
tileSize?: number;
|
|
175
|
-
[key: string]: any;
|
|
176
|
-
}) => import('../../manager/TerrainManager').default;
|
|
177
|
-
add: (options?: {
|
|
178
|
-
source?: any;
|
|
179
|
-
layer?: {
|
|
180
|
-
exaggeration?: number;
|
|
181
|
-
[key: string]: any;
|
|
182
|
-
};
|
|
183
|
-
}) => import('../../manager/TerrainManager').default;
|
|
184
|
-
remove: () => import('../../manager/TerrainManager').default;
|
|
185
|
-
addHillshade: () => import('../../manager/TerrainManager').default;
|
|
186
|
-
removeHillshade: () => import('../../manager/TerrainManager').default;
|
|
187
|
-
show: (options?: Parameters<import('../../manager/TerrainManager').default["add"]>[0]) => import('../../manager/TerrainManager').default;
|
|
188
|
-
hide: () => import('../../manager/TerrainManager').default;
|
|
189
|
-
} | undefined;
|
|
190
|
-
readonly radarManager: {
|
|
191
|
-
add: (options: import('../../manager/RadarManager').RadarOptions) => import('../..').RadarManager;
|
|
192
|
-
startScan: () => import('../..').RadarManager;
|
|
193
|
-
stopScan: () => import('../..').RadarManager;
|
|
194
|
-
remove: () => void;
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly iconManager: {
|
|
197
|
-
load: (icons: import('../../manager/IconManager').IconConfig[]) => Promise<void>;
|
|
198
|
-
} | undefined;
|
|
199
|
-
readonly placeholderManager: {
|
|
200
|
-
addLayer: (options?: {
|
|
201
|
-
beforeLayerPointId?: string;
|
|
202
|
-
beforeLayerLineId?: string;
|
|
203
|
-
beforeLayerFillId?: string;
|
|
204
|
-
beforeMaskLayerId?: string;
|
|
205
|
-
}) => void;
|
|
206
|
-
} | undefined;
|
|
207
|
-
readonly drawManager: {
|
|
208
|
-
startDraw: (type: import('../../manager/mapbox/DrawManager').DrawType, callback?: import('../../manager/mapbox/DrawManager').DrawCallback) => void;
|
|
209
|
-
stopDraw: () => void;
|
|
210
|
-
clearDrawing: () => void;
|
|
211
|
-
getAllFeatures: () => import('../../manager/mapbox/DrawManager').DrawFeature[];
|
|
212
|
-
getGeoJSON: () => GeoJSON.FeatureCollection;
|
|
213
|
-
getFeature: (id: string) => import('../../manager/mapbox/DrawManager').DrawFeature | undefined;
|
|
214
|
-
deleteFeature: (id: string) => boolean;
|
|
215
|
-
deleteAllFeatures: () => void;
|
|
216
|
-
getFeatureCount: () => number;
|
|
217
|
-
selectFeature: (id: string) => import('../../manager/mapbox/DrawManager').DrawFeature | null;
|
|
218
|
-
clearSelection: () => void;
|
|
219
|
-
getSelectedFeature: () => import('../../manager/mapbox/DrawManager').DrawFeature | null;
|
|
220
|
-
getSelectedId: () => string | null;
|
|
221
|
-
hasSelection: () => boolean;
|
|
222
|
-
getIsDrawing: () => boolean;
|
|
223
|
-
getDrawType: () => import('../../manager/mapbox/DrawManager').DrawType | "none";
|
|
224
|
-
onDraw: (callback: import('../../manager/mapbox/DrawManager').DrawCallback) => void;
|
|
225
|
-
onSelect: (callback: import('../../manager/mapbox/DrawManager').SelectCallback) => void;
|
|
226
|
-
destroy: () => void;
|
|
227
|
-
} | undefined;
|
|
228
|
-
readonly measureManager: {
|
|
229
|
-
startMeasure: (type: import('../../manager/mapbox/MeasureManager').MeasureType, callback?: import('../../manager/mapbox/MeasureManager').MeasureCallback) => void;
|
|
230
|
-
stopMeasure: () => void;
|
|
231
|
-
clearMeasuring: () => void;
|
|
232
|
-
getAllResults: () => import('../../manager/mapbox/MeasureManager').MeasureResult[];
|
|
233
|
-
getResult: (id: string) => import('../../manager/mapbox/MeasureManager').MeasureResult | undefined;
|
|
234
|
-
deleteResult: (id: string) => boolean;
|
|
235
|
-
clearAllResults: () => void;
|
|
236
|
-
getResultCount: () => number;
|
|
237
|
-
getIsMeasuring: () => boolean;
|
|
238
|
-
getMeasureType: () => import('../../manager/mapbox/MeasureManager').MeasureType;
|
|
239
|
-
updateOptions: (options: Partial<import('../../manager/mapbox/MeasureManager').MeasureManagerOptions>) => void;
|
|
240
|
-
destroy: () => void;
|
|
241
|
-
} | undefined;
|
|
242
|
-
readonly layerManager: {
|
|
243
|
-
queryLayerIds: string[];
|
|
244
|
-
addSource: (source: any) => void;
|
|
245
|
-
addLayer: (layerConfig: any, beforeLayerId?: string) => import('../..').LayerManager;
|
|
246
|
-
addGroupLayer: (layer: any) => void;
|
|
247
|
-
removeLayer: (layer: any) => void;
|
|
248
|
-
removeGroupLayer: (layer: any) => void;
|
|
249
|
-
getCheckedLayers: () => any[];
|
|
250
|
-
getLayer: (id: string) => any;
|
|
251
|
-
readonly name: string;
|
|
252
|
-
readonly isInitialized: boolean;
|
|
253
|
-
readonly isEnabled: boolean;
|
|
254
|
-
initialize: () => void;
|
|
255
|
-
dispose: () => void;
|
|
256
|
-
enable: () => void;
|
|
257
|
-
disable: () => void;
|
|
258
|
-
reset: () => void;
|
|
259
|
-
} | undefined;
|
|
260
|
-
readonly templateManager: {
|
|
261
|
-
initialize: (templateItems: import('../../types/ITemplate').TemplateItem[]) => void;
|
|
262
|
-
getTemplate: (templateId: string) => import('../../types/ITemplate').TemplateItem | undefined;
|
|
263
|
-
addTemplate: (templateId: string, template: import('../../types/ITemplate').TemplateItem) => void;
|
|
264
|
-
removeTemplate: (templateId: string) => void;
|
|
265
|
-
updateTemplate: (templateId: string, template: import('../../types/ITemplate').TemplateItem) => void;
|
|
266
|
-
getAllTemplates: () => Map<string, import('../../types/ITemplate').TemplateItem>;
|
|
267
|
-
getTemplateIds: () => string[];
|
|
268
|
-
hasTemplate: (templateId: string) => boolean;
|
|
269
|
-
clear: () => void;
|
|
270
|
-
} | undefined;
|
|
271
|
-
initialize: (services: {
|
|
272
|
-
layerService: LayerService;
|
|
273
|
-
markerService: MarkerService;
|
|
274
|
-
}) => void;
|
|
275
|
-
dispose: () => void;
|
|
276
|
-
getMap: () => any;
|
|
277
|
-
setView: (center: [number, number], zoom: number, options?: {
|
|
278
|
-
bearing?: number;
|
|
279
|
-
pitch?: number;
|
|
280
|
-
animate?: boolean;
|
|
281
|
-
}) => void;
|
|
282
|
-
flyTo: (center: [number, number], options?: {
|
|
283
|
-
zoom?: number;
|
|
284
|
-
duration?: number;
|
|
285
|
-
}) => void;
|
|
286
|
-
fitBounds: (bounds: [[number, number], [number, number]], options?: {
|
|
287
|
-
padding?: number;
|
|
288
|
-
}) => void;
|
|
289
|
-
getViewState: () => import('../../core').ViewState;
|
|
290
|
-
readonly isReady: boolean;
|
|
291
|
-
on: <K extends keyof import('../../core').CoreMapEvents>(event: K, handler: (payload: import('../../core').CoreMapEvents[K]) => void) => () => void;
|
|
292
|
-
once: <K extends keyof import('../../core').CoreMapEvents>(event: K, handler: (payload: import('../../core').CoreMapEvents[K]) => void) => () => void;
|
|
293
|
-
} | null;
|
|
294
|
-
map: () => any;
|
|
295
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
296
|
-
ready: (context: MapContext) => any;
|
|
297
|
-
click: (event: {
|
|
298
|
-
coordinates: [number, number];
|
|
299
|
-
feature?: any;
|
|
300
|
-
}) => any;
|
|
301
|
-
load: (context: MapContext) => any;
|
|
302
|
-
viewChange: (view: {
|
|
303
|
-
center: [number, number];
|
|
304
|
-
zoom: number;
|
|
305
|
-
pitch: number;
|
|
306
|
-
bearing: number;
|
|
307
|
-
}) => any;
|
|
308
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
309
|
-
onReady?: ((context: MapContext) => any) | undefined;
|
|
310
|
-
onClick?: ((event: {
|
|
311
|
-
coordinates: [number, number];
|
|
312
|
-
feature?: any;
|
|
313
|
-
}) => any) | undefined;
|
|
314
|
-
onLoad?: ((context: MapContext) => any) | undefined;
|
|
315
|
-
onViewChange?: ((view: {
|
|
316
|
-
center: [number, number];
|
|
317
|
-
zoom: number;
|
|
318
|
-
pitch: number;
|
|
319
|
-
bearing: number;
|
|
320
|
-
}) => any) | undefined;
|
|
321
|
-
}>, {
|
|
322
|
-
center: [number, number];
|
|
323
|
-
zoom: number;
|
|
324
|
-
bearing: number;
|
|
325
|
-
pitch: number;
|
|
326
|
-
accessToken: string;
|
|
327
|
-
adapter: MapAdapter;
|
|
328
|
-
tdtToken: string;
|
|
329
|
-
initIcons: Array<{
|
|
330
|
-
name: string;
|
|
331
|
-
url: string;
|
|
332
|
-
}>;
|
|
333
|
-
options: Partial<MapInitOptions>;
|
|
334
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
335
|
-
containerRef: HTMLDivElement;
|
|
336
|
-
mapContainerRef: HTMLDivElement;
|
|
337
|
-
}, HTMLDivElement>;
|
|
338
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
339
|
-
export default _default;
|
|
340
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
341
|
-
new (): {
|
|
342
|
-
$slots: S;
|
|
343
|
-
};
|
|
344
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
visible: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
-
"update:visible": (value: boolean) => any;
|
|
8
|
-
create: (layer: any) => any;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
-
visible: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{
|
|
15
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
16
|
-
onCreate?: ((layer: any) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
visible: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
20
|
-
formRef: unknown;
|
|
21
|
-
}, any>;
|
|
22
|
-
export default _default;
|