@eox/drawtools 1.2.0 → 1.4.0
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/eox-drawtools.js +4194 -7303
- package/dist/eox-drawtools.umd.cjs +63 -63
- package/dist/material-symbols-outlined.woff2 +0 -0
- package/dist/material-symbols-rounded.woff2 +0 -0
- package/dist/material-symbols-sharp.woff2 +0 -0
- package/dist/material-symbols-subset.woff2 +0 -0
- package/package.json +8 -8
- package/src/components/controller.js +7 -7
- package/src/main.js +130 -20
- package/src/methods/draw/emit-drawn-features.js +7 -1
- package/src/methods/draw/index.js +5 -0
- package/src/methods/draw/init-layer.js +38 -36
- package/src/methods/draw/on-key-down.js +16 -0
- package/src/methods/draw/remove-feature.js +27 -0
- package/src/methods/draw/start-drawing.js +0 -9
- package/types/components/controller.d.ts.map +1 -0
- package/types/{drawtools/src/components → components}/list.d.ts +3 -3
- package/types/components/list.d.ts.map +1 -0
- package/types/{drawtools/src/enums → enums}/draw.d.ts.map +1 -1
- package/types/{drawtools/src/enums → enums}/index.d.ts.map +1 -1
- package/types/enums/stories.d.ts.map +1 -0
- package/types/{drawtools/src/enums → enums}/test.d.ts.map +1 -1
- package/types/helpers/copy-text-to-clipboard.d.ts.map +1 -0
- package/types/helpers/features-to-geojson.d.ts.map +1 -0
- package/types/helpers/features-to-wkt.d.ts.map +1 -0
- package/types/{drawtools/src/helpers → helpers}/generate-upload-events.d.ts +1 -1
- package/types/helpers/generate-upload-events.d.ts.map +1 -0
- package/types/{drawtools/src/helpers → helpers}/index.d.ts.map +1 -1
- package/types/{drawtools/src/main.d.ts → main.d.ts} +57 -13
- package/types/main.d.ts.map +1 -0
- package/types/methods/controller/index.d.ts.map +1 -0
- package/types/methods/controller/update-button-states.d.ts.map +1 -0
- package/types/methods/draw/create-select-handler.d.ts.map +1 -0
- package/types/methods/draw/discard-drawing.d.ts.map +1 -0
- package/types/methods/draw/emit-drawn-features.d.ts.map +1 -0
- package/types/{drawtools/src/methods → methods}/draw/handle-layer-id.d.ts +1 -1
- package/types/methods/draw/handle-layer-id.d.ts.map +1 -0
- package/types/{drawtools/src/methods → methods}/draw/index.d.ts +2 -0
- package/types/{map/src/enums → methods/draw}/index.d.ts.map +1 -1
- package/types/{drawtools/src/methods → methods}/draw/init-layer.d.ts +2 -2
- package/types/methods/draw/init-layer.d.ts.map +1 -0
- package/types/methods/draw/init-measuring.d.ts.map +1 -0
- package/types/{drawtools/src/methods → methods}/draw/init-selection.d.ts +1 -1
- package/types/methods/draw/init-selection.d.ts.map +1 -0
- package/types/methods/draw/on-draw-end.d.ts.map +1 -0
- package/types/methods/draw/on-key-down.d.ts +10 -0
- package/types/methods/draw/on-key-down.d.ts.map +1 -0
- package/types/methods/draw/remove-feature.d.ts +15 -0
- package/types/methods/draw/remove-feature.d.ts.map +1 -0
- package/types/methods/draw/start-drawing.d.ts.map +1 -0
- package/types/methods/list/delete-feature.d.ts.map +1 -0
- package/types/methods/list/first-update.d.ts.map +1 -0
- package/types/methods/list/hover-feature.d.ts.map +1 -0
- package/types/{map/src/helpers → methods/list}/index.d.ts.map +1 -1
- package/types/methods/list/select-deselect-feature.d.ts.map +1 -0
- package/types/{drawtools/src/style.eox.d.ts.map → style.eox.d.ts.map} +1 -1
- package/types/drawtools/src/components/controller.d.ts.map +0 -1
- package/types/drawtools/src/components/list.d.ts.map +0 -1
- package/types/drawtools/src/enums/stories.d.ts.map +0 -1
- package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts.map +0 -1
- package/types/drawtools/src/helpers/features-to-geojson.d.ts.map +0 -1
- package/types/drawtools/src/helpers/features-to-wkt.d.ts.map +0 -1
- package/types/drawtools/src/helpers/generate-upload-events.d.ts.map +0 -1
- package/types/drawtools/src/main.d.ts.map +0 -1
- package/types/drawtools/src/methods/controller/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/controller/update-button-states.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/discard-drawing.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/handle-layer-id.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-layer.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-measuring.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-selection.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/start-drawing.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/delete-feature.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/first-update.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/hover-feature.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/select-deselect-feature.d.ts.map +0 -1
- package/types/map/src/components/compare.d.ts +0 -31
- package/types/map/src/components/compare.d.ts.map +0 -1
- package/types/map/src/components/tooltip.d.ts +0 -41
- package/types/map/src/components/tooltip.d.ts.map +0 -1
- package/types/map/src/controls/controls.d.ts +0 -21
- package/types/map/src/controls/controls.d.ts.map +0 -1
- package/types/map/src/controls/geo-location.d.ts +0 -41
- package/types/map/src/controls/geo-location.d.ts.map +0 -1
- package/types/map/src/controls/loading-indicator.d.ts +0 -20
- package/types/map/src/controls/loading-indicator.d.ts.map +0 -1
- package/types/map/src/custom/layers/MapboxStyle.d.ts +0 -13
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +0 -1
- package/types/map/src/custom/sources/Cluster.d.ts +0 -20
- package/types/map/src/custom/sources/Cluster.d.ts.map +0 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +0 -28
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +0 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +0 -35
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +0 -1
- package/types/map/src/enums/index.d.ts +0 -2
- package/types/map/src/enums/map.d.ts +0 -5
- package/types/map/src/enums/map.d.ts.map +0 -1
- package/types/map/src/helpers/add-new-feature.d.ts +0 -15
- package/types/map/src/helpers/add-new-feature.d.ts.map +0 -1
- package/types/map/src/helpers/cancel-animation.d.ts +0 -7
- package/types/map/src/helpers/cancel-animation.d.ts.map +0 -1
- package/types/map/src/helpers/center.d.ts +0 -12
- package/types/map/src/helpers/center.d.ts.map +0 -1
- package/types/map/src/helpers/cluster-explode.d.ts +0 -38
- package/types/map/src/helpers/cluster-explode.d.ts.map +0 -1
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts +0 -12
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +0 -1
- package/types/map/src/helpers/draw.d.ts +0 -22
- package/types/map/src/helpers/draw.d.ts.map +0 -1
- package/types/map/src/helpers/generate.d.ts +0 -32
- package/types/map/src/helpers/generate.d.ts.map +0 -1
- package/types/map/src/helpers/index.d.ts +0 -17
- package/types/map/src/helpers/interactions.d.ts +0 -16
- package/types/map/src/helpers/interactions.d.ts.map +0 -1
- package/types/map/src/helpers/layer.d.ts +0 -24
- package/types/map/src/helpers/layer.d.ts.map +0 -1
- package/types/map/src/helpers/parse-feature.d.ts +0 -8
- package/types/map/src/helpers/parse-feature.d.ts.map +0 -1
- package/types/map/src/helpers/parse-text.d.ts +0 -45
- package/types/map/src/helpers/parse-text.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection-from-code.d.ts +0 -8
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection.d.ts +0 -11
- package/types/map/src/helpers/register-projection.d.ts.map +0 -1
- package/types/map/src/helpers/select.d.ts +0 -95
- package/types/map/src/helpers/select.d.ts.map +0 -1
- package/types/map/src/helpers/tile-grid.d.ts +0 -10
- package/types/map/src/helpers/tile-grid.d.ts.map +0 -1
- package/types/map/src/helpers/transform.d.ts +0 -19
- package/types/map/src/helpers/transform.d.ts.map +0 -1
- package/types/map/src/layers.d.ts +0 -125
- package/types/map/src/layers.d.ts.map +0 -1
- package/types/map/src/main.d.ts +0 -459
- package/types/map/src/main.d.ts.map +0 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +0 -13
- package/types/map/src/methods/map/add-update-layer.d.ts.map +0 -1
- package/types/map/src/methods/map/animate-to-state.d.ts +0 -7
- package/types/map/src/methods/map/animate-to-state.d.ts.map +0 -1
- package/types/map/src/methods/map/first-updated.d.ts +0 -9
- package/types/map/src/methods/map/first-updated.d.ts.map +0 -1
- package/types/map/src/methods/map/getters.d.ts +0 -22
- package/types/map/src/methods/map/getters.d.ts.map +0 -1
- package/types/map/src/methods/map/index.d.ts +0 -7
- package/types/map/src/methods/map/index.d.ts.map +0 -1
- package/types/map/src/methods/map/remove.d.ts +0 -22
- package/types/map/src/methods/map/remove.d.ts.map +0 -1
- package/types/map/src/methods/map/setters.d.ts +0 -82
- package/types/map/src/methods/map/setters.d.ts.map +0 -1
- package/types/map/src/plugins/globe/index.d.ts +0 -6
- package/types/map/src/plugins/globe/index.d.ts.map +0 -1
- package/types/map/src/plugins/globe/methods.d.ts +0 -8
- package/types/map/src/plugins/globe/methods.d.ts.map +0 -1
- package/types/map/src/plugins/globe/openglobus.d.ts +0 -16
- package/types/map/src/plugins/globe/openglobus.d.ts.map +0 -1
- package/types/map/src/types.d.ts +0 -178
- package/types/map/src/types.d.ts.map +0 -1
- /package/types/{drawtools/src/components → components}/controller.d.ts +0 -0
- /package/types/{drawtools/src/enums → enums}/draw.d.ts +0 -0
- /package/types/{drawtools/src/enums → enums}/index.d.ts +0 -0
- /package/types/{drawtools/src/enums → enums}/stories.d.ts +0 -0
- /package/types/{drawtools/src/enums → enums}/test.d.ts +0 -0
- /package/types/{drawtools/src/helpers → helpers}/copy-text-to-clipboard.d.ts +0 -0
- /package/types/{drawtools/src/helpers → helpers}/features-to-geojson.d.ts +0 -0
- /package/types/{drawtools/src/helpers → helpers}/features-to-wkt.d.ts +0 -0
- /package/types/{drawtools/src/helpers → helpers}/index.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/controller/index.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/controller/update-button-states.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/create-select-handler.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/discard-drawing.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/emit-drawn-features.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/init-measuring.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/on-draw-end.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/draw/start-drawing.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/list/delete-feature.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/list/first-update.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/list/hover-feature.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/list/index.d.ts +0 -0
- /package/types/{drawtools/src/methods → methods}/list/select-deselect-feature.d.ts +0 -0
- /package/types/{drawtools/src/style.eox.d.ts → style.eox.d.ts} +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @param {import("../main.js").EOxDrawTools} EOxDrawTool - The drawing tool instance.
|
|
6
6
|
* @param {import("@eox/map").EOxMap} EOxMap - The EOx Map instance.
|
|
7
7
|
*/
|
|
8
|
-
export function initMapDragDropImport(EOxDrawTool: import("../main.js").EOxDrawTools, EOxMap:
|
|
8
|
+
export function initMapDragDropImport(EOxDrawTool: import("../main.js").EOxDrawTools, EOxMap: any): void;
|
|
9
9
|
/**
|
|
10
10
|
* Handles file input from drag-and-drop or file selection events,
|
|
11
11
|
* forwarding each file to a specified processing function.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-upload-events.d.ts","sourceRoot":"","sources":["../../src/helpers/generate-upload-events.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,mDAHW,OAAO,YAAY,EAAE,YAAY,qBA8B3C;AAaD;;;;;;GAMG;AACH,+BAHW,SAAS,IAAG,UAAU,GAAG;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,CAAA,eACrD,OAAO,YAAY,EAAE,YAAY,QAiB3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.js"],"names":[],"mappings":""}
|
|
@@ -17,7 +17,17 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Usage examples and visual demos are available in Storybook stories, including scenarios for multi-feature drawing, feature modification, selection, import/export, continuous drawing, format and projection control, and style customization.
|
|
19
19
|
*
|
|
20
|
+
* ## Methods
|
|
21
|
+
*
|
|
22
|
+
* - `startDrawing`: Triggers starting the drawing interaction on the map.
|
|
23
|
+
* - `discardDrawing`: Triggers discarding/stopping the drawing interaction and deleting the drawn shapes.
|
|
24
|
+
* - `removeFeature`: Removes a feature from the drawn features.
|
|
25
|
+
* - `removeFeatureByIndex`: Removes a feature from the drawn features by its index.
|
|
26
|
+
*
|
|
27
|
+
* Usage: `document.querySelector("eox-drawtools").startDrawing();`
|
|
28
|
+
*
|
|
20
29
|
* @element eox-drawtools
|
|
30
|
+
* @fires {CustomEvent} drawupdate - Fires whenever features are added, modified or discarded
|
|
21
31
|
*/
|
|
22
32
|
export class EOxDrawTools extends LitElement {
|
|
23
33
|
static get properties(): {
|
|
@@ -123,7 +133,7 @@ export class EOxDrawTools extends LitElement {
|
|
|
123
133
|
* The current native OpenLayers `draw` interaction
|
|
124
134
|
* @type import("ol/interaction").Draw | import("@eox/map").EOxMap["selectInteractions"][string]
|
|
125
135
|
*/
|
|
126
|
-
draw: import("ol/interaction").Draw |
|
|
136
|
+
draw: import("ol/interaction").Draw | any["selectInteractions"][string];
|
|
127
137
|
/**
|
|
128
138
|
* The current native OpenLayers draw `layer` (initialized with a `zIndex` of 100)
|
|
129
139
|
* @type import("ol/layer/Vector").default
|
|
@@ -135,11 +145,6 @@ export class EOxDrawTools extends LitElement {
|
|
|
135
145
|
*/
|
|
136
146
|
set layerId(value: string);
|
|
137
147
|
get layerId(): string;
|
|
138
|
-
/**
|
|
139
|
-
* The array of drawn native OpenLayers features. Normally includes only one feature, until multiple feature drawing is enabled.
|
|
140
|
-
* @type Array<import("ol").Feature>
|
|
141
|
-
*/
|
|
142
|
-
drawnFeatures: Array<import("ol").Feature>;
|
|
143
148
|
/**
|
|
144
149
|
* The display name of drawn features, shown e.g. in the feature list.
|
|
145
150
|
*/
|
|
@@ -227,51 +232,90 @@ export class EOxDrawTools extends LitElement {
|
|
|
227
232
|
set continuous(value: boolean);
|
|
228
233
|
get continuous(): boolean;
|
|
229
234
|
/**
|
|
230
|
-
*
|
|
235
|
+
* Used internally to update the drawnFeatures state without overwriting the map layer source.
|
|
236
|
+
* @param {Array<import("ol").Feature>} features
|
|
237
|
+
* @ignore
|
|
238
|
+
*/
|
|
239
|
+
setDrawnFeaturesInternal(features: Array<import("ol").Feature>): void;
|
|
240
|
+
/**
|
|
241
|
+
* The array of drawn native OpenLayers features. Normally includes only one feature, until multiple feature drawing is enabled.
|
|
242
|
+
* Pass features to be drawn on the map by setting this property. The features should be in the same projection as the map, or a projection should be specified via the `projection` property for proper transformation.
|
|
243
|
+
* @type {Array<import("ol").Feature>}
|
|
244
|
+
*/
|
|
245
|
+
set drawnFeatures(features: import("ol").Feature<import("ol/geom").Geometry, {
|
|
246
|
+
[x: string]: any;
|
|
247
|
+
}>[]);
|
|
248
|
+
get drawnFeatures(): import("ol").Feature<import("ol/geom").Geometry, {
|
|
249
|
+
[x: string]: any;
|
|
250
|
+
}>[];
|
|
251
|
+
/**
|
|
252
|
+
* Triggers starting the drawing interaction on the map.
|
|
231
253
|
*/
|
|
232
254
|
startDrawing(): void;
|
|
233
255
|
/**
|
|
234
|
-
*
|
|
235
|
-
* on the map and delete the drawn shapes.
|
|
256
|
+
* Triggers discarding/stopping the drawing interaction and deleting the drawn shapes.
|
|
236
257
|
*/
|
|
237
258
|
discardDrawing(): void;
|
|
259
|
+
/**
|
|
260
|
+
* Removes a feature from the drawn features.
|
|
261
|
+
* @param {import("ol").Feature} feature - The feature to remove.
|
|
262
|
+
*/
|
|
263
|
+
removeFeature(feature: import("ol").Feature): void;
|
|
264
|
+
/**
|
|
265
|
+
* Removes a feature from the drawn features by its index.
|
|
266
|
+
* @param {number} index - The index of the feature to remove.
|
|
267
|
+
*/
|
|
268
|
+
removeFeatureByIndex(index: number): void;
|
|
238
269
|
/**
|
|
239
270
|
* @param {string} text - The string representation of the features to be parsed.
|
|
240
271
|
* @param {boolean} replaceFeatures - A boolean flag indicating whether to replace the existing features.
|
|
241
272
|
* @param {boolean} animate - A boolean flag indicating whether to animate the map on feature change.
|
|
273
|
+
* @ignore
|
|
242
274
|
*/
|
|
243
275
|
handleFeatureChange(text: string, replaceFeatures?: boolean, animate?: boolean): void;
|
|
244
276
|
/**
|
|
245
277
|
* @param {DragEvent | InputEvent & { target: HTMLInputElement }} evt - The event object from the file input interaction.
|
|
278
|
+
* @ignore
|
|
246
279
|
*/
|
|
247
280
|
handleFilesChange(evt: DragEvent | (InputEvent & {
|
|
248
281
|
target: HTMLInputElement;
|
|
249
282
|
})): void;
|
|
250
283
|
/**
|
|
251
284
|
* @event onModifyEnd triggered when the modification of a shape is completed.
|
|
285
|
+
* @ignore
|
|
252
286
|
*/
|
|
253
287
|
onModifyEnd(): void;
|
|
254
288
|
/**
|
|
255
289
|
* Update #geoJSON with stringify feature.
|
|
290
|
+
* @ignore
|
|
256
291
|
*/
|
|
257
292
|
updateGeoJSON(): void;
|
|
258
293
|
/**
|
|
259
294
|
* Triggers different events when the drawing of a shape is completed.
|
|
295
|
+
* @ignore
|
|
260
296
|
*/
|
|
261
297
|
emitDrawnFeatures(): void;
|
|
262
298
|
/**
|
|
263
299
|
* initializes the EOxMap and OlMap instances
|
|
264
300
|
* And stores them in the private properties #eoxMap and #olMap, respectively.
|
|
265
|
-
*
|
|
301
|
+
* @ignore
|
|
266
302
|
*/
|
|
267
|
-
|
|
303
|
+
updateLayer(): void;
|
|
268
304
|
resetLayer: (EoxDrawTool: import("./main").EOxDrawTools) => void;
|
|
269
|
-
set eoxMap(value:
|
|
305
|
+
set eoxMap(value: any);
|
|
270
306
|
/**
|
|
271
307
|
* The eox-map instance associated with the draw tools
|
|
272
308
|
* @type {import("@eox/map").EOxMap}
|
|
273
309
|
*/
|
|
274
|
-
get eoxMap():
|
|
310
|
+
get eoxMap(): any;
|
|
311
|
+
/**
|
|
312
|
+
* initializes the EOxMap and OlMap instances
|
|
313
|
+
* And stores them in the private properties #eoxMap and #olMap, respectively.
|
|
314
|
+
* It then calls requestUpdate to trigger a re-render.
|
|
315
|
+
* @ignore
|
|
316
|
+
*/
|
|
317
|
+
firstUpdated(): void;
|
|
318
|
+
/** @ignore */
|
|
275
319
|
updated(changedProperties: any): void;
|
|
276
320
|
render(): import("lit-html").TemplateResult<1>;
|
|
277
321
|
#private;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBC;IA4CC;;OAEG;IACH,qBAAwB;IAExB;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;OAEG;IACH,0BAA6B;IAE7B;;;OAGG;IACH,MAFS,OAAO,gBAAgB,EAAE,IAAI,GAAG,GAAyB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAEhF;IAEhB;;;OAGG;IAEH,WAHS,OAAO,iBAAiB,EAAE,OAAO,CAGrB;IA8JvB;;;OAGG;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AAM,EAAE,gBAAgB,CAAA;KAAE,CAAA,QAK/D;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,sBAMC;IAED;;;OAGG;IACH,0BAaC;IAUD;;;;OAIG;IACH,oBAWC;IAHC,iEAAuB;IAkDzB,uBAIC;IAZD;;;OAGG;IACH,kBAEC;IA3CD;;;;;OAKG;IACH,qBAYC;IAED,cAAc;IACd,sCAcC;IAiCD,+CAqDC;;CACF;2BApjByC,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/methods/controller/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-button-states.d.ts","sourceRoot":"","sources":["../../../src/methods/controller/update-button-states.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iEAHW,OAAO,6BAA6B,EAAE,sBAAsB,GAC1D;IAAE,YAAY,EAAE,OAAO,GAAG,iCAAqB,CAAC;IAAC,eAAe,EAAE,OAAO,GAAG,iCAAqB,CAAA;CAAE,CAgB/G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-select-handler.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/create-select-handler.js"],"names":[],"mappings":";AAMA;;;EAgDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discard-drawing.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/discard-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,mDAFW,OAAO,YAAY,EAAE,YAAY,QAyB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emit-drawn-features.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/emit-drawn-features.js"],"names":[],"mappings":";;;;yBAGa,OAAO,IAAI,EAAE,OAAO,EAAE,GAC9B,UAAU,CAAC,OAAO,iBAAiB,CAAC,GACpC,UAAU,CAAC,OAAO,aAAa,CAAC;AAHrC;;;;GAIG;AAEH;;;;;GAKG;AACH,sDAHW,OAAO,YAAY,EAAE,YAAY,mBACjC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,QAqDpC;kCAjEgD,eAAe;8BAAf,eAAe"}
|
|
@@ -8,5 +8,5 @@ export default handleLayerId;
|
|
|
8
8
|
* @param {string} updatedLayerId
|
|
9
9
|
* @returns
|
|
10
10
|
*/
|
|
11
|
-
declare function handleLayerId(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap:
|
|
11
|
+
declare function handleLayerId(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: any, updatedLayerId: string, oldLayerId: string): void;
|
|
12
12
|
//# sourceMappingURL=handle-layer-id.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-layer-id.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/handle-layer-id.js"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,4CANW,OAAO,YAAY,EAAE,YAAY,+BAGjC,MAAM,cADN,MAAM,QAuBhB"}
|
|
@@ -6,5 +6,7 @@ export { default as emitDrawnFeaturesMethod } from "./emit-drawn-features";
|
|
|
6
6
|
export { default as createSelectHandler } from "./create-select-handler";
|
|
7
7
|
export { default as initSelection } from "./init-selection";
|
|
8
8
|
export { default as handleLayerId } from "./handle-layer-id";
|
|
9
|
+
export { default as onKeyDownMethod } from "./on-key-down.js";
|
|
9
10
|
export { default as initMeasuring, updateMeasure } from "./init-measuring";
|
|
11
|
+
export { removeFeatureMethod, removeFeatureByIndexMethod } from "./remove-feature";
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/index.js"],"names":[],"mappings":""}
|
|
@@ -6,8 +6,8 @@ export default initLayerMethod;
|
|
|
6
6
|
* @param {Boolean} multipleFeatures - Allow adding more than one feature at a time
|
|
7
7
|
*/
|
|
8
8
|
declare function initLayerMethod(EoxDrawTool: import("../../main").EOxDrawTools, multipleFeatures: boolean): {
|
|
9
|
-
EoxMap:
|
|
10
|
-
OlMap:
|
|
9
|
+
EoxMap: any;
|
|
10
|
+
OlMap: any;
|
|
11
11
|
reset: (EoxDrawTool: import("../../main").EOxDrawTools) => void;
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=init-layer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-layer.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/init-layer.js"],"names":[],"mappings":";AAMA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,YAAY;;;yBAsI/B,OAAO,YAAY,EAAE,YAAY;EAqB7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-measuring.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/init-measuring.js"],"names":[],"mappings":"AAKO,uCAFI,OAAO,IAAI,EAAE,OAAO,QAoC9B;;AAED;;;;;GAKG;AACH,4CAFW,OAAO,YAAY,EAAE,YAAY,QAqB3C"}
|
|
@@ -6,5 +6,5 @@ export default initSelection;
|
|
|
6
6
|
* @param {import("@eox/map").EOxMap} EoxMap - The map instance.
|
|
7
7
|
* @param {string} layerId - The ID of the layer to initialize selection for.
|
|
8
8
|
*/
|
|
9
|
-
declare function initSelection(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap:
|
|
9
|
+
declare function initSelection(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: any, layerId: string): void;
|
|
10
10
|
//# sourceMappingURL=init-selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-selection.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/init-selection.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,4CAJW,OAAO,YAAY,EAAE,YAAY,wBAEjC,MAAM,QA+DhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"on-draw-end.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/on-draw-end.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,8CAFW,OAAO,YAAY,EAAE,YAAY,QAiC3C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default onKeyDownMethod;
|
|
2
|
+
/**
|
|
3
|
+
* Handles keydown events for the drawing tool.
|
|
4
|
+
* Specifically, it aborts the drawing process when the Escape key is pressed.
|
|
5
|
+
*
|
|
6
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
7
|
+
* @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
|
|
8
|
+
*/
|
|
9
|
+
declare function onKeyDownMethod(event: KeyboardEvent, EoxDrawTool: import("../../main").EOxDrawTools): void;
|
|
10
|
+
//# sourceMappingURL=on-key-down.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"on-key-down.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/on-key-down.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,wCAHW,aAAa,eACb,OAAO,YAAY,EAAE,YAAY,QAQ3C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Removes a feature from the drawn features.
|
|
3
|
+
*
|
|
4
|
+
* @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
|
|
5
|
+
* @param {import("ol").Feature} feature - The feature to remove.
|
|
6
|
+
*/
|
|
7
|
+
export function removeFeatureMethod(EoxDrawTool: import("../../main").EOxDrawTools, feature: import("ol").Feature): void;
|
|
8
|
+
/**
|
|
9
|
+
* Removes a feature from the drawn features by its index.
|
|
10
|
+
*
|
|
11
|
+
* @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
|
|
12
|
+
* @param {number} index - The index of the feature to remove.
|
|
13
|
+
*/
|
|
14
|
+
export function removeFeatureByIndexMethod(EoxDrawTool: import("../../main").EOxDrawTools, index: number): void;
|
|
15
|
+
//# sourceMappingURL=remove-feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-feature.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/remove-feature.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,iDAHW,OAAO,YAAY,EAAE,YAAY,WACjC,OAAO,IAAI,EAAE,OAAO,QAO9B;AAED;;;;;GAKG;AACH,wDAHW,OAAO,YAAY,EAAE,YAAY,SACjC,MAAM,QAShB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-drawing.d.ts","sourceRoot":"","sources":["../../../src/methods/draw/start-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iDAFW,OAAO,YAAY,EAAE,YAAY,QAqB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-feature.d.ts","sourceRoot":"","sources":["../../../src/methods/list/delete-feature.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,0CAHW,KAAK,GAAG;IAAE,MAAM,EAAE,iBAAiB,CAAA;CAAE,mBACrC,OAAO,uBAAuB,EAAE,gBAAgB,0BAkB1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../src/methods/list/first-update.js"],"names":[],"mappings":";AAAA;;;;GAIG;AACH,qDAFW,OAAO,uBAAuB,EAAE,gBAAgB,QAyB1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hover-feature.d.ts","sourceRoot":"","sources":["../../../src/methods/list/hover-feature.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,qDAJW,OAAO,uBAAuB,EAAE,gBAAgB,aAChD,MAAM,GAAG,MAAM,GAAG,SAAS,2BAUrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/methods/list/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-deselect-feature.d.ts","sourceRoot":"","sources":["../../../src/methods/list/select-deselect-feature.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,mDAHW,OAAO,IAAI,EAAE,OAAO,mBACpB,OAAO,uBAAuB,EAAE,gBAAgB,QA2B1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["../src/style.eox.js"],"names":[],"mappings":"AAKA,8BAYE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/components/controller.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAeA;;OAEG;IACH,0BAA6B;IAE7B;;;;;OAKG;IACH,eAFS,KAAK,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,CAEb;IAEvB;;;OAGG;IACH,wBAA2B;IAE3B;;;OAGG;IACH,oBAAuB;IAEvB;;OAEG;IACH,0BAA6B;IAE7B;;OAEG;IACH,cAAoB;IAEpB;;;OAGG;IACH,gBAAiB;IAEjB;;;OAGG;IACH,MAFU,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,CAE1C;IAErB;;OAEG;IACH,kBAAqB;IAErB;;OAEG;IACH,gBAAmB;IAGrB;;OAEG;IACH,2BAKC;IAED;;OAEG;IACH,yBAEC;IAED,+CA0NC;;CACF;2BA5UyC,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":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|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../src/enums/stories.js"],"names":[],"mappings":"AAAA;;;;;IAOE;AAEF;;;;;;;;;;;;;;;;;IAmBE;AAEF,gCAAiC,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"copy-text-to-clipboard.d.ts","sourceRoot":"","sources":["../../../../src/helpers/copy-text-to-clipboard.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kDAFW,MAAM,QAShB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features-to-geojson.d.ts","sourceRoot":"","sources":["../../../../src/helpers/features-to-geojson.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAHW,OAAO,IAAI,EAAE,OAAO,EAAE,YACrB,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAE,GAAG,CAAC;;GAK3D;oBAXmB,mBAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features-to-wkt.d.ts","sourceRoot":"","sources":["../../../../src/helpers/features-to-wkt.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH,4BAFU,GAAG,CAAC,eAAe,CAAC,CAK5B;gBAVc,kBAAkB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-upload-events.d.ts","sourceRoot":"","sources":["../../../../src/helpers/generate-upload-events.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,mDAHW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,QA6BnC;AAaD;;;;;;GAMG;AACH,+BAHW,SAAS,IAAG,UAAU,GAAG;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,CAAA,eACrD,OAAO,YAAY,EAAE,YAAY,QAiB3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sour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sCAAsC,EAAE,OAAO,CAAC,CAExD;IAE3B;;;;;OAKG;IACH,QAFU,SAAS,GAAE,SAAS,GAAG,KAAK,CAEf;IAEvB;;OAEG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAGvB;;;;OAIG;IACH,+BAGC;IAED,0BAEC;IAeD;;OAEG;IACH,qBAEC;IAED;;;OAGG;IACH,uBAEC;IAED;;;;OAIG;IACH,0BAJW,MAAM,oBACN,OAAO,YACP,OAAO,QAUjB;IAED;;OAEG;IACH,uBAFW,SAAS,IAAG,UAAU,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,CAAA,QAI/D;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAMC;IAED;;OAEG;IACH,0BAaC;IASD;;;;OAIG;IACH,qBAcC;IATC,iEAAuB;IAqCzB,kBANU,OAAO,UAAU,EAAE,MAAM,EAUlC;IAZD;;;OAGG;IACH,cAFU,OAAO,UAAU,EAAE,MAAM,CAIlC;IAxBD,sCAgBC;IA6BD,+CAqDC;;CACF;2BAtcyC,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/methods/controller/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-button-states.d.ts","sourceRoot":"","sources":["../../../../../src/methods/controller/update-button-states.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iEAHW,OAAO,6BAA6B,EAAE,sBAAsB,GAC1D;IAAE,YAAY,EAAE,OAAO,GAAG,iCAAqB,CAAC;IAAC,eAAe,EAAE,OAAO,GAAG,iCAAqB,CAAA;CAAE,CAgB/G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-select-handler.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/create-select-handler.js"],"names":[],"mappings":";AAMA;;;EAgDC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"discard-drawing.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/discard-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,mDAFW,OAAO,YAAY,EAAE,YAAY,QAyB3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"emit-drawn-features.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/emit-drawn-features.js"],"names":[],"mappings":";;;;yBAGa,OAAO,IAAI,EAAE,OAAO,EAAE,GAC9B,UAAU,CAAC,OAAO,iBAAiB,CAAC,GACpC,UAAU,CAAC,OAAO,aAAa,CAAC;AAHrC;;;;GAIG;AAEH;;;;;GAKG;AACH,sDAHW,OAAO,YAAY,EAAE,YAAY,mBACjC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,QA+CpC;kCA3DgD,eAAe;8BAAf,eAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-layer-id.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/handle-layer-id.js"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,4CANW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,kBAEzB,MAAM,cADN,MAAM,QAuBhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init-layer.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/init-layer.js"],"names":[],"mappings":";AAMA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,YAAY;;;yBAoI/B,OAAO,YAAY,EAAE,YAAY;EAqB7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init-measuring.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/init-measuring.js"],"names":[],"mappings":"AAKO,uCAFI,OAAO,IAAI,EAAE,OAAO,QAoC9B;;AAED;;;;;GAKG;AACH,4CAFW,OAAO,YAAY,EAAE,YAAY,QAqB3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init-selection.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/init-selection.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,4CAJW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,WACzB,MAAM,QA+DhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"on-draw-end.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/on-draw-end.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,8CAFW,OAAO,YAAY,EAAE,YAAY,QAiC3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start-drawing.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/start-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iDAFW,OAAO,YAAY,EAAE,YAAY,QA8B3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-feature.d.ts","sourceRoot":"","sources":["../../../../../src/methods/list/delete-feature.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,0CAHW,KAAK,GAAG;IAAE,MAAM,EAAE,iBAAiB,CAAA;CAAE,mBACrC,OAAO,uBAAuB,EAAE,gBAAgB,0BAkB1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../src/methods/list/first-update.js"],"names":[],"mappings":";AAAA;;;;GAIG;AACH,qDAFW,OAAO,uBAAuB,EAAE,gBAAgB,QAyB1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover-feature.d.ts","sourceRoot":"","sources":["../../../../../src/methods/list/hover-feature.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,qDAJW,OAAO,uBAAuB,EAAE,gBAAgB,aAChD,MAAM,GAAG,MAAM,GAAG,SAAS,2BAUrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/methods/list/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-deselect-feature.d.ts","sourceRoot":"","sources":["../../../../../src/methods/list/select-deselect-feature.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,mDAHW,OAAO,IAAI,EAAE,OAAO,mBACpB,OAAO,uBAAuB,EAAE,gBAAgB,QA2B1D"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A custom element for comparing two map layers or images using a slider.
|
|
3
|
-
* This component creates a split-screen view with an adjustable slider to compare two images or layers.
|
|
4
|
-
*/
|
|
5
|
-
export class EOxMapCompare extends LitElement {
|
|
6
|
-
static get properties(): {
|
|
7
|
-
value: {
|
|
8
|
-
attribute: string;
|
|
9
|
-
type: NumberConstructor;
|
|
10
|
-
};
|
|
11
|
-
enabled: {
|
|
12
|
-
attribute: string;
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* The current position of the comparison slider (0 to 100).
|
|
18
|
-
* @type {number}
|
|
19
|
-
*/
|
|
20
|
-
value: number;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the comparison is enabled and which part is visible.
|
|
23
|
-
* Accepts values: "first", "second", or "true" (default).
|
|
24
|
-
* @type {string}
|
|
25
|
-
*/
|
|
26
|
-
enabled: string;
|
|
27
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
-
#private;
|
|
29
|
-
}
|
|
30
|
-
import { LitElement } from "lit";
|
|
31
|
-
//# sourceMappingURL=compare.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/compare.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IACE;;;;;;;;;MAKC;IAKC;;;OAGG;IACH,OAFU,MAAM,CAED;IAEf;;;;OAIG;IACH,SAFU,MAAM,CAEK;IAYvB,+CA+JC;;CACF;2BAzMgC,KAAK"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A custom element that serves as a tooltip for the map.
|
|
3
|
-
* Displays information about map features in a styled format.
|
|
4
|
-
*/
|
|
5
|
-
export class EOxMapTooltip extends LitElement {
|
|
6
|
-
static get properties(): {
|
|
7
|
-
feature: {
|
|
8
|
-
attribute: boolean;
|
|
9
|
-
property: boolean;
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
};
|
|
12
|
-
propertyTransform: {
|
|
13
|
-
attribute: boolean;
|
|
14
|
-
property: boolean;
|
|
15
|
-
type: FunctionConstructor;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* The rendered feature.
|
|
20
|
-
*
|
|
21
|
-
* @type {import("ol/Feature").default | import("ol/render/Feature").default}
|
|
22
|
-
*/
|
|
23
|
-
feature: import("ol/Feature").default | import("ol/render/Feature").default;
|
|
24
|
-
/**
|
|
25
|
-
* A function to transform properties before rendering.
|
|
26
|
-
*
|
|
27
|
-
* @param {{ key: string; value: unknown }} property
|
|
28
|
-
* @param {import("ol/Feature").default | import("ol/render/Feature").default} _feature
|
|
29
|
-
*/
|
|
30
|
-
propertyTransform: (property: {
|
|
31
|
-
key: string;
|
|
32
|
-
value: unknown;
|
|
33
|
-
}, _feature: import("ol/Feature").default | import("ol/render/Feature").default) => {
|
|
34
|
-
key: string;
|
|
35
|
-
value: unknown;
|
|
36
|
-
};
|
|
37
|
-
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
38
|
-
}
|
|
39
|
-
import { LitElement } from "lit";
|
|
40
|
-
import { nothing } from "lit";
|
|
41
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/tooltip.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH;IACE;;;;;;;;;;;MAKC;IAKC;;;;OAIG;IACH,SAFU,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO,CAEzD;IAEnB;;;;;OAKG;IACH,8BAHW;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,YAC/B,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO;aAD3D,MAAM;eAAS,OAAO;MAGiB;IAG3D,gEA+BC;CACF;2BAjEyC,KAAK;wBAAL,KAAK"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds a control to the map and to the `mapControls` dictionary if it doesn't exist yet.
|
|
3
|
-
* Removes and remakes the control if the options differ; otherwise, leaves the control untouched.
|
|
4
|
-
*
|
|
5
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
6
|
-
* @param {ControlDictionary} existingControls - Dictionary of existing controls.
|
|
7
|
-
* @param {ControlType} type - The type of control to add or update.
|
|
8
|
-
* @param {object} options - Options for the control.
|
|
9
|
-
*/
|
|
10
|
-
export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingControls: ControlDictionary, type: ControlType, options: object): void;
|
|
11
|
-
/**
|
|
12
|
-
* Adds a control to the map.
|
|
13
|
-
*
|
|
14
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
15
|
-
* @param {ControlType} type - The type of control to add.
|
|
16
|
-
* @param {object} options - Options for the control.
|
|
17
|
-
*/
|
|
18
|
-
export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
|
|
19
|
-
export type ControlDictionary = import("../types").ControlDictionary;
|
|
20
|
-
export type ControlType = import("../types").ControlType;
|
|
21
|
-
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAmCA;;;;;;;;GAQG;AACH,2CALW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,QACjB,WAAW,WACX,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAiBhB;gCApEY,OAAO,UAAU,EAAE,iBAAiB;0BACpC,OAAO,UAAU,EAAE,WAAW"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").GeolocationOptions} GeolocationOptions
|
|
3
|
-
*/
|
|
4
|
-
export default class GeolocationControl extends Control {
|
|
5
|
-
/**
|
|
6
|
-
* @param {GeolocationOptions} [opt_options] - Control options.
|
|
7
|
-
*/
|
|
8
|
-
constructor(opt_options?: GeolocationOptions);
|
|
9
|
-
_centerWhenReady: boolean;
|
|
10
|
-
_highAccuracy: boolean;
|
|
11
|
-
_trackAccuracy: boolean;
|
|
12
|
-
_trackHeading: boolean;
|
|
13
|
-
_positionFeature: Feature<Point>;
|
|
14
|
-
_source: VectorSource<Feature<Point>>;
|
|
15
|
-
_accuracyFeature: Feature<import("ol/geom").Geometry>;
|
|
16
|
-
_layer: VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
|
|
17
|
-
/**
|
|
18
|
-
* Initializes the geolocation control.
|
|
19
|
-
* This will prompt the user for geolocation permissions in the browser.
|
|
20
|
-
*/
|
|
21
|
-
initGeolocation(): Promise<any>;
|
|
22
|
-
_geolocation: Geolocation;
|
|
23
|
-
/**
|
|
24
|
-
* Returns the geolocation control element.
|
|
25
|
-
*
|
|
26
|
-
* @returns {HTMLElement} - The control element.
|
|
27
|
-
*/
|
|
28
|
-
getElement(): HTMLElement;
|
|
29
|
-
/**
|
|
30
|
-
* Centers the map on the position of the geolocation, if possible.
|
|
31
|
-
*/
|
|
32
|
-
centerOnPosition(): Promise<void>;
|
|
33
|
-
}
|
|
34
|
-
export type GeolocationOptions = import("../types").GeolocationOptions;
|
|
35
|
-
import Control from "ol/control/Control.js";
|
|
36
|
-
import Point from "ol/geom/Point";
|
|
37
|
-
import Feature from "ol/Feature";
|
|
38
|
-
import VectorSource from "ol/source/Vector.js";
|
|
39
|
-
import VectorLayer from "ol/layer/Vector.js";
|
|
40
|
-
import Geolocation from "ol/Geolocation";
|
|
41
|
-
//# sourceMappingURL=geo-location.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/geo-location.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH;IACE;;OAEG;IACH,0BAFW,kBAAkB,EA8D5B;IAvCC,0BAA+C;IAC/C,uBAAyC;IACzC,wBAA2C;IAC3C,uBAAyC;IAGzC,iCAGE;IAGF,sCAEE;IAIA,sDAAqC;IAYvC,kEAAuD;IA6BzD;;;OAGG;IACH,gCA4CC;IAxCK,0BAIE;IAsCR;;;;OAIG;IACH,cAFa,WAAW,CAIvB;IAED;;OAEG;IACH,kCAUC;CACF;iCAhKY,OAAO,UAAU,EAAE,kBAAkB;oBAX9B,uBAAuB;kBAGzB,eAAe;oBAFb,YAAY;yBAGP,qBAAqB;wBACtB,oBAAoB;wBAHpB,gBAAgB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").LoadingIndicatorOptions} LoadingIndicatorOptions
|
|
3
|
-
*/
|
|
4
|
-
export default class LoadingIndicatorControl extends Control {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a loading indicator control to show when map loading events occur.
|
|
7
|
-
*
|
|
8
|
-
* @param {LoadingIndicatorOptions} [opt_options] - Options for configuring the loading indicator control.
|
|
9
|
-
*/
|
|
10
|
-
constructor(opt_options?: LoadingIndicatorOptions);
|
|
11
|
-
/**
|
|
12
|
-
* Returns the loading indicator element.
|
|
13
|
-
*
|
|
14
|
-
* @returns {HTMLElement} - The control element.
|
|
15
|
-
*/
|
|
16
|
-
getElement(): HTMLElement;
|
|
17
|
-
}
|
|
18
|
-
export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
|
|
19
|
-
import Control from "ol/control/Control.js";
|
|
20
|
-
//# sourceMappingURL=loading-indicator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/loading-indicator.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;IACE;;;;OAIG;IACH,0BAFW,uBAAuB,EAsCjC;IAuBD;;;;OAIG;IACH,cAFa,WAAW,CAIvB;CACF;sCA5EY,OAAO,UAAU,EAAE,uBAAuB;oBAHnC,uBAAuB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default MapboxStyle;
|
|
2
|
-
declare class MapboxStyle extends LayerGroup {
|
|
3
|
-
constructor(options?: {});
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @param {*} mapboxStyle mapbox style definition
|
|
7
|
-
* @param {Parameters<typeof import("ol-mapbox-style").apply>[2]} applyOptions ol-mapbox-style apply options
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
applyMapboxStyle(mapboxStyle: any, applyOptions: Parameters<typeof import("ol-mapbox-style").apply>[2]): Promise<import("ol").Map | LayerGroup>;
|
|
11
|
-
}
|
|
12
|
-
import LayerGroup from "ol/layer/Group";
|
|
13
|
-
//# sourceMappingURL=MapboxStyle.d.ts.map
|