ym-giswidget-2d 1.0.5 → 1.0.7
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/_virtual/_commonjs-dynamic-modules.js +6 -0
- package/_virtual/_commonjsHelpers.js +8 -0
- package/_virtual/jszip.min.js +4 -0
- package/components/clear/Clear.vue.d.ts +6 -0
- package/components/clear/Clear.vue.js +19 -0
- package/components/clear/Clear.vue2.js +4 -0
- package/components/clear/index.d.ts +6 -0
- package/components/clear/index.js +8 -0
- package/components/draw/Draw.vue.d.ts +6 -0
- package/components/draw/Draw.vue.js +71 -0
- package/components/draw/Draw.vue2.js +4 -0
- package/components/draw/index.d.ts +6 -0
- package/components/draw/index.js +8 -0
- package/components/export/Export.vue.d.ts +154 -0
- package/components/export/Export.vue.js +7 -0
- package/components/export/Export.vue2.js +298 -0
- package/components/export/index.css +3 -0
- package/components/export/index.d.ts +154 -0
- package/components/export/index.js +8 -0
- package/components/horizontally-top-toolbar/{horizontallyTopToolbar.vue.js → HorizontallyTopToolbar.vue.js} +2 -2
- package/components/horizontally-top-toolbar/{horizontallyTopToolbar.vue2.js → HorizontallyTopToolbar.vue2.js} +3 -3
- package/components/horizontally-top-toolbar/index.css +9 -9
- package/components/horizontally-top-toolbar/index.js +1 -1
- package/components/identify/Identify.vue.d.ts +13 -0
- package/components/identify/Identify.vue.js +96 -0
- package/components/identify/Identify.vue2.js +4 -0
- package/components/identify/index.d.ts +18 -0
- package/components/identify/index.js +8 -0
- package/components/import/Import.vue.d.ts +13 -0
- package/components/import/Import.vue.js +162 -0
- package/components/import/Import.vue2.js +4 -0
- package/components/import/index.d.ts +15 -0
- package/components/import/index.js +8 -0
- package/components/layer-tree/{layerTree.vue.d.ts → LayerTree.vue.d.ts} +212 -186
- package/components/layer-tree/{layerTree.vue.js → LayerTree.vue.js} +2 -2
- package/components/layer-tree/{layerTree.vue2.js → LayerTree.vue2.js} +2 -2
- package/components/layer-tree/index.css +11 -11
- package/components/layer-tree/index.d.ts +194 -184
- package/components/layer-tree/index.js +1 -1
- package/components/multi-screen/MultiScreen.vue.d.ts +425 -0
- package/components/multi-screen/MultiScreen.vue2.js +1 -1
- package/components/multi-screen/index.d.ts +426 -0
- package/components/multi-screen-panel/PanelMultiScreen.vue2.js +1 -1
- package/components/popup/Popup.vue.d.ts +158 -0
- package/components/popup/Popup.vue.js +8 -0
- package/components/popup/Popup.vue2.js +266 -0
- package/components/popup/index.css +61 -0
- package/components/popup/index.d.ts +157 -0
- package/components/popup/index.js +8 -0
- package/components/popup/index2.css +5 -0
- package/components/select/Select.vue.d.ts +13 -0
- package/components/select/Select.vue.js +142 -0
- package/components/select/Select.vue2.js +4 -0
- package/components/select/index.d.ts +18 -0
- package/components/select/index.js +8 -0
- package/components/swipe-layer/SwipeLayer.vue.d.ts +6 -0
- package/components/swipe-layer/SwipeLayer.vue.js +24 -0
- package/components/swipe-layer/SwipeLayer.vue2.js +4 -0
- package/components/swipe-layer/index.d.ts +6 -0
- package/components/swipe-layer/index.js +8 -0
- package/components/toc-card/{tocCard.vue.js → TocCard.vue.js} +2 -2
- package/components/toc-card/{tocCard.vue2.js → TocCard.vue2.js} +2 -2
- package/components/toc-card/index.css +1 -1
- package/components/toc-card/index.js +1 -1
- package/config/Config.d.ts +13 -0
- package/config/Config.js +8 -0
- package/css/index.css +64 -14
- package/http/Axios.d.ts +14 -0
- package/http/Axios.js +37 -0
- package/http/LayerField.js +29 -0
- package/http/SpaceFile.d.ts +3 -0
- package/http/SpaceFile.js +38 -0
- package/http/layerField.d.ts +19 -0
- package/index.d.ts +7 -0
- package/index.js +14 -0
- package/package.json +2 -2
- package/panel/DraggablePanel.vue.d.ts +82 -0
- package/panel/DraggablePanel.vue2.js +1 -1
- /package/components/horizontally-top-toolbar/{horizontallyTopToolbar.vue.d.ts → HorizontallyTopToolbar.vue.d.ts} +0 -0
- /package/components/toc-card/{tocCard.vue.d.ts → TocCard.vue.d.ts} +0 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import { default as OLMap, OlMapOptions } from 'ym-giscomm-2d/mapView/Map';
|
|
2
|
+
import { default as IMapService } from 'ym-giscomm-2d/entity/layer/IMapService';
|
|
3
|
+
import { default as OLView } from 'ym-giscomm-2d/mapView/View';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
layers: IMapService[];
|
|
6
|
+
screenNum: number;
|
|
7
|
+
mainMap?: OLMap;
|
|
8
|
+
options?: OlMapOptions;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
+
screenMaps: {
|
|
12
|
+
currentEditLayer?: {
|
|
13
|
+
id: string;
|
|
14
|
+
parentId?: string | undefined;
|
|
15
|
+
title: string;
|
|
16
|
+
url?: string | undefined;
|
|
17
|
+
sublayers?: string[] | undefined;
|
|
18
|
+
tableName?: string | undefined;
|
|
19
|
+
primaryKey?: string | undefined;
|
|
20
|
+
selectIndex?: string | undefined;
|
|
21
|
+
layerTypeId?: string | undefined;
|
|
22
|
+
layerType?: string | undefined;
|
|
23
|
+
layerTypeName?: string | undefined;
|
|
24
|
+
layerTag?: string | undefined;
|
|
25
|
+
mapIndex?: number | undefined;
|
|
26
|
+
showIndex?: number | undefined;
|
|
27
|
+
geometryType?: number | undefined;
|
|
28
|
+
opacity?: number | undefined;
|
|
29
|
+
editType?: boolean | undefined;
|
|
30
|
+
fakeValue?: string | undefined;
|
|
31
|
+
loadFilter?: string | undefined;
|
|
32
|
+
historyTableName?: string | undefined;
|
|
33
|
+
createUserId?: string | undefined;
|
|
34
|
+
updateTime?: string | undefined;
|
|
35
|
+
fields?: {
|
|
36
|
+
id: string;
|
|
37
|
+
layerId: string;
|
|
38
|
+
name: string;
|
|
39
|
+
aliasName: string;
|
|
40
|
+
allowEdit: boolean;
|
|
41
|
+
editDisplay: boolean;
|
|
42
|
+
editRequired: boolean;
|
|
43
|
+
iDisplay: boolean;
|
|
44
|
+
tDisplay: boolean;
|
|
45
|
+
status: boolean;
|
|
46
|
+
fieldType: number;
|
|
47
|
+
fieldTypeName: string;
|
|
48
|
+
fieldLength?: number | undefined;
|
|
49
|
+
fieldPrecision?: number | undefined;
|
|
50
|
+
editDefaultValue?: string | undefined;
|
|
51
|
+
fieldDomain?: string | undefined;
|
|
52
|
+
updateTime: string;
|
|
53
|
+
createTime: string;
|
|
54
|
+
createUserId: string;
|
|
55
|
+
relatedId?: string | undefined;
|
|
56
|
+
index: number;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
createTime?: string | undefined;
|
|
59
|
+
status?: boolean | undefined;
|
|
60
|
+
checked?: boolean | undefined;
|
|
61
|
+
programId?: string | undefined;
|
|
62
|
+
relatedId?: string | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
interactionManager: {
|
|
65
|
+
map: {
|
|
66
|
+
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
67
|
+
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
68
|
+
un: import('ol/Map').MapEventHandler<void>;
|
|
69
|
+
resizeObserver_: {
|
|
70
|
+
disconnect: () => void;
|
|
71
|
+
observe: (target: Element, options?: ResizeObserverOptions) => void;
|
|
72
|
+
unobserve: (target: Element) => void;
|
|
73
|
+
};
|
|
74
|
+
addControl: (control: import('ol/control').default) => void;
|
|
75
|
+
addInteraction: (interaction: import('ol/interaction/Interaction').default) => void;
|
|
76
|
+
addLayer: (layer: import('ol/layer/Base').default) => void;
|
|
77
|
+
addOverlay: (overlay: import('ol').default) => void;
|
|
78
|
+
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
79
|
+
getFeaturesAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => Array<import('ol/Feature').FeatureLike>;
|
|
80
|
+
getAllLayers: () => Array<import('ol/layer').default>;
|
|
81
|
+
hasFeatureAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => boolean;
|
|
82
|
+
getEventCoordinate: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
83
|
+
getEventCoordinateInternal: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
84
|
+
getEventPixel: (event: UIEvent | {
|
|
85
|
+
clientX: number;
|
|
86
|
+
clientY: number;
|
|
87
|
+
}) => import('ol/pixel').Pixel;
|
|
88
|
+
getTarget: () => HTMLElement | string | undefined;
|
|
89
|
+
getTargetElement: () => HTMLElement;
|
|
90
|
+
getCoordinateFromPixel: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
91
|
+
getCoordinateFromPixelInternal: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
92
|
+
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
93
|
+
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
94
|
+
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
95
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction/Interaction').default>;
|
|
96
|
+
getLayerGroup: () => import('ol/layer').Group;
|
|
97
|
+
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
98
|
+
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
99
|
+
getLoadingOrNotReady: () => boolean;
|
|
100
|
+
getPixelFromCoordinate: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
101
|
+
getPixelFromCoordinateInternal: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
102
|
+
getRenderer: () => import('ol/renderer/Map').default | null;
|
|
103
|
+
getSize: () => import('ol/size').Size | undefined;
|
|
104
|
+
getView: () => import('ol').View;
|
|
105
|
+
getViewport: () => HTMLElement;
|
|
106
|
+
getOverlayContainer: () => HTMLElement;
|
|
107
|
+
getOverlayContainerStopEvent: () => HTMLElement;
|
|
108
|
+
getOwnerDocument: () => Document;
|
|
109
|
+
getTilePriority: (tile: import('ol').default, tileSourceKey: string, tileCenter: import('ol/coordinate').Coordinate, tileResolution: number) => number;
|
|
110
|
+
handleBrowserEvent: (browserEvent: UIEvent, type?: string | undefined) => void;
|
|
111
|
+
handleMapBrowserEvent: (mapBrowserEvent: import('ol').MapBrowserEvent<any>) => void;
|
|
112
|
+
isRendered: () => boolean;
|
|
113
|
+
renderSync: () => void;
|
|
114
|
+
redrawText: () => void;
|
|
115
|
+
render: () => void;
|
|
116
|
+
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
117
|
+
removeInteraction: (interaction: import('ol/interaction/Interaction').default) => import('ol/interaction/Interaction').default | undefined;
|
|
118
|
+
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
119
|
+
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
120
|
+
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|
|
121
|
+
setSize: (size: import('ol/size').Size | undefined) => void;
|
|
122
|
+
setTarget: (target?: string | HTMLElement | undefined) => void;
|
|
123
|
+
setView: (view: import('ol').View | Promise<import('ol/View').ViewOptions>) => void;
|
|
124
|
+
updateSize: () => void;
|
|
125
|
+
get: (key: string) => any;
|
|
126
|
+
getKeys: () => Array<string>;
|
|
127
|
+
getProperties: () => {
|
|
128
|
+
[x: string]: any;
|
|
129
|
+
};
|
|
130
|
+
getPropertiesInternal: () => {
|
|
131
|
+
[x: string]: any;
|
|
132
|
+
} | null;
|
|
133
|
+
hasProperties: () => boolean;
|
|
134
|
+
notify: (key: string, oldValue: any) => void;
|
|
135
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
136
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
137
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
138
|
+
setProperties: (values: {
|
|
139
|
+
[x: string]: any;
|
|
140
|
+
}, silent?: boolean | undefined) => void;
|
|
141
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
142
|
+
changed: () => void;
|
|
143
|
+
getRevision: () => number;
|
|
144
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
145
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
146
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
147
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
148
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
149
|
+
dispose: () => void;
|
|
150
|
+
};
|
|
151
|
+
interactions: Map<string, {
|
|
152
|
+
on: import('ol/interaction/Interaction').InteractionOnSignature<import('ol/events').EventsKey>;
|
|
153
|
+
once: import('ol/interaction/Interaction').InteractionOnSignature<import('ol/events').EventsKey>;
|
|
154
|
+
un: import('ol/interaction/Interaction').InteractionOnSignature<void>;
|
|
155
|
+
handleEvent: (mapBrowserEvent: import('ol').default<any>) => boolean;
|
|
156
|
+
getActive: () => boolean;
|
|
157
|
+
getMap: () => import('ol').default | null;
|
|
158
|
+
setActive: (active: boolean) => void;
|
|
159
|
+
setMap: (map: import('ol').default | null) => void;
|
|
160
|
+
get: (key: string) => any;
|
|
161
|
+
getKeys: () => Array<string>;
|
|
162
|
+
getProperties: () => {
|
|
163
|
+
[x: string]: any;
|
|
164
|
+
};
|
|
165
|
+
getPropertiesInternal: () => {
|
|
166
|
+
[x: string]: any;
|
|
167
|
+
} | null;
|
|
168
|
+
hasProperties: () => boolean;
|
|
169
|
+
notify: (key: string, oldValue: any) => void;
|
|
170
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
171
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
172
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
173
|
+
setProperties: (values: {
|
|
174
|
+
[x: string]: any;
|
|
175
|
+
}, silent?: boolean | undefined) => void;
|
|
176
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
177
|
+
changed: () => void;
|
|
178
|
+
getRevision: () => number;
|
|
179
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
180
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
181
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
182
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
183
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
184
|
+
dispose: () => void;
|
|
185
|
+
}> & Omit<Map<string, import('ol/interaction/Interaction').default>, keyof Map<any, any>>;
|
|
186
|
+
addInteraction: (name: string, interaction: import('ol/interaction/Interaction').default) => void;
|
|
187
|
+
removeInteraction: (name: string) => void;
|
|
188
|
+
removeAllInteractions: () => void;
|
|
189
|
+
getInteraction: (name: string) => import('ol/interaction/Interaction').default | undefined;
|
|
190
|
+
};
|
|
191
|
+
controlManager: {
|
|
192
|
+
map: {
|
|
193
|
+
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
194
|
+
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
195
|
+
un: import('ol/Map').MapEventHandler<void>;
|
|
196
|
+
resizeObserver_: {
|
|
197
|
+
disconnect: () => void;
|
|
198
|
+
observe: (target: Element, options?: ResizeObserverOptions) => void;
|
|
199
|
+
unobserve: (target: Element) => void;
|
|
200
|
+
};
|
|
201
|
+
addControl: (control: import('ol/control').default) => void;
|
|
202
|
+
addInteraction: (interaction: import('ol/interaction/Interaction').default) => void;
|
|
203
|
+
addLayer: (layer: import('ol/layer/Base').default) => void;
|
|
204
|
+
addOverlay: (overlay: import('ol').default) => void;
|
|
205
|
+
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
206
|
+
getFeaturesAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => Array<import('ol/Feature').FeatureLike>;
|
|
207
|
+
getAllLayers: () => Array<import('ol/layer').default>;
|
|
208
|
+
hasFeatureAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => boolean;
|
|
209
|
+
getEventCoordinate: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
210
|
+
getEventCoordinateInternal: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
211
|
+
getEventPixel: (event: UIEvent | {
|
|
212
|
+
clientX: number;
|
|
213
|
+
clientY: number;
|
|
214
|
+
}) => import('ol/pixel').Pixel;
|
|
215
|
+
getTarget: () => HTMLElement | string | undefined;
|
|
216
|
+
getTargetElement: () => HTMLElement;
|
|
217
|
+
getCoordinateFromPixel: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
218
|
+
getCoordinateFromPixelInternal: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
219
|
+
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
220
|
+
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
221
|
+
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
222
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction/Interaction').default>;
|
|
223
|
+
getLayerGroup: () => import('ol/layer').Group;
|
|
224
|
+
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
225
|
+
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
226
|
+
getLoadingOrNotReady: () => boolean;
|
|
227
|
+
getPixelFromCoordinate: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
228
|
+
getPixelFromCoordinateInternal: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
229
|
+
getRenderer: () => import('ol/renderer/Map').default | null;
|
|
230
|
+
getSize: () => import('ol/size').Size | undefined;
|
|
231
|
+
getView: () => import('ol').View;
|
|
232
|
+
getViewport: () => HTMLElement;
|
|
233
|
+
getOverlayContainer: () => HTMLElement;
|
|
234
|
+
getOverlayContainerStopEvent: () => HTMLElement;
|
|
235
|
+
getOwnerDocument: () => Document;
|
|
236
|
+
getTilePriority: (tile: import('ol').default, tileSourceKey: string, tileCenter: import('ol/coordinate').Coordinate, tileResolution: number) => number;
|
|
237
|
+
handleBrowserEvent: (browserEvent: UIEvent, type?: string | undefined) => void;
|
|
238
|
+
handleMapBrowserEvent: (mapBrowserEvent: import('ol').MapBrowserEvent<any>) => void;
|
|
239
|
+
isRendered: () => boolean;
|
|
240
|
+
renderSync: () => void;
|
|
241
|
+
redrawText: () => void;
|
|
242
|
+
render: () => void;
|
|
243
|
+
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
244
|
+
removeInteraction: (interaction: import('ol/interaction/Interaction').default) => import('ol/interaction/Interaction').default | undefined;
|
|
245
|
+
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
246
|
+
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
247
|
+
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|
|
248
|
+
setSize: (size: import('ol/size').Size | undefined) => void;
|
|
249
|
+
setTarget: (target?: string | HTMLElement | undefined) => void;
|
|
250
|
+
setView: (view: import('ol').View | Promise<import('ol/View').ViewOptions>) => void;
|
|
251
|
+
updateSize: () => void;
|
|
252
|
+
get: (key: string) => any;
|
|
253
|
+
getKeys: () => Array<string>;
|
|
254
|
+
getProperties: () => {
|
|
255
|
+
[x: string]: any;
|
|
256
|
+
};
|
|
257
|
+
getPropertiesInternal: () => {
|
|
258
|
+
[x: string]: any;
|
|
259
|
+
} | null;
|
|
260
|
+
hasProperties: () => boolean;
|
|
261
|
+
notify: (key: string, oldValue: any) => void;
|
|
262
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
263
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
264
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
265
|
+
setProperties: (values: {
|
|
266
|
+
[x: string]: any;
|
|
267
|
+
}, silent?: boolean | undefined) => void;
|
|
268
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
269
|
+
changed: () => void;
|
|
270
|
+
getRevision: () => number;
|
|
271
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
272
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
273
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
274
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
275
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
276
|
+
dispose: () => void;
|
|
277
|
+
};
|
|
278
|
+
controls: Map<string, {
|
|
279
|
+
render: (mapEvent: import('ol').default) => void;
|
|
280
|
+
getMap: () => import('ol').default | null;
|
|
281
|
+
setMap: (map: import('ol').default | null) => void;
|
|
282
|
+
setTarget: (target: HTMLElement | string) => void;
|
|
283
|
+
on: import('ol/Object').ObjectOnSignature<import('ol/events').EventsKey>;
|
|
284
|
+
once: import('ol/Object').ObjectOnSignature<import('ol/events').EventsKey>;
|
|
285
|
+
un: import('ol/Object').ObjectOnSignature<void>;
|
|
286
|
+
get: (key: string) => any;
|
|
287
|
+
getKeys: () => Array<string>;
|
|
288
|
+
getProperties: () => {
|
|
289
|
+
[x: string]: any;
|
|
290
|
+
};
|
|
291
|
+
getPropertiesInternal: () => {
|
|
292
|
+
[x: string]: any;
|
|
293
|
+
} | null;
|
|
294
|
+
hasProperties: () => boolean;
|
|
295
|
+
notify: (key: string, oldValue: any) => void;
|
|
296
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
297
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
298
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
299
|
+
setProperties: (values: {
|
|
300
|
+
[x: string]: any;
|
|
301
|
+
}, silent?: boolean | undefined) => void;
|
|
302
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
303
|
+
changed: () => void;
|
|
304
|
+
getRevision: () => number;
|
|
305
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
306
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
307
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
308
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
309
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
310
|
+
dispose: () => void;
|
|
311
|
+
}> & Omit<Map<string, import('ol/control').Control>, keyof Map<any, any>>;
|
|
312
|
+
addControl: (name: string, control: import('ol/control').Control) => void;
|
|
313
|
+
removeControl: (name: string) => void;
|
|
314
|
+
removeAllControls: () => void;
|
|
315
|
+
getControl: (name: string) => import('ol/control').Control | undefined;
|
|
316
|
+
};
|
|
317
|
+
getView: () => OLView;
|
|
318
|
+
fitLayer: (layer: import('ym-giscomm-2d/layers/IBaseLayer').IBaseLayer) => void;
|
|
319
|
+
addMapLayer: (layerInfo: IMapService) => Promise<import('ol/layer/Base').default>;
|
|
320
|
+
addMapLayers: (layerInfo: IMapService[]) => Promise<import('ol/layer/Base').default[]>;
|
|
321
|
+
addLayer: (layer: import('ol/layer/Base').default, fitLayer?: boolean) => void;
|
|
322
|
+
removeLayerById: (id: string) => void;
|
|
323
|
+
getLayersById: (id: string) => import('ol/layer/Base').default | undefined;
|
|
324
|
+
getLayersByIds: (ids: string[]) => import('ol/layer/Base').default[];
|
|
325
|
+
getTempLayerById: (id: string) => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
|
|
326
|
+
getPointTempLayer: () => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
|
|
327
|
+
getLineTempLayer: () => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
|
|
328
|
+
getPolygonTempLayer: () => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
|
|
329
|
+
getTempLayerByGeoType: (geoType: string) => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
|
|
330
|
+
resetViewProjection: (projection: string) => void;
|
|
331
|
+
getExtent: () => import('ol/extent').Extent;
|
|
332
|
+
addWKT: (wkt: string, wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
|
|
333
|
+
addWKTs: (wkts: string[], wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
|
|
334
|
+
clearTempFeatures: () => void;
|
|
335
|
+
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
336
|
+
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
337
|
+
un: import('ol/Map').MapEventHandler<void>;
|
|
338
|
+
resizeObserver_: {
|
|
339
|
+
disconnect: () => void;
|
|
340
|
+
observe: (target: Element, options?: ResizeObserverOptions) => void;
|
|
341
|
+
unobserve: (target: Element) => void;
|
|
342
|
+
};
|
|
343
|
+
addControl: (control: import('ol/control').default) => void;
|
|
344
|
+
addInteraction: (interaction: import('ol/interaction/Interaction').default) => void;
|
|
345
|
+
addOverlay: (overlay: import('ol').default) => void;
|
|
346
|
+
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
347
|
+
getFeaturesAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => Array<import('ol/Feature').FeatureLike>;
|
|
348
|
+
getAllLayers: () => Array<import('ol/layer').default>;
|
|
349
|
+
hasFeatureAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => boolean;
|
|
350
|
+
getEventCoordinate: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
351
|
+
getEventCoordinateInternal: (event: MouseEvent) => import('ol/coordinate').Coordinate;
|
|
352
|
+
getEventPixel: (event: UIEvent | {
|
|
353
|
+
clientX: number;
|
|
354
|
+
clientY: number;
|
|
355
|
+
}) => import('ol/pixel').Pixel;
|
|
356
|
+
getTarget: () => HTMLElement | string | undefined;
|
|
357
|
+
getTargetElement: () => HTMLElement;
|
|
358
|
+
getCoordinateFromPixel: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
359
|
+
getCoordinateFromPixelInternal: (pixel: import('ol/pixel').Pixel) => import('ol/coordinate').Coordinate;
|
|
360
|
+
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
361
|
+
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
362
|
+
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
363
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction/Interaction').default>;
|
|
364
|
+
getLayerGroup: () => import('ol/layer').Group;
|
|
365
|
+
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
366
|
+
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
367
|
+
getLoadingOrNotReady: () => boolean;
|
|
368
|
+
getPixelFromCoordinate: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
369
|
+
getPixelFromCoordinateInternal: (coordinate: import('ol/coordinate').Coordinate) => import('ol/pixel').Pixel;
|
|
370
|
+
getRenderer: () => import('ol/renderer/Map').default | null;
|
|
371
|
+
getSize: () => import('ol/size').Size | undefined;
|
|
372
|
+
getViewport: () => HTMLElement;
|
|
373
|
+
getOverlayContainer: () => HTMLElement;
|
|
374
|
+
getOverlayContainerStopEvent: () => HTMLElement;
|
|
375
|
+
getOwnerDocument: () => Document;
|
|
376
|
+
getTilePriority: (tile: import('ol').default, tileSourceKey: string, tileCenter: import('ol/coordinate').Coordinate, tileResolution: number) => number;
|
|
377
|
+
handleBrowserEvent: (browserEvent: UIEvent, type?: string | undefined) => void;
|
|
378
|
+
handleMapBrowserEvent: (mapBrowserEvent: import('ol').MapBrowserEvent<any>) => void;
|
|
379
|
+
isRendered: () => boolean;
|
|
380
|
+
renderSync: () => void;
|
|
381
|
+
redrawText: () => void;
|
|
382
|
+
render: () => void;
|
|
383
|
+
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
384
|
+
removeInteraction: (interaction: import('ol/interaction/Interaction').default) => import('ol/interaction/Interaction').default | undefined;
|
|
385
|
+
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
386
|
+
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
387
|
+
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|
|
388
|
+
setSize: (size: import('ol/size').Size | undefined) => void;
|
|
389
|
+
setTarget: (target?: string | HTMLElement | undefined) => void;
|
|
390
|
+
setView: (view: import('ol').View | Promise<import('ol/View').ViewOptions>) => void;
|
|
391
|
+
updateSize: () => void;
|
|
392
|
+
get: (key: string) => any;
|
|
393
|
+
getKeys: () => Array<string>;
|
|
394
|
+
getProperties: () => {
|
|
395
|
+
[x: string]: any;
|
|
396
|
+
};
|
|
397
|
+
getPropertiesInternal: () => {
|
|
398
|
+
[x: string]: any;
|
|
399
|
+
} | null;
|
|
400
|
+
hasProperties: () => boolean;
|
|
401
|
+
notify: (key: string, oldValue: any) => void;
|
|
402
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
403
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
404
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
405
|
+
setProperties: (values: {
|
|
406
|
+
[x: string]: any;
|
|
407
|
+
}, silent?: boolean | undefined) => void;
|
|
408
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
409
|
+
changed: () => void;
|
|
410
|
+
getRevision: () => number;
|
|
411
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
412
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
413
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
414
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
415
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
416
|
+
dispose: () => void;
|
|
417
|
+
}[];
|
|
418
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
419
|
+
loaded: (...args: any[]) => void;
|
|
420
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
421
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
422
|
+
}>, {
|
|
423
|
+
screenNum: number;
|
|
424
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
425
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, reactive, onMounted, onUnmounted, computed,
|
|
1
|
+
import { defineComponent, reactive, onMounted, onUnmounted, computed, createElementBlock, openBlock, Fragment, renderList, normalizeStyle, createElementVNode, createBlock, createCommentVNode, unref } from "vue";
|
|
2
2
|
import OLMap from "ym-giscomm-2d/mapView/Map";
|
|
3
3
|
import { TocCard } from "../toc-card/index.js";
|
|
4
4
|
import OLView from "ym-giscomm-2d/mapView/View";
|