@eox/drawtools 0.14.1 → 0.14.3

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 (40) hide show
  1. package/dist/eox-drawtools.js +867 -832
  2. package/dist/eox-drawtools.umd.cjs +29 -29
  3. package/package.json +1 -1
  4. package/src/methods/draw/init-selection.js +40 -11
  5. package/src/methods/draw/on-draw-end.js +5 -2
  6. package/types/drawtools/src/methods/draw/init-selection.d.ts +2 -1
  7. package/types/drawtools/src/methods/draw/init-selection.d.ts.map +1 -1
  8. package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +1 -1
  9. package/types/map/src/components/compare.d.ts +2 -2
  10. package/types/map/src/components/compare.d.ts.map +1 -1
  11. package/types/map/src/components/tooltip.d.ts +7 -2
  12. package/types/map/src/components/tooltip.d.ts.map +1 -1
  13. package/types/map/src/controls/controls.d.ts +0 -6
  14. package/types/map/src/controls/controls.d.ts.map +1 -1
  15. package/types/map/src/controls/geo-location.d.ts +3 -3
  16. package/types/map/src/controls/geo-location.d.ts.map +1 -1
  17. package/types/map/src/controls/loading-indicator.d.ts +1 -1
  18. package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
  19. package/types/map/src/custom/sources/FlatGeoBuf.d.ts +27 -0
  20. package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
  21. package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
  22. package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
  23. package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
  24. package/types/map/src/helpers/generate.d.ts +5 -4
  25. package/types/map/src/helpers/generate.d.ts.map +1 -1
  26. package/types/map/src/helpers/interactions.d.ts.map +1 -1
  27. package/types/map/src/helpers/select.d.ts +5 -5
  28. package/types/map/src/helpers/select.d.ts.map +1 -1
  29. package/types/map/src/helpers/tile-grid.d.ts +2 -2
  30. package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
  31. package/types/map/src/layers.d.ts +116 -0
  32. package/types/map/src/layers.d.ts.map +1 -0
  33. package/types/map/src/main.d.ts +6 -6
  34. package/types/map/src/main.d.ts.map +1 -1
  35. package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
  36. package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
  37. package/types/map/src/methods/map/setters.d.ts +2 -2
  38. package/types/map/src/methods/map/setters.d.ts.map +1 -1
  39. package/types/map/src/types.d.ts +28 -38
  40. 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": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@eox/map": "^1.19.3",
@@ -3,22 +3,22 @@
3
3
  *
4
4
  * @param {import('../../main').EOxDrawTools} EoxDrawTool - The drawing tool instance.
5
5
  * @param {import("@eox/map").EOxMap} EoxMap - The map instance.
6
+ * @param {string} layerId - The ID of the layer to initialize selection for.
6
7
  */
