@eox/drawtools 1.1.4 → 1.2.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.
Files changed (47) hide show
  1. package/dist/eox-drawtools.js +1093 -955
  2. package/dist/eox-drawtools.umd.cjs +17 -49
  3. package/package.json +1 -1
  4. package/src/enums/index.js +0 -1
  5. package/src/enums/stories.js +0 -7
  6. package/src/main.js +35 -4
  7. package/src/methods/draw/create-select-handler.js +7 -0
  8. package/src/methods/draw/index.js +1 -0
  9. package/src/methods/draw/init-layer.js +32 -1
  10. package/src/methods/draw/init-measuring.js +69 -0
  11. package/types/drawtools/src/enums/index.d.ts +1 -1
  12. package/types/drawtools/src/enums/stories.d.ts +0 -4
  13. package/types/drawtools/src/enums/stories.d.ts.map +1 -1
  14. package/types/drawtools/src/main.d.ts +32 -1
  15. package/types/drawtools/src/main.d.ts.map +1 -1
  16. package/types/drawtools/src/methods/draw/create-select-handler.d.ts +1 -5
  17. package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +1 -1
  18. package/types/drawtools/src/methods/draw/index.d.ts +1 -0
  19. package/types/drawtools/src/methods/draw/init-layer.d.ts.map +1 -1
  20. package/types/drawtools/src/methods/draw/init-measuring.d.ts +10 -0
  21. package/types/drawtools/src/methods/draw/init-measuring.d.ts.map +1 -0
  22. package/types/map/src/controls/controls.d.ts.map +1 -1
  23. package/types/map/src/custom/layers/MapboxStyle.d.ts +2 -2
  24. package/types/map/src/custom/layers/MapboxStyle.d.ts.map +1 -1
  25. package/types/map/src/custom/sources/FlatGeoBuf.d.ts +1 -1
  26. package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -1
  27. package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -1
  28. package/types/map/src/helpers/cluster-explode.d.ts +1 -1
  29. package/types/map/src/helpers/cluster-explode.d.ts.map +1 -1
  30. package/types/map/src/helpers/generate.d.ts.map +1 -1
  31. package/types/map/src/helpers/parse-text.d.ts +11 -0
  32. package/types/map/src/helpers/parse-text.d.ts.map +1 -1
  33. package/types/map/src/helpers/select.d.ts +1 -1
  34. package/types/map/src/helpers/select.d.ts.map +1 -1
  35. package/types/map/src/main.d.ts +112 -35
  36. package/types/map/src/main.d.ts.map +1 -1
  37. package/types/map/src/methods/map/first-updated.d.ts.map +1 -1
  38. package/types/map/src/methods/map/getters.d.ts.map +1 -1
  39. package/types/map/src/methods/map/setters.d.ts.map +1 -1
  40. package/types/map/src/plugins/globe/index.d.ts +6 -0
  41. package/types/map/src/plugins/globe/index.d.ts.map +1 -0
  42. package/types/map/src/plugins/globe/methods.d.ts +8 -0
  43. package/types/map/src/plugins/globe/methods.d.ts.map +1 -0
  44. package/types/map/src/plugins/globe/openglobus.d.ts +16 -0
  45. package/types/map/src/plugins/globe/openglobus.d.ts.map +1 -0
  46. package/types/map/src/types.d.ts +4 -0
  47. package/types/map/src/types.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/drawtools",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,5 @@
1
1
  export {
2
2
  STORIES_MAP_STYLE,
3
- STORIES_DRAW_TYPES,
4
3
  STORIES_LAYERS_ARRAY,
5
4
  STORIES_VECTOR_LAYERS,
6
5
  } from "./stories";
@@ -29,10 +29,3 @@ export const STORIES_VECTOR_LAYERS = [
29
29
  ];
30
30
 
31
31
  export const STORIES_MAP_STYLE = "width: 400px; height: 300px;";
32
-
33
- export const STORIES_DRAW_TYPES = [
34
- { id: "box", type: "Box" },
35
- { id: "point", type: "Point" },
36
- { id: "circle", type: "Circle" },
37
- { id: "linestring", type: "LineString" },
38
- ];
package/src/main.js CHANGED
@@ -17,7 +17,23 @@ import {
17
17
  } from "./helpers/generate-upload-events.js";
18
18
 
19
19
  /**
20
- * Manage drawn features on a map
20
+ * The `eox-drawtools` element provides a comprehensive set of drawing, editing, selection, and import tools for vector features on an `eox-map`. It supports drawing multiple feature types (Polygon, Box, Point, Circle, LineString), continuous drawing, feature modification, selection from existing layers, and import/export in various formats (GeoJSON, WKT, native OL feature).
21
+ *
22
+ * Key features:
23
+ * - Draw polygons, boxes, points, circles, and lines on the map
24
+ * - Draw multiple features at once (set `multiple-features`)
25
+ * - Continuous drawing mode (set `continuous`)
26
+ * - Modify drawn features (set `allow-modify`)
27
+ * - Select features from a specified layer (`layer-id`)
28
+ * - Display a list of drawn/selected features (`show-list`)
29
+ * - Edit features as GeoJSON in a text editor (`show-editor`)
30
+ * - Import features via drag-and-drop or file upload (`import-features`)
31
+ * - Emit drawn features in different formats (`format`: `feature`, `geojson`, `wkt`)
32
+ * - Emit features in a specified projection (`projection`)
33
+ * - Customizable feature styles (`featureStyles`)
34
+ * - Unstyled and no-shadow variants for easy integration
35
+ *
36
+ * 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.
21
37
  *
22
38
  * @element eox-drawtools
23
39
  */