7
- const initSelection = (EoxDrawTool, EoxMap, updatedLayerId) => {
8
- if (!updatedLayerId || !EoxMap) {
8
+ const initSelection = (EoxDrawTool, EoxMap, layerId) => {
9
+ if (!layerId || !EoxMap) {
9
10
  return;
10
11
  }
11
12
 
12
- const selectionLayer =
13
- JSON.parse(
14
- JSON.stringify(
15
- /** @type {import("@eox/map").EoxLayer} */ (
16
- EoxMap.getLayerById(updatedLayerId).get("_jsonDefinition")
17
- ),
18
- ),
19
- ) || null;
13
+ const olLayer = EoxMap.getLayerById(layerId);
14
+ const selectionLayer = olLayer
15
+ ? /** @type {import("@eox/map").EoxLayer} */ (
16
+ JSON.parse(JSON.stringify(olLayer.get("_jsonDefinition")))
17
+ )
18
+ : null;
19
+
20
20
  if (!selectionLayer) {
21
- console.error(`Layer with id ${updatedLayerId} not found`);
21
+ console.error(`Layer with id ${layerId} not found`);
22
22
  return;
23
23
  }
24
24
 
@@ -57,6 +57,8 @@ const initSelection = (EoxDrawTool, EoxMap, updatedLayerId) => {
57
57
  selectionLayer.interactions = [hoverInteraction, clickInteraction];
58
58
 
59
59
  EoxMap.addOrUpdateLayer(selectionLayer);
60
+ // replace the layer with the new interactions without triggering the map to update
61
+ replaceLayer(EoxMap.layers, layerId, [selectionLayer]);
60
62
 
61
63
  const oldDrawInteraction = EoxDrawTool.draw;
62
64
  EoxDrawTool.draw = EoxMap.selectInteractions["SelectLayerClickInteraction"];
@@ -67,3 +69,30 @@ const initSelection = (EoxDrawTool, EoxMap, updatedLayerId) => {
67
69
  };
68
70
 
69
71
  export default initSelection;
72
+
73
+ /**
74
+ * Removes the layer with the id provided and injects an array of layers in its position
75
+ * @param {import('@eox/map').EoxLayer[]} currentLayers
76
+ * @param {string} oldLayer - id of the layer to be replaced
77
+ * @param {import('@eox/map').EoxLayer[]} newLayers - array of layers to replace the old layer
78
+ */
79
+ function replaceLayer(currentLayers, oldLayer, newLayers) {
80
+ const oldLayerIdx = currentLayers.findIndex(
81
+ (l) => l.properties.id === oldLayer,
82
+ );
83
+
84
+ if (oldLayerIdx !== -1) {
85
+ currentLayers.splice(oldLayerIdx, 1, ...newLayers);
86
+ return currentLayers;
87
+ }
88
+
89
+ for (const l of currentLayers) {
90
+ if (l.type === "Group") {
91
+ const updatedGroupLyrs = replaceLayer(l.layers, oldLayer, newLayers);
92
+ if (updatedGroupLyrs?.length) {
93
+ l.layers = updatedGroupLyrs;
94
+ }
95
+ }
96
+ }
97
+ return currentLayers;
98
+ }
@@ -16,12 +16,15 @@ const onDrawEndMethod = (EoxDrawTool) => {
16
16
  if (EoxDrawTool.continuous) {
17
17
  // the selection event selects the feature after draw ends
18
18
  if (!EoxDrawTool.layerId) {
19
- EoxDrawTool.drawLayer.getSource().clear(true);
19
+ EoxDrawTool.drawLayer.getSource().clear();
20
20
  EoxDrawTool.drawnFeatures = [];
21
21
  } else {
22
22
  const features = EoxDrawTool.drawLayer.getSource().getFeatures();
23
23
  const latest = features.at(-1);
24
- EoxDrawTool.drawLayer.getSource().clear(true);
24
+ EoxDrawTool.drawLayer.getSource().clear();
25
+ if (!latest) {
26
+ return;
27
+ }
25
28
  EoxDrawTool.drawLayer.getSource().addFeature(latest);
26
29
  EoxDrawTool.drawnFeatures = [latest];
27
30
  }
@@ -4,6 +4,7 @@ export default initSelection;
4
4
  *
5
5
  * @param {import('../../main').EOxDrawTools} EoxDrawTool - The drawing tool instance.
6
6
  * @param {import("@eox/map").EOxMap} EoxMap - The map instance.
7
+ * @param {string} layerId - The ID of the layer to initialize selection for.
7
8
  */
8
- declare function initSelection(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: import("@eox/map").EOxMap, updatedLayerId: any): void;
9
+ declare function initSelection(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: import("@eox/map").EOxMap, layerId: string): void;
9
10
  //# sourceMappingURL=init-selection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"init-selection.d.ts","sourceRoot":"","sources":["../../../../../src/methods/draw/init-selection.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,4CAHW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,6BA8DnC"}
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 +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,QA8B3C"}
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"}
@@ -15,13 +15,13 @@ export class EOxMapCompare extends LitElement {
15
15
  };
16
16
  /**
17
17
  * The current position of the comparison slider (0 to 100).
18
- * @type {Number}
18
+ * @type {number}
19
19
  */
20
20
  value: number;
21
21
  /**
22
22
  * Whether the comparison is enabled and which part is visible.
23
23
  * Accepts values: "first", "second", or "true" (default).
24
- * @type {String}
24
+ * @type {string}
25
25
  */
26
26
  enabled: string;
27
27
  render(): import("lit-html").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/compare.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IACE;;;;;;;;;MAKC;IAKC;;;OAGG;IACH,cAAe;IAEf;;;;OAIG;IACH,gBAAqB;IAYvB,+CAsHC;;CACF;2BAhKgC,KAAK"}
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,+CAsHC;;CACF;2BAhKgC,KAAK"}
@@ -24,11 +24,16 @@ export class EOxMapTooltip extends LitElement {
24
24
  /**
25
25
  * A function to transform properties before rendering.
26
26
  *
27
- * @type {Function}
28
27
  * @param {{ key: string; value: unknown }} property
29
28
  * @param {import("ol/Feature").default | import("ol/render/Feature").default} _feature
30
29
  */
31
- propertyTransform: Function;
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
+ };
32
37
  render(): import("lit-html").TemplateResult<1> | typeof nothing;
33
38
  }
34
39
  import { LitElement } from "lit";
@@ -1 +1 @@
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;;;;;;OAMG;IACH,4BAAyD;IAG3D,gEA4BC;CACF;2BA/DyC,KAAK;wBAAL,KAAK"}
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,gEA4BC;CACF;2BA9DyC,KAAK;wBAAL,KAAK"}
@@ -16,12 +16,6 @@ export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingCon
16
16
  * @param {object} options - Options for the control.
17
17
  */
18
18
  export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
19
- /**
20
- * Adds initial controls from web component properties, if any are given.
21
- *
22
- * @param {import("../main").EOxMap} EOxMap - The map instance.
23
- */
24
- export function addInitialControls(EOxMap: import("../main").EOxMap): void;
25
19
  export type ControlDictionary = import("../types").ControlDictionary;
26
20
  export type ControlType = import("../types").ControlType;
27
21
  //# sourceMappingURL=controls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAgBA;;;;;;;;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;AAED;;;;GAIG;AACH,2CAFW,OAAO,SAAS,EAAE,MAAM,QAsClC;gCArGY,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":"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"}
@@ -32,10 +32,10 @@ export default class GeolocationControl extends Control {
32
32
  centerOnPosition(): Promise<void>;
33
33
  }
34
34
  export type GeolocationOptions = import("../types").GeolocationOptions;
35
- import { Control } from "ol/control";
35
+ import Control from "ol/control/Control.js";
36
36
  import Point from "ol/geom/Point";
37
37
  import Feature from "ol/Feature";
38
- import { Vector as VectorSource } from "ol/source";
39
- import { Vector as VectorLayer } from "ol/layer";
38
+ import VectorSource from "ol/source/Vector.js";
39
+ import VectorLayer from "ol/layer/Vector.js";
40
40
  import Geolocation from "ol/Geolocation";
41
41
  //# sourceMappingURL=geo-location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/geo-location.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;IACE;;OAEG;IACH,0BAFW,kBAAkB,EA4E5B;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;iCA9KY,OAAO,UAAU,EAAE,kBAAkB;wBAT1B,YAAY;kBAGlB,eAAe;oBAFb,YAAY;uCAGO,WAAW;sCACZ,UAAU;wBAHxB,gBAAgB"}
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,EA4E5B;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;iCA9KY,OAAO,UAAU,EAAE,kBAAkB;oBAX9B,uBAAuB;kBAGzB,eAAe;oBAFb,YAAY;yBAGP,qBAAqB;wBACtB,oBAAoB;wBAHpB,gBAAgB"}
@@ -16,5 +16,5 @@ export default class LoadingIndicatorControl extends Control {
16
16
  getElement(): HTMLElement;
17
17
  }
18
18
  export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
19
- import { Control } from "ol/control.js";
19
+ import Control from "ol/control/Control.js";
20
20
  //# sourceMappingURL=loading-indicator.d.ts.map
@@ -1 +1 @@
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;wBAH/B,eAAe"}
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"}
@@ -0,0 +1,27 @@
1
+ export default FlatGeoBuf;
2
+ export type FlatGeoBufOptions = import("../../types").FlatGeoBufOptions;
3
+ /**
4
+ * @typedef {import("../../types").FlatGeoBufOptions} FlatGeoBufOptions
5
+ */
6
+ declare class FlatGeoBuf extends Vector<import("ol/Feature").default<import("ol/geom").Geometry>> {
7
+ /**
8
+ * @param {FlatGeoBufOptions} options
9
+ */
10
+ constructor(options: FlatGeoBufOptions);
11
+ ressourceURL: string;
12
+ /**
13
+ * transform an ol extent into FlatGeoBuf-format
14
+ * @param {import("ol/extent").Extent} extent
15
+ * @param {import("ol/proj").Projection} projection
16
+ * @returns
17
+ */
18
+ fgbBoundingBox(extent: import("ol/extent").Extent, projection: import("ol/proj").Projection): {
19
+ minX: number;
20
+ minY: number;
21
+ maxX: number;
22
+ maxY: number;
23
+ };
24
+ loader(extent: import("ol/extent").Extent, resolution: number, projection: import("ol/proj").default, success?: (features: import("ol/Feature").FeatureLike[]) => void, failure?: () => void): void;
25
+ }
26
+ import Vector from "ol/source/Vector.js";
27
+ //# sourceMappingURL=FlatGeoBuf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAWa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAa3B;IAFC,qBAA+B;IAIjC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;0BAkCgsF,WAAa,iDAAiD,SAAsB;CAHtxF;mBA9EkB,qBAAqB"}
@@ -0,0 +1,35 @@
1
+ export default WMTSCapabilities;
2
+ export type WMTSCapabilitiesOptions = import("../../types").WMTSCapabilitiesOptions;
3
+ /**
4
+ * @typedef {import("../../types").WMTSCapabilitiesOptions} WMTSCapabilitiesOptions
5
+ */
6
+ declare class WMTSCapabilities extends TileImage {
7
+ /**
8
+ * Constructs a WMTS capabilities instance and fetches the WMTS capabilities XML from the provided URL.
9
+ *
10
+ * @param {WMTSCapabilitiesOptions} options - Image tile options including URL, layer, and other properties.
11
+ */
12
+ constructor(options: WMTSCapabilitiesOptions);
13
+ version_: string;
14
+ dimensions_: object;
15
+ layer_: string;
16
+ /**
17
+ * Handles the WMTS capabilities XML response by parsing it and setting up the necessary properties.
18
+ *
19
+ * @param {Document} xml - The XML document containing WMTS capabilities.
20
+ * @param {WMTSCapabilitiesOptions} options - Options for WMTS capabilities.
21
+ */
22
+ handleCapabilitiesResponse(xml: Document, options: WMTSCapabilitiesOptions): void;
23
+ requestEncoding_: import("ol/source/WMTS").RequestEncoding;
24
+ matrixSet_: string;
25
+ style_: string;
26
+ format_: string;
27
+ /**
28
+ * Creates a URL function for WMTS tiles based on a template.
29
+ *
30
+ * @param {String} template - The WMTS URL template.
31
+ */
32
+ createFromWMTSTemplate(template: string): (tileCoord: Array<number>) => string | undefined;
33
+ }
34
+ import TileImage from "ol/source/TileImage.js";
35
+ //# sourceMappingURL=WMTSCapabilities.d.ts.map
@@ -0,0 +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 +1 @@
1
- {"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAOA;;;;;;;;;;GAUG;AACH,yCAPW,OAAO,qBAAqB,EAAE,SAAS,GAAG,OAAO,4BAA4B,EAAE,gBAAgB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,CAAA;CAAE,eACnJ,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,WACxB,OAAO,oBACP,OAAO,YACP,OAAO,QAiEjB"}
1
+ {"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAQA;;;;;;;;;;GAUG;AACH,yCAPW,OAAO,qBAAqB,EAAE,SAAS,GAAG,OAAO,4BAA4B,EAAE,gBAAgB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,CAAA;CAAE,eACnJ,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,WACxB,OAAO,oBACP,OAAO,YACP,OAAO,QAiEjB"}
@@ -3,10 +3,11 @@
3
3
  *
4
4
  * @param {import("../main").EOxMap} EOxMap - The map instance.
5
5
  * @param {EoxLayer} layer - The layer definition.
6
- * @param {boolean=} createInteractions - Whether to create interactions for the layer (default: true).
6
+ * @param {boolean} [createInteractions=true] - Whether to create interactions for the layer (default: true).
7
+ * @returns {AnyLayer} - The created OpenLayers layer.
7
8
  * @throws Will throw an error if the specified layer or source type is not supported.
8
9
  */
9
- export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, createInteractions?: boolean | undefined): any;
10
+ export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, createInteractions?: boolean): AnyLayer;
10
11
  /**
11
12
  * Updates an existing layer with a new definition.
12
13
  *
@@ -18,10 +19,10 @@ export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, c
18
19
  * @throws Will throw an error if the new layer is not compatible with the existing one.
19
20
  */
20
21
  export function updateLayer(EOxMap: import("../main").EOxMap, newLayerDefinition: EoxLayer, existingLayer: import("ol/layer/Base").default): import("ol/layer/Base").default;
21
- export function generateLayers(EOxMap: import("../main").EOxMap, layerArray: Array<EoxLayer>): Array<EoxLayer>;
22
+ export function generateLayers(EOxMap: import("../main").EOxMap, layerArray: Array<EoxLayer>): Array<AnyLayer>;
22
23
  export type EOxMap = import("../main").EOxMap;
23
24
  export type AnyLayer = import("../types").AnyLayer;
24
- export type EoxLayer = import("../types").EoxLayer;
25
+ export type EoxLayer = import("../layers").EoxLayer;
25
26
  export type SelectLayer = import("../types").SelectLayer;
26
27
  export type EOxInteraction = import("../types").EOxInteraction;
27
28
  export type DrawOptions = import("../types").DrawOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAmEA;;;;;;;GAOG;AACH,oCALW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,YAAC,OAkGlB;AAyBD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CAkM3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAO3B;qBAlYY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,UAAU,EAAE,QAAQ;uBAC3B,OAAO,UAAU,EAAE,QAAQ;0BAC3B,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":"AAgEA;;;;;;;;GAQG;AACH,oCANW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,GACL,QAAQ,CAwGpB;AAyBD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CAqM3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAO3B;qBA5YY,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 +1 @@
1
- {"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/interactions.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,2CAHW,OAAO,IAAI,EAAE,GAAG,sBAChB,OAAO,QA+BjB;AAED;;;;GAIG;AACH,qDAFW,OAAO,IAAI,EAAE,GAAG,QAc1B"}
1
+ {"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/interactions.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,2CAHW,OAAO,IAAI,EAAE,GAAG,sBAChB,OAAO,QA+BjB;AAED;;;;GAIG;AACH,qDAFW,OAAO,IAAI,EAAE,GAAG,QAc1B"}
@@ -11,7 +11,7 @@
11
11
  export function addSelect(EOxMap: EOxMap, selectLayer: SelectLayer, options: SelectOptions | DrawOptions): EOxSelectInteraction;
12
12
  /**
13
13
  * @typedef {import('../main').EOxMap} EOxMap
14
- * @typedef {import("../types").EoxLayer} EoxLayer
14
+ * @typedef {import("../layers").EoxLayer} EoxLayer
15
15
  * @typedef {import("../types").SelectLayer} SelectLayer
16
16
  * @typedef {import("../types").SelectOptions} SelectOptions
17
17
  * @typedef {import("../types").DrawOptions} DrawOptions
@@ -37,12 +37,12 @@ export class EOxSelectInteraction {
37
37
  /** @type {Array<string|number>} **/
38
38
  selectedFids: Array<string | number>;
39
39
  tooltipElement: Element;
40
- selectStyleLayer: any;
40
+ selectStyleLayer: import("../types").SelectLayer;
41
41
  /**
42
42
  * Listener to handle selection events
43
- * @param {import("ol/MapBrowserEvent").default<UIEvent>} event
43
+ * @param {import("ol/MapBrowserEvent").default} event
44
44
  * **/
45
- listener: (event: import("ol/MapBrowserEvent").default<UIEvent>) => void;
45
+ listener: (event: import("ol/MapBrowserEvent").default) => void;
46
46
  changeSourceListener: () => void;
47
47
  /**
48
48
  * Adds a listener on pointermove
@@ -80,7 +80,7 @@ export class EOxSelectInteraction {
80
80
  getId(feature: Feature | RenderFeature): string | number;
81
81
  }
82
82
  export type EOxMap = import("../main").EOxMap;
83
- export type EoxLayer = import("../types").EoxLayer;
83
+ export type EoxLayer = import("../layers").EoxLayer;
84
84
  export type SelectLayer = import("../types").SelectLayer;
85
85
  export type SelectOptions = import("../types").SelectOptions;
86
86
  export type DrawOptions = import("../types").DrawOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AAsVA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AAnWD;;;;;;GAMG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,eACN,WAAW,WACX,aAAa,EA2NvB;IAxNC,iCAAoB;IACpB,4CAA8B;IAC9B,0CAAsB;IACtB,gBAAwD;IACxD,eAAmC;IACnC,iBAAuD;IACvD,oCAAoC;IACpC,cADW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,CACT;IAUlB,wBAAkD;IA4DtD,sBAA4D;IAuB5D;;;UAGM;IACN,kBAFW,OAAO,oBAAoB,EAAE,OAAO,CAAC,OAAO,CAAC,UAmDvD;IAiBD,iCAEC;IAqBD;;;;OAIG;IACH,sCAgBC;IAIH;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,kCAHW,OAAO,GAAG,aAAa,GAAG,OAAO,WAAW,EAAE,MAAM,yBAU7D;IAEF;;;;OAIG;IACH,mBAHW,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,0BAgChC;IAED;;OAEG;IACH,eAMC;IAED;;;;;OAKG;IACH,eAJW,OAAO,GAAG,aAAa,GACrB,MAAM,GAAG,MAAM,CAoB3B;CACF;qBA1UY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,UAAU,EAAE,QAAQ;0BAC3B,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;oBAXvB,YAAY;0BACN,mBAAmB"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AAyVA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AAtWD;;;;;;GAMG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,eACN,WAAW,WACX,aAAa,EA4NvB;IAzNC,iCAAoB;IACpB,4CAA8B;IAC9B,0CAAsB;IACtB,gBAAwD;IACxD,eAAmC;IACnC,iBAAuD;IACvD,oCAAoC;IACpC,cADW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,CACT;IAUlB,wBAAkD;IA4DtD,iDAEC;IAwBD;;;UAGM;IACN,kBAFW,OAAO,oBAAoB,EAAE,OAAO,UAiD9C;IAiBD,iCAGC;IAoBD;;;;OAIG;IACH,sCAgBC;IAIH;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,kCAHW,OAAO,GAAG,aAAa,GAAG,OAAO,WAAW,EAAE,MAAM,yBAU7D;IAEF;;;;OAIG;IACH,mBAHW,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,0BAkChC;IAED;;OAEG;IACH,eAMC;IAED;;;;;OAKG;IACH,eAJW,OAAO,GAAG,aAAa,GACrB,MAAM,GAAG,MAAM,CAoB3B;CACF;qBA7UY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;oBAXvB,YAAY;0BACN,mBAAmB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import("../types").EoxLayer} EoxLayer
2
+ * @typedef {import("../layers").EoxLayer} EoxLayer
3
3
  * */
4
4
  /**
5
5
  * Generates a tile grid for the specified layer. If the layer's source type is "WMTS",
@@ -10,5 +10,5 @@
10
10
  * @returns {import("ol/tilegrid/WMTS").default | import("ol/tilegrid/TileGrid").default | undefined} - The generated tile grid or `undefined` if not applicable.
11
11
  */
12
12
  export function generateTileGrid(layer: EoxLayer): import("ol/tilegrid/WMTS").default | import("ol/tilegrid/TileGrid").default | undefined;
13
- export type EoxLayer = import("../types").EoxLayer;
13
+ export type EoxLayer = import("../layers").EoxLayer;
14
14
  //# sourceMappingURL=tile-grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tile-grid.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/tile-grid.js"],"names":[],"mappings":"AAKA;;KAEK;AAEL;;;;;;;GAOG;AACH,wCAHW,QAAQ,GACN,OAAO,kBAAkB,EAAE,OAAO,GAAG,OAAO,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAkDnG;uBA3DY,OAAO,UAAU,EAAE,QAAQ"}
1
+ {"version":3,"file":"tile-grid.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/tile-grid.js"],"names":[],"mappings":"AAKA;;KAEK;AAEL;;;;;;;GAOG;AACH,wCAHW,QAAQ,GACN,OAAO,kBAAkB,EAAE,OAAO,GAAG,OAAO,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAkDnG;uBA3DY,OAAO,WAAW,EAAE,QAAQ"}
@@ -0,0 +1,116 @@
1
+ export type OLBasicFormats = {
2
+ GeoJSON: typeof import("ol/format/GeoJSON").default;
3
+ MVT: typeof import("ol/format/MVT").default;
4
+ };
5
+ export type OLAdvancedFormats = {
6
+ EsriJSON: typeof import("ol/format/EsriJSON").default;
7
+ GML: typeof import("ol/format/GML").default;
8
+ GPX: typeof import("ol/format/GPX").default;
9
+ IGC: typeof import("ol/format/IGC").default;
10
+ IIIFInfo: typeof import("ol/format/IIIFInfo").default;
11
+ KML: typeof import("ol/format/KML").default;
12
+ OWS: typeof import("ol/format/OWS").default;
13
+ Polyline: typeof import("ol/format/Polyline").default;
14
+ TopoJSON: typeof import("ol/format/TopoJSON").default;
15
+ WFS: typeof import("ol/format/WFS").default;
16
+ WKB: typeof import("ol/format/WKB").default;
17
+ WKT: typeof import("ol/format/WKT").default;
18
+ WMSCapabilities: typeof import("ol/format/WMSCapabilities").default;
19
+ WMSGetFeatureInfo: typeof import("ol/format/WMSGetFeatureInfo").default;
20
+ WMTSCapabilities: typeof import("ol/format/WMTSCapabilities").default;
21
+ };
22
+ export type OLBasicLayers = {
23
+ Group: typeof import("ol/layer/Group").default;
24
+ Image: typeof import("ol/layer/Image").default;
25
+ Tile: typeof import("ol/layer/Tile").default;
26
+ Vector: typeof import("ol/layer/Vector").default;
27
+ VectorTile: typeof import("ol/layer/VectorTile").default;
28
+ };
29
+ export type OLAdvancedLayers = {
30
+ Graticule: typeof import("ol/layer/Graticule").default;
31
+ Heatmap: typeof import("ol/layer/Heatmap").default;
32
+ Layer: typeof import("ol/layer/Layer").default;
33
+ VectorImage: typeof import("ol/layer/VectorImage").default;
34
+ WebGLPoints: typeof import("ol/layer/WebGLPoints").default;
35
+ WebGLTile: typeof import("ol/layer/WebGLTile").default;
36
+ WebGLVector: typeof import("ol/layer/WebGLVector").default;
37
+ STAC: typeof import("ol-stac").default;
38
+ };
39
+ export type OLBasicSources = {
40
+ ImageWMS: typeof import("ol/source/ImageWMS").default;
41
+ OSM: typeof import("ol/source/OSM").default;
42
+ Tile: typeof import("ol/source/Tile").default;
43
+ TileWMS: typeof import("ol/source/TileWMS").default;
44
+ Vector: typeof import("ol/source/Vector").default;
45
+ VectorTile: typeof import("ol/source/VectorTile").default;
46
+ WMTS: typeof import("ol/source/WMTS").default;
47
+ XYZ: typeof import("ol/source/XYZ").default;
48
+ };
49
+ export type OLAdvancedSources = {
50
+ BingMaps: typeof import("ol/source/BingMaps").default;
51
+ CartoDB: typeof import("ol/source/CartoDB").default;
52
+ Cluster: typeof import("ol/source/Cluster").default;
53
+ DataTile: typeof import("ol/source/DataTile").default;
54
+ GeoTIFF: typeof import("ol/source/GeoTIFF").default;
55
+ Google: typeof import("ol/source/Google").default;
56
+ IIIF: typeof import("ol/source/IIIF").default;
57
+ Image: typeof import("ol/source/Image").default;
58
+ ImageArcGISRest: typeof import("ol/source/ImageArcGISRest").default;
59
+ ImageCanvas: typeof import("ol/source/ImageCanvas").default;
60
+ ImageMapGuide: typeof import("ol/source/ImageMapGuide").default;
61
+ ImageStatic: typeof import("ol/source/ImageStatic").default;
62
+ ImageTile: typeof import("ol/source/ImageTile").default;
63
+ OGCMapTile: typeof import("ol/source/OGCMapTile").default;
64
+ OGCVectorTile: typeof import("ol/source/OGCVectorTile").default;
65
+ Raster: typeof import("ol/source/Raster").default;
66
+ Source: typeof import("ol/source/Source").default;
67
+ StadiaMaps: typeof import("ol/source/StadiaMaps").default;
68
+ TileArcGISRest: typeof import("ol/source/TileArcGISRest").default;
69
+ TileDebug: typeof import("ol/source/TileDebug").default;
70
+ TileImage: typeof import("ol/source/TileImage").default;
71
+ TileJSON: typeof import("ol/source/TileJSON").default;
72
+ UrlTile: typeof import("ol/source/UrlTile").default;
73
+ UTFGrid: typeof import("ol/source/UTFGrid").default;
74
+ Zoomify: typeof import("ol/source/Zoomify").default;
75
+ WMTSCapabilities: typeof import("./custom/sources/WMTSCapabilities").default;
76
+ FlatGeoBuf: typeof import("./custom/sources/FlatGeoBuf").default;
77
+ };
78
+ export type OLSources = OLBasicSources & OLAdvancedSources;
79
+ export type OLLayers = OLBasicLayers & OLAdvancedLayers;
80
+ export type OLFormats = OLBasicFormats & OLAdvancedFormats;
81
+ export type EOxFormatType<F extends keyof OLFormats> = F | ({
82
+ type: F;
83
+ } & ConstructorParameters<OLFormats[F]>[0]);
84
+ export type EOxFormat = EOxFormatType<"EsriJSON"> | EOxFormatType<"GeoJSON"> | EOxFormatType<"GML"> | EOxFormatType<"GPX"> | EOxFormatType<"IGC"> | EOxFormatType<"KML"> | EOxFormatType<"MVT"> | EOxFormatType<"OWS"> | EOxFormatType<"TopoJSON"> | EOxFormatType<"WFS"> | EOxFormatType<"WKT"> | EOxFormatType<"WMSCapabilities"> | EOxFormatType<"WMSGetFeatureInfo"> | EOxFormatType<"WMTSCapabilities"> | EOxFormatType<"Polyline"> | EOxFormatType<"IIIFInfo"> | EOxFormatType<"WKB">;
85
+ type OlSourceOption<S extends keyof OLSources> = Omit<ConstructorParameters<OLSources[S]>[0], "map" | "layer">;
86
+ type OlLayerOption<T extends keyof OLLayers> = Omit<Omit<ConstructorParameters<OLLayers[T]>[0], "properties">, "source" | "layers" | "map">;
87
+ type EoxSource<S extends keyof OLSources> = (S extends "WMTS" ? OlSourceOption<S> : OlSourceOption<S> extends {
88
+ format?: any;
89
+ } ? Omit<OlSourceOption<S>, "format"> & {
90
+ format?: EOxFormat;
91
+ } : OlSourceOption<S> extends {
92
+ source?: any;
93
+ } ? Omit<OlSourceOption<S>, "source"> & {
94
+ source?: EoxSource<keyof OLSources>;
95
+ } : OlSourceOption<S>) & {
96
+ type: S;
97
+ };
98
+ export type EOxLayerType<T extends keyof OLLayers, S extends keyof OLSources> = (OlLayerOption<T> extends {
99
+ sources?: any;
100
+ } ? Omit<OlLayerOption<T>, "sources"> & {
101
+ sources?: EoxSource<S>[];
102
+ } : OlLayerOption<T>) & {
103
+ type: T;
104
+ properties?: {
105
+ id: string;
106
+ [key: string]: any;
107
+ };
108
+ source?: EoxSource<S>;
109
+ interactions?: T extends "Vector" | "VectorTile" ? Array<import("./types").EOxInteraction> : never;
110
+ };
111
+ export type EOxLayerTypeGroup = Omit<EOxLayerType<"Group", keyof OLSources>, "layers"> & {
112
+ layers: EoxLayer[];
113
+ };
114
+ export type EoxLayer = EOxLayerType<"Vector", "Vector"> | EOxLayerType<"Vector", "FlatGeoBuf"> | EOxLayerType<"Vector", "Cluster"> | EOxLayerType<"VectorTile", "VectorTile"> | EOxLayerType<"WebGLTile", "GeoTIFF"> | EOxLayerType<"Tile", "OSM"> | EOxLayerType<"Tile", "WMTSCapabilities"> | EOxLayerType<"Tile", "StadiaMaps"> | EOxLayerType<"Tile", "WMTS"> | EOxLayerType<"Tile", "XYZ"> | EOxLayerType<"Tile", "TileJSON"> | EOxLayerType<"Tile", "TileArcGISRest"> | EOxLayerType<"Tile", "TileDebug"> | EOxLayerType<"Tile", "TileImage"> | EOxLayerType<"Tile", "TileWMS"> | EOxLayerType<"Tile", "UrlTile"> | EOxLayerType<"Tile", "BingMaps"> | EOxLayerType<"Image", "Image"> | EOxLayerType<"Image", "ImageCanvas"> | EOxLayerType<"Image", "ImageStatic"> | EOxLayerType<"Image", "ImageWMS"> | EOxLayerType<"Image", "Raster"> | EOxLayerType<"Image", "IIIF"> | EOxLayerTypeGroup;
115
+ export {};
116
+ //# sourceMappingURL=layers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layers.d.ts","sourceRoot":"","sources":["../../../../map/src/layers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,cAAc,mBAAmB,EAAE,OAAO,CAAC;IACpD,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,cAAc,oBAAoB,EAAE,OAAO,CAAC;IACtD,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,QAAQ,EAAE,cAAc,oBAAoB,EAAE,OAAO,CAAC;IACtD,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,QAAQ,EAAE,cAAc,oBAAoB,EAAE,OAAO,CAAC;IACtD,QAAQ,EAAE,cAAc,oBAAoB,EAAE,OAAO,CAAC;IACtD,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,GAAG,EAAE,cAAc,eAAe,EAAE,OAAO,CAAC;IAC5C,eAAe,EAAE,cAAc,2BAA2B,EAAE,OAAO,CAAC;IACpE,iBAAiB,EAAE,cAAc,6BAA6B,EAAE,OAAO,CAAC;IACxE,gBAAgB,EAAE,cAAc,4BAA4B,EAAE,OAAO,CAAC;CACvE,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,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EAAE,aAAa,CAAC,GACpC,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,GACjC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,GAC7B,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import("./types").EoxLayer} EoxLayer
2
+ * @typedef {import("./layers").EoxLayer} EoxLayer
3
3
  * @typedef {import("./types").EOxAnimationOptions} EOxAnimationOptions
4
4
  * @typedef {import("./types").ControlDictionary} ControlDictionary
5
5
  * @typedef {import("./types").ConfigObject} ConfigObject
@@ -171,9 +171,9 @@ export class EOxMap extends LitElement {
171
171
  /**
172
172
  * Gets the current map controls.
173
173
  *
174
- * @returns {Object} The current controls applied to the map.
174
+ * @returns {ControlDictionary} The current controls applied to the map.
175
175
  */
176
- get controls(): any;
176
+ get controls(): ControlDictionary;
177
177
  /**
178
178
  * Sets the layers for the map.
179
179
  *
@@ -189,13 +189,13 @@ export class EOxMap extends LitElement {
189
189
  /**
190
190
  * Enables or disables scroll interactions on the map.
191
191
  *
192
- * @param {Boolean} preventScroll - Whether to prevent scroll interactions.
192
+ * @param {boolean} preventScroll - Whether to prevent scroll interactions.
193
193
  */
194
194
  set preventScroll(preventScroll: boolean);
195
195
  /**
196
196
  * Gets the current scroll interaction state.
197
197
  *
198
- * @returns {Boolean} `true` if scroll interactions are prevented, `false` otherwise.
198
+ * @returns {boolean} `true` if scroll interactions are prevented, `false` otherwise.
199
199
  */
200
200
  get preventScroll(): boolean;
201
201
  /**
@@ -320,7 +320,7 @@ export class EOxMap extends LitElement {
320
320
  render(): import("lit-html").TemplateResult<1>;
321
321
  #private;
322
322
  }
323
- export type EoxLayer = import("./types").EoxLayer;
323
+ export type EoxLayer = import("./layers").EoxLayer;
324
324
  export type EOxAnimationOptions = import("./types").EOxAnimationOptions;
325
325
  export type ControlDictionary = import("./types").ControlDictionary;
326
326
  export type ConfigObject = import("./types").ConfigObject;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../map/src/main.js"],"names":[],"mappings":"AAsCA;;;;;;;KAOK;AAEL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaC;IA8EC;;;;OAIG;IACH,KAFU,OAAO,QAAQ,EAAE,OAAO,CAUhC;IAEF;;;;OAIG;IACH;;MAAsB;IAEtB;;;;OAIG;IACH;;MAA4B;IAE5B;;;;OAIG;IACH;;MAAqB;IAGvB;;;;OAIG;IACH,mBAFW,KAAK,CAAC,MAAM,CAAC,EAQvB;IAED;;;;OAIG;IACH,cAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;IAED;;;;OAIG;IACH,oBAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;IAED;;;;OAIG;IACH,oBAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;IAED;;;;OAIG;IACH,eAFW,MAAM,EAMhB;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,uBAFW,OAAO,WAAW,EAAE,MAAM,EAIpC;IAED;;;;OAIG;IACH,uBAFW,iBAAiB,EAI3B;IAED;;;;OAIG;IACH,oBAEC;IAED;;;;OAIG;IACH,mBAFW,KAAK,CAAC,QAAQ,CAAC,EAIzB;IAED;;;;OAIG;IACH,cAFa,KAAK,CAAC,QAAQ,CAAC,CAI3B;IAED;;;;OAIG;IACH,0CAEC;IAED;;;;OAIG;IACH,6BAEC;IAED;;;;OAIG;IACH,mBAFW,YAAY,EAItB;IAED;;;;OAIG;IACH,cAFa,YAAY,CAIxB;IAED;;;;OAIG;IACH,uCAFW,mBAAmB,EAI7B;IAED;;;;OAIG;IACH,wBAFa,mBAAmB,CAI/B;IAED;;;;OAIG;IACH,2BAFW,cAAc,EAIxB;IAED;;;;OAIG;IACH,kBAFa,cAAc,CAI1B;IAED;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GG;IACH,qBAEC;IAED;;;;OAIG;IACH,uBAA4B;IAE5B;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,8DAAwD;IAExD;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,4BAAsB;IAEtB;;OAEG;IACH,wCAAkC;IAElC;;OAEG;IACH,sBAAgB;IAGhB,+CAeC;;CACF;uBAreY,OAAO,UAAU,EAAE,QAAQ;kCAC3B,OAAO,SAAS,EAAE,mBAAmB;gCACrC,OAAO,SAAS,EAAE,iBAAiB;2BACnC,OAAO,SAAS,EAAE,YAAY;6BAC9B,OAAO,SAAS,EAAE,cAAc;iCAChC,OAAO,SAAS,EAAE,kBAAkB;2BA1ChB,KAAK;mCAgB/B,WAAW;2CAAX,WAAW;mCAAX,WAAW;mCAAX,WAAW;0BAAX,WAAW;gCAAX,WAAW;uBAXK,WAAW"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import("../../types").EoxLayer} EoxLayer
2
+ * @typedef {import("../../layers").EoxLayer} EoxLayer
3
3
  * */
4
4
  /**
5
5
  * Adds a new layer to the map or updates an existing layer based on the provided JSON data.
@@ -9,5 +9,5 @@
9
9
  * @returns {Object} - The newly created or updated layer object.
10
10
  */
11
11
  export default function addOrUpdateLayerMethod(json: EoxLayer, EOxMap: import("../../main").EOxMap): any;
12
- export type EoxLayer = import("../../types").EoxLayer;
12
+ export type EoxLayer = import("../../layers").EoxLayer;
13
13
  //# sourceMappingURL=add-update-layer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-update-layer.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/add-update-layer.js"],"names":[],"mappings":"AAEA;;KAEK;AAEL;;;;;;GAMG;AACH,qDAJW,QAAQ,UACR,OAAO,YAAY,EAAE,MAAM,OA0BrC;uBAjCY,OAAO,aAAa,EAAE,QAAQ"}
1
+ {"version":3,"file":"add-update-layer.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/add-update-layer.js"],"names":[],"mappings":"AAEA;;KAEK;AAEL;;;;;;GAMG;AACH,qDAJW,QAAQ,UACR,OAAO,YAAY,EAAE,MAAM,OA0BrC;uBAjCY,OAAO,cAAc,EAAE,QAAQ"}