@@ -38,11 +54,12 @@ export class EOxDrawTools extends LitElement {
38
54
  featureStyles: { attribute: false },
39
55
  modify: { attribute: false, state: true },
40
56
  multipleFeatures: { attribute: "multiple-features", type: Boolean },
57
+ measure: { type: Boolean },
41
58
  importFeatures: { attribute: "import-features", type: Boolean },
42
59
  showEditor: { attribute: "show-editor", type: Boolean },
43
60
  showList: { attribute: "show-list", type: Boolean },
44
61
  projection: { type: String },
45
- noShadow: { type: Boolean },
62
+ noShadow: { attribute: "no-shadow", type: Boolean },
46
63
  format: { type: String },
47
64
  type: { type: String },
48
65
  unstyled: { type: Boolean },
@@ -149,6 +166,14 @@ export class EOxDrawTools extends LitElement {
149
166
  */
150
167
  this.multipleFeatures = false;
151
168
 
169
+ /**
170
+ * Display area/line measurement for the drawn features.
171
+ * When enabled, a "measure" property is added to each drawn feature's properties,
172
+ * containing the calculated area (for Polygons and Circles) or length (for LineStrings).
173
+ * This measurement is also displayed as a text label on the map using OpenLayers flat styles.
174
+ */
175
+ this.measure = false;
176
+
152
177
  /**
153
178
  * Allow import features using drag-drop and upload button
154
179
  */
@@ -335,8 +360,10 @@ export class EOxDrawTools extends LitElement {
335
360
  this.#olMap = OlMap;
336
361
  }
337
362
  if (
338
- changedProperties.get("type") &&
339
- changedProperties.get("type") !== this.type
363
+ (changedProperties.get("type") &&
364
+ changedProperties.get("type") !== this.type) ||
365
+ (changedProperties.has("measure") &&
366
+ changedProperties.get("measure") !== this.measure)
340
367
  ) {
341
368
  this.resetLayer(this);
342
369
  this.firstUpdated();
@@ -344,6 +371,10 @@ export class EOxDrawTools extends LitElement {
344
371
  }
345
372
  }
346
373
 
374
+ /**
375
+ * The eox-map instance associated with the draw tools
376
+ * @type {import("@eox/map").EOxMap}
377
+ */
347
378
  get eoxMap() {
348
379
  return this.#eoxMap;
349
380
  }
@@ -2,6 +2,8 @@
2
2
  * Factory function to create a select event handler
3
3
  * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
4
4
  */
5
+ import { toFeature } from "ol/render/Feature";
6
+
5
7
  const createSelectHandler = (EoxDrawTool) => {
6
8
  /**
7
9
  * Copy the selected feature to the draw layer
@@ -13,6 +15,11 @@ const createSelectHandler = (EoxDrawTool) => {
13
15
  if (e?.detail.id !== "SelectLayerClickInteraction" || !e.detail.feature) {
14
16
  return;
15
17
  }
18
+ // Vector tiles geometries do not have the getCoordinates method
19
+ // only dispatch event if the feature has the getCoordinates method
20
+ if (typeof e.detail.feature.getGeometry().getCoordinates !== "function") {
21
+ e.detail.feature = toFeature(e.detail.feature);
22
+ }
16
23
  EoxDrawTool.drawLayer.getSource().addFeature(e.detail.feature);
17
24
  EoxDrawTool.eoxMap.dispatchEvent(
18
25
  new CustomEvent("addfeatures", { detail: e.detail }),
@@ -8,3 +8,4 @@ export { default as emitDrawnFeaturesMethod } from "./emit-drawn-features"; // E
8
8
  export { default as createSelectHandler } from "./create-select-handler"; // Factory function to create select event handler
9
9
  export { default as initSelection } from "./init-selection"; // Initializes selection interactions
10
10
  export { default as handleLayerId } from "./handle-layer-id"; // handle switching between selection and drawing
11
+ export { default as initMeasuring, updateMeasure } from "./init-measuring"; // Initializes measuring logic
@@ -1,4 +1,6 @@
1
- import { onDrawEndMethod, initSelection } from "./";
1
+ import onDrawEndMethod from "./on-draw-end";
2
+ import initSelection from "./init-selection";
3
+ import initMeasuring, { updateMeasure } from "./init-measuring";
2
4
 
3
5
  import { getElement } from "@eox/elements-utils";
4
6
 
@@ -35,6 +37,14 @@ const initLayerMethod = (EoxDrawTool, multipleFeatures) => {
35
37
  "stroke-width": 2,
36
38
  "circle-radius": 5,
37
39
  "circle-fill-color": `rgba(${primaryColor}, 1)`,
40
+ ...(EoxDrawTool.measure && {
41
+ "text-value": ["coalesce", ["get", "measure"], ""],
42
+ "text-fill-color": `rgba(${primaryColor}, 1)`,
43
+ "text-stroke-color": "white",
44
+ "text-stroke-width": 3,
45
+ "text-font": "bold 14px sans-serif",
46
+ "text-overflow": true,
47
+ }),
38
48
  },
39
49
  interactions: [
40
50
  {
@@ -52,6 +62,14 @@ const initLayerMethod = (EoxDrawTool, multipleFeatures) => {
52
62
  "stroke-line-dash": [7, 3],
53
63
  "circle-radius": 5,
54
64
  "circle-fill-color": `rgba(${primaryColor}, 1)`,
65
+ ...(EoxDrawTool.measure && {
66
+ "text-value": ["coalesce", ["get", "measure"], ""],
67
+ "text-fill-color": `rgba(${primaryColor}, 1)`,
68
+ "text-stroke-color": "white",
69
+ "text-stroke-width": 3,
70
+ "text-font": "bold 14px sans-serif",
71
+ "text-overflow": true,
72
+ }),
55
73
  },
56
74
  },
57
75
  },
@@ -94,11 +112,24 @@ const initLayerMethod = (EoxDrawTool, multipleFeatures) => {
94
112
 
95
113
  // Initialize selection interactions
96
114
  initSelection(EoxDrawTool, EoxMap, EoxDrawTool.layerId);
115
+
116
+ if (EoxDrawTool.measure) {
117
+ initMeasuring(EoxDrawTool);
118
+ }
119
+
97
120
  const onModifyEnd = () => EoxDrawTool.onModifyEnd();
98
121
  const onAddFeatures = () => onDrawEndMethod(EoxDrawTool);
99
122
 
100
123
  EoxDrawTool.modify?.on("modifyend", onModifyEnd);
101
124
 
125
+ if (EoxDrawTool.measure) {
126
+ EoxDrawTool.draw?.on("drawstart", (evt) => {
127
+ const feature = evt.feature;
128
+ updateMeasure(feature);
129
+ feature.getGeometry().on("change", () => updateMeasure(feature));
130
+ });
131
+ }
132
+
102
133
  EoxMap.addEventListener("addfeatures", onAddFeatures);
103
134
 
104
135
  if (EoxDrawTool.drawnFeatures) {
@@ -0,0 +1,69 @@
1
+ import { getArea, getLength } from "ol/sphere";
2
+
3
+ /**
4
+ * @param {import("ol").Feature} feature
5
+ */
6
+ export const updateMeasure = (feature) => {
7
+ const geom = feature.getGeometry();
8
+ if (!geom) return;
9
+ let measure = "";
10
+ if (geom.getType() === "Polygon" || geom.getType() === "MultiPolygon") {
11
+ const area = getArea(geom);
12
+ if (area > 1000000) {
13
+ measure = (area / 1000000).toFixed(2) + " km²";
14
+ } else {
15
+ measure = area.toFixed(2) + " m²";
16
+ }
17
+ } else if (
18
+ geom.getType() === "LineString" ||
19
+ geom.getType() === "MultiLineString"
20
+ ) {
21
+ const length = getLength(geom);
22
+ if (length > 1000) {
23
+ measure = (length / 1000).toFixed(2) + " km";
24
+ } else {
25
+ measure = length.toFixed(2) + " m";
26
+ }
27
+ } else if (geom.getType() === "Circle") {
28
+ // @ts-expect-error getRadius
29
+ const radius = geom.getRadius();
30
+ const area = Math.PI * Math.pow(radius, 2);
31
+ if (area > 1000000) {
32
+ measure = (area / 1000000).toFixed(2) + " km²";
33
+ } else {
34
+ measure = area.toFixed(2) + " m²";
35
+ }
36
+ }
37
+ if (measure && feature.get("measure") !== measure) {
38
+ feature.set("measure", measure);
39
+ }
40
+ };
41
+
42
+ /**
43
+ * Initializes measuring on the draw layer.
44
+ * Updates the feature property "measure" on geometry change.
45
+ *
46
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool
47
+ */
48
+ const initMeasuring = (EoxDrawTool) => {
49
+ const source = EoxDrawTool.drawLayer.getSource();
50
+
51
+ /**
52
+ * @param {import("ol/source/Vector").VectorSourceEvent} evt
53
+ */
54
+ const handleFeature = (evt) => {
55
+ const feature = evt.feature;
56
+ if (feature) {
57
+ updateMeasure(feature);
58
+ feature.getGeometry().on("change", () => updateMeasure(feature));
59
+ }
60
+ };
61
+
62
+ source.on("addfeature", handleFeature);
63
+ source.getFeatures().forEach((feature) => {
64
+ updateMeasure(feature);
65
+ feature.getGeometry().on("change", () => updateMeasure(feature));
66
+ });
67
+ };
68
+
69
+ export default initMeasuring;
@@ -1,4 +1,4 @@
1
1
  export { TEST_SELECTORS } from "./test";
2
- export { STORIES_MAP_STYLE, STORIES_DRAW_TYPES, STORIES_LAYERS_ARRAY, STORIES_VECTOR_LAYERS } from "./stories";
2
+ export { STORIES_MAP_STYLE, STORIES_LAYERS_ARRAY, STORIES_VECTOR_LAYERS } from "./stories";
3
3
  export { FIT_OPTIONS, DUMMY_GEO_JSON } from "./draw";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -23,8 +23,4 @@ export const STORIES_VECTOR_LAYERS: {
23
23
  };
24
24
  }[];
25
25
  export const STORIES_MAP_STYLE: "width: 400px; height: 300px;";
26
- export const STORIES_DRAW_TYPES: {
27
- id: string;
28
- type: string;
29
- }[];
30
26
  //# sourceMappingURL=stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../src/enums/stories.js"],"names":[],"mappings":"AAAA;;;;;IAOE;AAEF;;;;;;;;;;;;;;;;;IAmBE;AAEF,gCAAiC,8BAA8B,CAAC;AAEhE;;;IAKE"}
1
+ {"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../src/enums/stories.js"],"names":[],"mappings":"AAAA;;;;;IAOE;AAEF;;;;;;;;;;;;;;;;;IAmBE;AAEF,gCAAiC,8BAA8B,CAAC"}
@@ -1,5 +1,21 @@
1
1
  /**
2
- * Manage drawn features on a map
2
+ * The `eox-drawtools` element provides a comprehensive set of drawing, editing, selection, and import tools for vector features on an `eox-map`. It supports drawing multiple feature types (Polygon, Box, Point, Circle, LineString), continuous drawing, feature modification, selection from existing layers, and import/export in various formats (GeoJSON, WKT, native OL feature).
3
+ *
4
+ * Key features:
5
+ * - Draw polygons, boxes, points, circles, and lines on the map
6
+ * - Draw multiple features at once (set `multiple-features`)
7
+ * - Continuous drawing mode (set `continuous`)
8
+ * - Modify drawn features (set `allow-modify`)
9
+ * - Select features from a specified layer (`layer-id`)
10
+ * - Display a list of drawn/selected features (`show-list`)
11
+ * - Edit features as GeoJSON in a text editor (`show-editor`)
12
+ * - Import features via drag-and-drop or file upload (`import-features`)
13
+ * - Emit drawn features in different formats (`format`: `feature`, `geojson`, `wkt`)
14
+ * - Emit features in a specified projection (`projection`)
15
+ * - Customizable feature styles (`featureStyles`)
16
+ * - Unstyled and no-shadow variants for easy integration
17
+ *
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.
3
19
  *
4
20
  * @element eox-drawtools
5
21
  */
@@ -56,6 +72,9 @@ export class EOxDrawTools extends LitElement {
56
72
  attribute: string;
57
73
  type: BooleanConstructor;
58
74
  };
75
+ measure: {
76
+ type: BooleanConstructor;
77
+ };
59
78
  importFeatures: {
60
79
  attribute: string;
61
80
  type: BooleanConstructor;
@@ -72,6 +91,7 @@ export class EOxDrawTools extends LitElement {
72
91
  type: StringConstructor;
73
92
  };
74
93
  noShadow: {
94
+ attribute: string;
75
95
  type: BooleanConstructor;
76
96
  };
77
97
  format: {
@@ -150,6 +170,13 @@ export class EOxDrawTools extends LitElement {
150
170
  * Allow adding more than one feature at a time
151
171
  */
152
172
  multipleFeatures: boolean;
173
+ /**
174
+ * Display area/line measurement for the drawn features.
175
+ * When enabled, a "measure" property is added to each drawn feature's properties,
176
+ * containing the calculated area (for Polygons and Circles) or length (for LineStrings).
177
+ * This measurement is also displayed as a text label on the map using OpenLayers flat styles.
178
+ */
179
+ measure: boolean;
153
180
  /**
154
181
  * Allow import features using drag-drop and upload button
155
182
  */
@@ -240,6 +267,10 @@ export class EOxDrawTools extends LitElement {
240
267
  firstUpdated(): void;
241
268
  resetLayer: (EoxDrawTool: import("./main").EOxDrawTools) => void;
242
269
  set eoxMap(value: import("@eox/map").EOxMap);
270
+ /**
271
+ * The eox-map instance associated with the draw tools
272
+ * @type {import("@eox/map").EOxMap}
273
+ */
243
274
  get eoxMap(): import("@eox/map").EOxMap;
244
275
  updated(changedProperties: any): void;
245
276
  render(): import("lit-html").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBC;IA6BC;;OAEG;IACH,qBAAwB;IAExB;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;OAEG;IACH,0BAA6B;IAE7B;;;OAGG;IACH,MAFS,OAAO,gBAAgB,EAAE,IAAI,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAEhF;IAEhB;;;OAGG;IAEH,WAHS,OAAO,iBAAiB,EAAE,OAAO,CAGrB;IA6GvB;;;OAGG;IACH,2BAGC;IAED,sBAEC;IAjHC;;;OAGG;IACH,eAFS,KAAK,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,CAEb;IAEvB;;OAEG;IACH,oBAA4B;IAE5B;;OAEG;IACH,oBAA0B;IAE1B;;;;;;;OAOG;IACH,eANU;QACP,KAAK,CAAC,EAAE,OAAO,eAAe,EAAE,aAAa,CAAA;QAC7C,KAAK,CAAC,EAAE,OAAO,eAAe,EAAE,aAAa,C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H,+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,9 +1,5 @@
1
1
  export default createSelectHandler;
2
- /**
3
- * Factory function to create a select event handler
4
- * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
5
- */
6
- declare function createSelectHandler(EoxDrawTool: import("../../main").EOxDrawTools): {
2
+ declare function createSelectHandler(EoxDrawTool: any): {
7
3
  addSelectionEvent: () => void;
8
4
  removeSelectionEvent: () => void;
9
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-select-handler.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/create-select-handler.js"],"names":[],"mappings":";AAAA;;;GAGG;AACH,kDAFW,OAAO,YAAY,EAAE,YAAY;;;EA6C3C"}
1
+ {"version":3,"file":"create-select-handler.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/create-select-handler.js"],"names":[],"mappings":";AAMA;;;EAgDC"}
@@ -6,4 +6,5 @@ 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 initMeasuring, updateMeasure } from "./init-measuring";
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"init-layer.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/init-layer.js"],"names":[],"mappings":";AAIA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,YAAY;;;yBAuG/B,OAAO,YAAY,EAAE,YAAY;EAqB7C"}
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"}
@@ -0,0 +1,10 @@
1
+ export function updateMeasure(feature: import("ol").Feature): void;
2
+ export default initMeasuring;
3
+ /**
4
+ * Initializes measuring on the draw layer.
5
+ * Updates the feature property "measure" on geometry change.
6
+ *
7
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool
8
+ */
9
+ declare function initMeasuring(EoxDrawTool: import("../../main").EOxDrawTools): void;
10
+ //# sourceMappingURL=init-measuring.d.ts.map
@@ -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"}
@@ -1 +1 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAkCA;;;;;;;;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
+ {"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"}
@@ -4,10 +4,10 @@ declare class MapboxStyle extends LayerGroup {
4
4
  /**
5
5
  *
6
6
  * @param {*} mapboxStyle mapbox style definition
7
- * @param {import("ol-mapbox-style/dist/apply").Options} applyOptions ol-mapbox-style apply options
7
+ * @param {Parameters<typeof import("ol-mapbox-style").apply>[2]} applyOptions ol-mapbox-style apply options
8
8
  * @returns
9
9
  */
10
- applyMapboxStyle(mapboxStyle: any, applyOptions: import("ol-mapbox-style/dist/apply").Options): Promise<import("ol").Map | LayerGroup>;
10
+ applyMapboxStyle(mapboxStyle: any, applyOptions: Parameters<typeof import("ol-mapbox-style").apply>[2]): Promise<import("ol").Map | LayerGroup>;
11
11
  }
12
12
  import LayerGroup from "ol/layer/Group";
13
13
  //# sourceMappingURL=MapboxStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapboxStyle.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/layers/MapboxStyle.js"],"names":[],"mappings":";AAGA;IACE,0BAQC;IAED;;;;;OAKG;IACH,8BAJW,GAAC,gBACD,OAAO,4BAA4B,EAAE,OAAO,0CAKtD;CACF;uBAvBsB,gBAAgB"}
1
+ {"version":3,"file":"MapboxStyle.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/layers/MapboxStyle.js"],"names":[],"mappings":";AAGA;IACE,0BAQC;IAED;;;;;OAKG;IACH,8BAJW,GAAC,gBACD,UAAU,CAAC,cAAc,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,0CAK/D;CACF;uBAvBsB,gBAAgB"}
@@ -3,7 +3,7 @@ export type FlatGeoBufOptions = import("../../types").FlatGeoBufOptions;
3
3
  /**
4
4
  * @typedef {import("../../types").FlatGeoBufOptions} FlatGeoBufOptions
5
5
  */
6
- declare class FlatGeoBuf extends Vector<import("ol/Feature").default<import("ol/geom").Geometry>> {
6
+ declare class FlatGeoBuf extends Vector<import("ol").Feature<import("ol/geom").Geometry>> {
7
7
  /**
8
8
  * @param {FlatGeoBufOptions} options
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAQa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAY3B;IAJC,iDAC4D;IAC5D,oBAA8B;IAIhC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;0BAsC0hF,WAAa,iDAAiD,SAAsB;CAHhnF;mBA9EkB,qBAAqB"}
1
+ {"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAQa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAY3B;IAJC,iDAC4D;IAC5D,oBAA8B;IAIhC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;;CAmCF;mBA9EkB,qBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAiCjC;IAhBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAe3C;;;;OAIG;IACH,sDAmCe,KAAK,CAAC,MAAM,CAAC,KACZ,MAAM,GAAC,SAAS,CA2B/B;CACF;sBA3JqB,wBAAwB"}
1
+ {"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAmCjC;IAlBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAiB3C;;;;OAIG;IACH,2CAsCc,WAHC,KAAK,CAAC,MAAM,CAGJ,KAFP,MAAM,GAAC,SAAS,CA2B/B;CACF;sBA7JqB,wBAAwB"}
@@ -19,7 +19,7 @@ export class EOxClusterExplodeInteraction extends Interaction {
19
19
  * @param {ClusterExplodeOptions} options - Options for the selection interaction.
20
20
  */
21
21
  constructor(eoxMap: EOxMap, clusterLayer: import("ol/layer/Vector").default<import("ol/source/Cluster").default>, options: ClusterExplodeOptions);
22
- clusterLayer: VectorLayer<import("ol/source/Cluster").default<Feature<import("ol/geom").Geometry>>, Feature<import("ol/geom").Geometry>>;
22
+ clusterLayer: VectorLayer<import("ol/source").Cluster<Feature<import("ol/geom").Geometry>>, Feature<import("ol/geom").Geometry>>;
23
23
  eoxMap: import("../main").EOxMap;
24
24
  active: boolean;
25
25
  handleEvent(evt: any): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-explode.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/cluster-explode.js"],"names":[],"mappings":"AA0TA;;;;;;;;GAQG;AACH,0CANW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,QAiB/B;AA/TD;;;GAGG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,EAiC/B;IA7BC,yIAAgC;IAChC,iCAAoB;IAsBpB,gBAAyD;IA6B3D,+BA4EC;IAcD,uBAMC;IAiID;;OAEG;IACH,eAEC;;CACF;qBA/SY,OAAO,SAAS,EAAE,MAAM;oCACxB,OAAO,UAAU,EAAE,qBAAqB;wBAR7B,4BAA4B;oBAFhC,YAAY;wBAMR,iBAAiB"}
1
+ {"version":3,"file":"cluster-explode.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/cluster-explode.js"],"names":[],"mappings":"AA0TA;;;;;;;;GAQG;AACH,0CANW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,QAiB/B;AA/TD;;;GAGG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,EAiC/B;IA7BC,iIAAgC;IAChC,iCAAoB;IAsBpB,gBAAyD;IA6B3D,+BA4EC;IAcD,uBAMC;IAiID;;OAEG;IACH,eAEC;;CACF;qBA/SY,OAAO,SAAS,EAAE,MAAM;oCACxB,OAAO,UAAU,EAAE,qBAAqB;wBAR7B,4BAA4B;oBAFhC,YAAY;wBAMR,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAgEA;;;;;;;;GAQG;AACH,oCANW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,GACL,QAAQ,CAmEpB;AA0FD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CA4N3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAO3B;qBA/bY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,UAAU,EAAE,QAAQ;uBAC3B,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;6BAC9B,OAAO,UAAU,EAAE,cAAc;0BACjC,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;iCAChC,OAAO,UAAU,EAAE,kBAAkB;sCACrC,OAAO,UAAU,EAAE,uBAAuB"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAiEA;;;;;;;;GAQG;AACH,oCANW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,GACL,QAAQ,CA+DpB;AA0FD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CA0N3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAM3B;qBAxbY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,UAAU,EAAE,QAAQ;uBAC3B,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;6BAC9B,OAAO,UAAU,EAAE,cAAc;0BACjC,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;iCAChC,OAAO,UAAU,EAAE,kBAAkB;sCACrC,OAAO,UAAU,EAAE,uBAAuB"}
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This function determines the projection of the features based on the provided text.
3
+ *
4
+ * @param {GeoJSON | KML | TopoJSON | null} formatReader
5
+ * @param {string} text
6
+ * @returns {string | undefined} - Returns the projection string if determined, otherwise undefined.
7
+ */
8
+ export function getProj(formatReader: GeoJSON | KML | TopoJSON | null, text: string): string | undefined;
1
9
  /**
2
10
  * This function reads text and attempts to parse it as GeoJSON, KML, or TopoJSON.
3
11
  * If successful, it adds the parsed features to the map.
@@ -31,4 +39,7 @@ export function isKML(text: string): boolean;
31
39
  * @returns {boolean} - `true` if the string is a valid TopoJSON object, `false` otherwise.
32
40
  */
33
41
  export function isTopoJSON(text: string): boolean;
42
+ import GeoJSON from "ol/format/GeoJSON";
43
+ import KML from "ol/format/KML";
44
+ import TopoJSON from "ol/format/TopoJSON";
34
45
  //# sourceMappingURL=parse-text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"AA+BA;;;;;;;;;;GAUG;AACH,iDAPW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,oBACxB,OAAO,YACP,OAAO,GACN,IAAI,CAqCf;AAmBD;;;;;GAKG;AACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;GAKG;AACH,4BAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,OAAO,CAWnB"}
1
+ {"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,sCAJW,OAAO,GAAG,GAAG,GAAG,QAAQ,GAAG,IAAI,QAC/B,MAAM,GACJ,MAAM,GAAG,SAAS,CAoB9B;AAkBD;;;;;;;;;;GAUG;AACH,iDAPW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,oBACxB,OAAO,YACP,OAAO,GACN,IAAI,CAqCf;AAmBD;;;;;GAKG;AACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;GAKG;AACH,4BAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,OAAO,CAWnB;oBA5JmB,mBAAmB;gBACvB,eAAe;qBAFV,oBAAoB"}
@@ -31,7 +31,7 @@ export class EOxSelectInteraction {
31
31
  */
32
32
  constructor(eoxMap: EOxMap, anyLayer: import("../types").SelectLayer, options: SelectOptions);
33
33
  eoxMap: import("../main").EOxMap;
34
- selectLayer: VectorLayer<import("ol/source").Vector<any>, any> | import("ol/layer").WebGLTile | VectorTile<import("ol/source").VectorTile<any>, any> | import("ol/layer").Tile<import("ol/source").Tile<import("ol").Tile>>;
34
+ selectLayer: VectorLayer<import("ol/source").Vector<any>, any> | import("ol/layer").WebGLTile | import("ol/layer").Tile<import("ol/source").Tile<import("ol").Tile>> | VectorTile<import("ol/source").VectorTile<any>, any>;
35
35
  options: import("../types").SelectOptions;
36
36
  active: boolean;
37
37
  panIn: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AAwhBA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AA/hBD;;;;;;;;GAQG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,YACN,OAAO,UAAU,EAAE,WAAW,WAC9B,aAAa,EA8YvB;IA3YC,iCAA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