@eox/layercontrol 0.28.2-dev.1737128144.0 → 0.29.1
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-layercontrol.js +770 -778
- package/dist/eox-layercontrol.umd.cjs +55 -55
- package/package.json +5 -3
- package/src/components/add-layers.js +1 -1
- package/src/components/layer-group.js +3 -1
- package/src/components/layer-tools.js +1 -3
- package/src/helpers/clean-json-input.js +0 -1
- package/src/helpers/get-start-vals.js +0 -3
- package/src/main.js +1 -1
- package/src/methods/layer-config/apply-updated-styles.js +1 -0
- package/src/methods/layercontrol/first-update.js +10 -4
- package/types/layercontrol/src/components/add-layers.d.ts +2 -2
- package/types/layercontrol/src/components/add-layers.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-config.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-group.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-list.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer.d.ts.map +1 -1
- package/types/layercontrol/src/components/tools-items.d.ts.map +1 -1
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/filter-layers.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts +1 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/main.d.ts +2 -2
- package/types/layercontrol/src/main.d.ts.map +1 -1
- package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +1 -1
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts +1 -1
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +1 -1
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts +2 -2
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +1 -1
- package/types/map/src/controls/controls.d.ts +2 -2
- package/types/map/src/controls/controls.d.ts.map +1 -1
- package/types/map/src/controls/geo-location.d.ts +2 -2
- package/types/map/src/controls/geo-location.d.ts.map +1 -1
- package/types/map/src/controls/loading-indicator.d.ts +2 -2
- package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
- package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
- package/types/map/src/helpers/center.d.ts.map +1 -1
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -1
- package/types/map/src/helpers/draw.d.ts +6 -6
- package/types/map/src/helpers/draw.d.ts.map +1 -1
- package/types/map/src/helpers/generate.d.ts +9 -8
- package/types/map/src/helpers/generate.d.ts.map +1 -1
- package/types/map/src/helpers/layer.d.ts +5 -5
- package/types/map/src/helpers/layer.d.ts.map +1 -1
- package/types/map/src/helpers/parse-feature.d.ts.map +1 -1
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -1
- package/types/map/src/helpers/register-projection.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +11 -11
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/helpers/tile-grid.d.ts +2 -2
- package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
- package/types/map/src/helpers/transform.d.ts +2 -2
- package/types/map/src/helpers/transform.d.ts.map +1 -1
- package/types/map/src/main.d.ts +26 -26
- package/types/map/src/main.d.ts.map +1 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
- package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
- package/types/map/src/methods/map/getters.d.ts.map +1 -1
- package/types/map/src/methods/map/setters.d.ts +12 -12
- package/types/map/src/methods/map/setters.d.ts.map +1 -1
- package/types/map/{types.d.ts → src/types.d.ts} +13 -2
- package/types/map/src/types.d.ts.map +1 -0
- package/types/map/types.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eox/layercontrol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@eox/map": "^1.16.0",
|
|
7
|
+
"@types/lodash.throttle": "^4.1.9",
|
|
7
8
|
"@types/sortablejs": "^1.15.1",
|
|
8
|
-
"ol": "^10.
|
|
9
|
+
"ol": "^10.4.0",
|
|
9
10
|
"vite": "^6.0.3"
|
|
10
11
|
},
|
|
11
12
|
"engines": {
|
|
@@ -30,7 +31,8 @@
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
"scripts": {
|
|
33
|
-
"
|
|
34
|
+
"types:generate": "tsc --project tsconfig.build.json || true",
|
|
35
|
+
"prepack": "npm run types:generate",
|
|
34
36
|
"build": "vite build",
|
|
35
37
|
"watch": "vite build --watch"
|
|
36
38
|
},
|
|
@@ -109,7 +109,9 @@ export class EOxLayerControlLayerGroup extends LitElement {
|
|
|
109
109
|
// Check if the group should be open based on a specific control property
|
|
110
110
|
const groupOpen = Boolean(this.group?.get("layerControlExpand"));
|
|
111
111
|
const numberOfChildLayers = hideLayersBasedOnProperties(
|
|
112
|
-
|
|
112
|
+
/** @type import("ol").Collection<import("ol/layer").Layer> */ (
|
|
113
|
+
this.group.getLayers()
|
|
114
|
+
),
|
|
113
115
|
)?.length;
|
|
114
116
|
|
|
115
117
|
return html`
|
|
@@ -174,10 +174,8 @@ export class EOxLayerControlLayerTools extends LitElement {
|
|
|
174
174
|
const tools = _parseTools(this.tools, this.layer);
|
|
175
175
|
|
|
176
176
|
// Determine the single action element if only one action is present
|
|
177
|
-
// @ts-expect-error TODO
|
|
178
177
|
const singleActionEle = this[`_${actions?.[0]}Button`]
|
|
179
|
-
?
|
|
180
|
-
this[`_${actions?.[0]}Button`]()
|
|
178
|
+
? this[`_${actions?.[0]}Button`]()
|
|
181
179
|
: nothing;
|
|
182
180
|
|
|
183
181
|
// Determine icon class based on the number of tools
|
|
@@ -13,7 +13,6 @@ export function getNestedStartVals(schema, nestedValues) {
|
|
|
13
13
|
|
|
14
14
|
// Extract startVal based on type
|
|
15
15
|
if (type && type !== "object") {
|
|
16
|
-
// @ts-expect-error TODO
|
|
17
16
|
startVals[key] =
|
|
18
17
|
type === "number" ? Number(nestedValues[key]) : nestedValues[key];
|
|
19
18
|
} else if (typeof schema[key] === "object" && schema[key]?.properties) {
|
|
@@ -23,7 +22,6 @@ export function getNestedStartVals(schema, nestedValues) {
|
|
|
23
22
|
nestedValues,
|
|
24
23
|
);
|
|
25
24
|
if (Object.keys(nestedStartVals).length > 0) {
|
|
26
|
-
// @ts-expect-error TODO
|
|
27
25
|
startVals[key] = nestedStartVals;
|
|
28
26
|
}
|
|
29
27
|
}
|
|
@@ -60,7 +58,6 @@ export function getStartVals(layer, layerConfig) {
|
|
|
60
58
|
const url = new URL(layer.getSource().getTileUrlFunction()([0, 0, 0]));
|
|
61
59
|
|
|
62
60
|
// Retrieve startVals based on schema and query parameters
|
|
63
|
-
// @ts-expect-error TODO
|
|
64
61
|
nestedValues = Object.fromEntries(url.searchParams.entries());
|
|
65
62
|
} else return null;
|
|
66
63
|
|
package/src/main.js
CHANGED
|
@@ -82,6 +82,7 @@ function updateVectorLayerStyle(styles) {
|
|
|
82
82
|
for (const key in variables) {
|
|
83
83
|
// ol styles expects numbers to be assigned as typeof number
|
|
84
84
|
if (typeof variables[key] === "number") {
|
|
85
|
+
//@ts-expect-error assigning number to string
|
|
85
86
|
rawStyle = rawStyle.replaceAll(`["var","${key}"]`, variables[key]);
|
|
86
87
|
} else {
|
|
87
88
|
// replace all styles variables set of the specific key with the variables value
|
|
@@ -5,18 +5,24 @@ import { getElement } from "@eox/elements-utils";
|
|
|
5
5
|
* Updates the EOxLayerControl's map property based on the target element's map.
|
|
6
6
|
*
|
|
7
7
|
* @param {import("../../main").EOxLayerControl} EOxLayerControl - The EOxLayerControl element.
|
|
8
|
-
* @returns {import("@eox/map
|
|
8
|
+
* @returns {import("@eox/map").EOxMap | null} The EOxMap element or null if not found.
|
|
9
9
|
*/
|
|
10
10
|
const firstUpdatedMethod = (EOxLayerControl) => {
|
|
11
11
|
const foundElement = getElement(EOxLayerControl.for);
|
|
12
12
|
|
|
13
13
|
// Check if the element exists and its map property differs from EOxLayerControl.map
|
|
14
|
-
if (
|
|
14
|
+
if (
|
|
15
|
+
foundElement &&
|
|
16
|
+
/** @type {import("@eox/map").EOxMap} */ (foundElement).map !==
|
|
17
|
+
EOxLayerControl.map
|
|
18
|
+
) {
|
|
15
19
|
// Update the EOxLayerControl's map property
|
|
16
|
-
EOxLayerControl.map =
|
|
20
|
+
EOxLayerControl.map = /** @type {import("@eox/map").EOxMap} */ (
|
|
21
|
+
foundElement
|
|
22
|
+
).map;
|
|
17
23
|
}
|
|
18
24
|
|
|
19
|
-
return foundElement;
|
|
25
|
+
return /** @type {import("@eox/map").EOxMap} */ (foundElement);
|
|
20
26
|
};
|
|
21
27
|
|
|
22
28
|
export default firstUpdatedMethod;
|
|
@@ -54,9 +54,9 @@ export class EOxLayerControlAddLayers extends LitElement {
|
|
|
54
54
|
/**
|
|
55
55
|
* Instance of `eox-map` which is a wrapper for the OL
|
|
56
56
|
*
|
|
57
|
-
* @type {import("@eox/map
|
|
57
|
+
* @type {import("@eox/map").EOxMap}
|
|
58
58
|
*/
|
|
59
|
-
eoxMap:
|
|
59
|
+
eoxMap: import("@eox/map").EOxMap;
|
|
60
60
|
/**
|
|
61
61
|
* Render the element without additional styles
|
|
62
62
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-layers.d.ts","sourceRoot":"","sources":["../../../../src/components/add-layers.js"],"names":[],"mappings":"AAaA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;;;MAIE;IAEF;;;;OAIG;IACH,iBAAgB;IAEhB;;;;OAIG;IACH,kBAAiB;IAEjB;;;;OAIG;IACH,MAFU,KAAK,GAAG,MAAM,GAAG,IAAI,CAEnB;IAEZ;;;;OAIG;IACH,oBAAmB;IAEnB;;;;OAIG;IACH,iBAFU,OAAO,kBAAkB,EAAE,mBAAmB,CAEjC;IAKrB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"add-layers.d.ts","sourceRoot":"","sources":["../../../../src/components/add-layers.js"],"names":[],"mappings":"AAaA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;;;MAIE;IAEF;;;;OAIG;IACH,iBAAgB;IAEhB;;;;OAIG;IACH,kBAAiB;IAEjB;;;;OAIG;IACH,MAFU,KAAK,GAAG,MAAM,GAAG,IAAI,CAEnB;IAEZ;;;;OAIG;IACH,oBAAmB;IAEnB;;;;OAIG;IACH,iBAFU,OAAO,kBAAkB,EAAE,mBAAmB,CAEjC;IAKrB;;;;OAIG;IACH,QAFU,OAAO,UAAU,EAAE,MAAM,CAEjB;IAElB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAiEvB;;;OAGG;IACH,+CAgHC;;CAgJF;2BA7ZyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-config.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-config.js"],"names":[],"mappings":"AAOA;;;;;IAKI;AAEJ;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;MAKE;IA0BA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;;;;;;OAUG;IACH,aARU;
|
|
1
|
+
{"version":3,"file":"layer-config.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-config.js"],"names":[],"mappings":"AAOA;;;;;IAKI;AAEJ;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;MAKE;IA0BA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;;;;;;OAUG;IACH,aARU;QACN,MAAM,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,CAAC;QAC3B,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;QAC3B,KAAK,CAAC,EAAE,OAAO,oBAAoB,EAAE,KAAK,CAAA;QAC1C,MAAM,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;KAC/C,CAEkB;IAEvB;;OAEG;IACH,8DAqBW;QAAE,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;SAAE,CAAC;KAAE,WArBuB;IA+DnE;;OAEG;IACH,+CAgDC;;CAYF;gCAnNY,OAAO,CAAC,OAAO,gBAAgB,EAAE,YAAY,CAAC,GAAG;IACvD,OAAO,CAAC,EAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAA,KAAK,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;KAAC,CAAA;IACnD,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAC1B;2BAX+B,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-datetime.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-datetime.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;;;;;;;OAWG;IACH,eATU;
|
|
1
|
+
{"version":3,"file":"layer-datetime.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-datetime.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;;;;;;;OAWG;IACH,eATU;QACL,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,WAAW,EAAE,MAAM,GAAC,MAAM,CAAC;QAC3B,aAAa,EAAE,CAAC,MAAM,GAAC,MAAM,CAAC,EAAE,CAAC;QACjC,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAEqB;IAEzB;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IA+BnB;;OAEG;IACH,+CA+BC;;CAIF;2BA9HgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-group.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-group.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,
|
|
1
|
+
{"version":3,"file":"layer-group.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-group.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAY1B;;OAEG;IACH,+CAsDC;;CA4BF;2BA7LyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-legend.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-legend.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;IAcI;AAEJ;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAcnB;;;;QAII;IACJ,
|
|
1
|
+
{"version":3,"file":"layer-legend.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-legend.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;IAcI;AAEJ;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAcnB;;;;QAII;IACJ,uBAHW,YAAY,GAAG,YAAY,EAAE,EAiBvC;IA5BD,mBAWW,YAAY,GAAG,YAAY,EAAE,CAHvC;IA6BD,qBAYC;IAED;;OAEG;IACH,+CA2CC;;CAgBF;;;;2BAzKY;IACR,MAAM,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IAClE,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,KAAK,EAAC,MAAM,EAAE,CAAC;IACf,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,UAAU,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC3E,KAAK,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACjE,UAAU,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC3E,SAAS,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAA;IACzE,QAAQ,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAA;CACxE;2BAhB2C,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-list.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-list.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAKA;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,QAHU,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC,CAGpE;IAElB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,OAFU,
|
|
1
|
+
{"version":3,"file":"layer-list.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-list.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAKA;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,QAHU,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC,CAGpE;IAElB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAED;IAEtB;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAG1B;;OAEG;IACH,qBAEC;IASD;;;OAGG;IACH,+CA8DC;;CA+BF;2BA/MgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;MAME;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,OAFU,
|
|
1
|
+
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;MAME;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAW1B,2DAAyC;IAGzC,yDAA8C;IAE9C;;;;;;OAMG;IACH,gBAHW,MAAM,KACJ,OAAO,KAAK,EAAE,kBAAkB,CAEG;IAEhD,6DAoEE;IAEF,+CA2DC;;CA8HF;2BAnWyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../src/components/layer.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASE;IAEF;;;;OAIG;IACH,wCAAsC;IAKpC;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,
|
|
1
|
+
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../src/components/layer.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASE;IAEF;;;;OAIG;IACH,wCAAsC;IAKpC;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAoB1B;;;OAGG;IACH,qBAEC;IAWD;;;;OAIG;IACH,+CAkEC;;CA+DF;2BAxQgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools-items.d.ts","sourceRoot":"","sources":["../../../../src/components/tools-items.js"],"names":[],"mappings":"AAIA;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;OAIG;IACH,SAFU,
|
|
1
|
+
{"version":3,"file":"tools-items.d.ts","sourceRoot":"","sources":["../../../../src/components/tools-items.js"],"names":[],"mappings":"AAIA;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;OAIG;IACH,SAFU,KAAK,QAAQ,CAEN;IAEjB,oBAAoB;IAEpB;;;;OAIG;IACH,MAFU,KAAK,QAAQ,CAET;IAEd;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAc1B;;;OAGG;IACH,+CA2EC;;CAiEF;2BAnNgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAkBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAkBA,gCACE,gDAAgD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuBE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5IF,gCACE,gFAAgF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLnF;;;;;;;;;;EA2DE;0BArPwB,6BAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-json-input.d.ts","sourceRoot":"","sources":["../../../../src/helpers/clean-json-input.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6CAHW,MAAM,GACL,MAAM,
|
|
1
|
+
{"version":3,"file":"clean-json-input.d.ts","sourceRoot":"","sources":["../../../../src/helpers/clean-json-input.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6CAHW,MAAM,GACL,MAAM,CAuBjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-capabilities.d.ts","sourceRoot":"","sources":["../../../../src/helpers/fetch-capabilities.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,uDAHW,MAAM,GACJ,
|
|
1
|
+
{"version":3,"file":"fetch-capabilities.d.ts","sourceRoot":"","sources":["../../../../src/helpers/fetch-capabilities.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,uDAHW,MAAM,GACJ,OAAO,CAAC,OAAO,kBAAkB,EAAE,mBAAmB,CAAC,CAuBnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-layers.d.ts","sourceRoot":"","sources":["../../../../src/helpers/filter-layers.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,6CALW,GAAG,EAAE,OACL,MAAM,SACN,GAAG,GACD,
|
|
1
|
+
{"version":3,"file":"filter-layers.d.ts","sourceRoot":"","sources":["../../../../src/helpers/filter-layers.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,6CALW,GAAG,EAAE,OACL,MAAM,SACN,GAAG,GACD,KAAK,CAAC,OAAO,UAAU,EAAE,KAAK,CAAC,CAsC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AACA;;;;;GAKG;AACH,+CAHW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,
|
|
1
|
+
{"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AACA;;;;;GAKG;AACH,+CAHW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,uDA0DhC"}
|
|
@@ -17,5 +17,5 @@ export function getNestedStartVals(schema: {
|
|
|
17
17
|
* @param {import("../components/layer-config").EOxLayerControlLayerConfig['layerConfig']} layerConfig - Configuration object for the layer.
|
|
18
18
|
* @returns {object | null} - Object containing the startVals or null if not found.
|
|
19
19
|
*/
|
|
20
|
-
export function getStartVals(layer: import("ol/layer").Layer, layerConfig: import("../components/layer-config").EOxLayerControlLayerConfig[
|
|
20
|
+
export function getStartVals(layer: import("ol/layer").Layer, layerConfig: import("../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]): object | null;
|
|
21
21
|
//# sourceMappingURL=get-start-vals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,CAwBlB;AAED;;;;;;GAMG;AACH,oCAJW,OAAO,UAAU,EAAE,KAAK,eACxB,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,GAC5E,MAAM,GAAG,IAAI,CAiCzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/helpers/layer-tools.js"],"names":[],"mappings":"AASO,qCAJI,
|
|
1
|
+
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/helpers/layer-tools.js"],"names":[],"mappings":"AASO,qCAJI,KAAK,CAAC,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,KAAK,CAAC,MAAM,CAAC,CAQzB;AASM,mCAJI,KAAK,CAAC,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,KAAK,CAAC,MAAM,CAAC,CAWtB;AASG,6BAJI,MAAM,YACN,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAI5C;AAQM,wDAHI,OAAO,2BAA2B,EAAE,yBAAyB,GAC3D,OAAO,KAAK,EAAE,kBAAkB,CAmB5C;AAQM,qCAHI,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAM5C"}
|
|
@@ -139,8 +139,8 @@ export class EOxLayerControl extends LitElement {
|
|
|
139
139
|
* Updated #eoxMap after first update.
|
|
140
140
|
*/
|
|
141
141
|
firstUpdated(): void;
|
|
142
|
-
set eoxMap(value: import("
|
|
143
|
-
get eoxMap(): import("
|
|
142
|
+
set eoxMap(value: import("@eox/map").EOxMap);
|
|
143
|
+
get eoxMap(): import("@eox/map").EOxMap;
|
|
144
144
|
updated(changedProperties: any): void;
|
|
145
145
|
render(): import("lit-html").TemplateResult<1>;
|
|
146
146
|
#private;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAaA;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAaA;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,KAAK,QAAQ,CAEiD;IAExE;;;;OAIG;IACH,2BAA8B;IAE9B;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,sBAAuB;IAEvB;;;;OAIG;IACH,qBAAwB;IAG1B;;;OAGG;IACH,qBAEC;IAYD,6CAIC;IARD,wCAEC;IARD,sCAIC;IA8CD,+CA4DC;;CAwBF;2BAlSgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms-search-url.d.ts","sourceRoot":"","sources":["../../../../../src/methods/add-layer/wms-search-url.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,+DAHW,OAAO,6BAA6B,EAAE,wBAAwB,GAC7D,
|
|
1
|
+
{"version":3,"file":"wms-search-url.d.ts","sourceRoot":"","sources":["../../../../../src/methods/add-layer/wms-search-url.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,+DAHW,OAAO,6BAA6B,EAAE,wBAAwB,GAC7D,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,CAoC5C"}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* @param { import("ol/layer/Layer").default} layer
|
|
4
4
|
* @param { import("../../components/layer-config").EOxLayerControlLayerConfig['layerConfig']} layerConfig
|
|
5
5
|
* */
|
|
6
|
-
export default function _default(jsonformOutput: Record<string, number>, layer: import("ol/layer/Layer").default, layerConfig: import("../../components/layer-config").EOxLayerControlLayerConfig[
|
|
6
|
+
export default function _default(jsonformOutput: Record<string, number>, layer: import("ol/layer/Layer").default, layerConfig: import("../../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]): void;
|
|
7
7
|
export function flattenObject(obj: Record<string, any>): Record<string, any>;
|
|
8
8
|
//# sourceMappingURL=apply-updated-styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-updated-styles.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layer-config/apply-updated-styles.js"],"names":[],"mappings":"AAAA;;;;KAIK;AACL,iDAJW,
|
|
1
|
+
{"version":3,"file":"apply-updated-styles.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layer-config/apply-updated-styles.js"],"names":[],"mappings":"AAAA;;;;KAIK;AACL,iDAJW,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,SACpB,OAAO,gBAAgB,EAAE,OAAO,eAChC,OAAO,+BAA+B,EAAE,0BAA0B,CAAC,aAAa,CAAC,QA+B5F;AAKM,mCAFI,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA0B5B"}
|
|
@@ -4,7 +4,7 @@ export default firstUpdatedMethod;
|
|
|
4
4
|
* Updates the EOxLayerControl's map property based on the target element's map.
|
|
5
5
|
*
|
|
6
6
|
* @param {import("../../main").EOxLayerControl} EOxLayerControl - The EOxLayerControl element.
|
|
7
|
-
* @returns {import("@eox/map
|
|
7
|
+
* @returns {import("@eox/map").EOxMap | null} The EOxMap element or null if not found.
|
|
8
8
|
*/
|
|
9
|
-
declare function firstUpdatedMethod(EOxLayerControl: import("../../main").EOxLayerControl):
|
|
9
|
+
declare function firstUpdatedMethod(EOxLayerControl: import("../../main").EOxLayerControl): import("@eox/map").EOxMap | null;
|
|
10
10
|
//# sourceMappingURL=first-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layercontrol/first-update.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,qDAHW,OAAO,YAAY,EAAE,eAAe,GAClC,
|
|
1
|
+
{"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layercontrol/first-update.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,qDAHW,OAAO,YAAY,EAAE,eAAe,GAClC,OAAO,UAAU,EAAE,MAAM,GAAG,IAAI,CAkB5C"}
|
|
@@ -22,6 +22,6 @@ export function addControl(EOxMap: import("../main").EOxMap, type: ControlType,
|
|
|
22
22
|
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
23
23
|
*/
|
|
24
24
|
export function addInitialControls(EOxMap: import("../main").EOxMap): void;
|
|
25
|
-
export type ControlDictionary = import("
|
|
26
|
-
export type ControlType = import("
|
|
25
|
+
export type ControlDictionary = import("../types").ControlDictionary;
|
|
26
|
+
export type ControlType = import("../types").ControlType;
|
|
27
27
|
//# 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,
|
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../types").GeolocationOptions} GeolocationOptions
|
|
3
3
|
*/
|
|
4
4
|
export default class GeolocationControl extends Control {
|
|
5
5
|
/**
|
|
@@ -31,7 +31,7 @@ export default class GeolocationControl extends Control {
|
|
|
31
31
|
*/
|
|
32
32
|
centerOnPosition(): Promise<void>;
|
|
33
33
|
}
|
|
34
|
-
export type GeolocationOptions = import("
|
|
34
|
+
export type GeolocationOptions = import("../types").GeolocationOptions;
|
|
35
35
|
import { Control } from "ol/control";
|
|
36
36
|
import Point from "ol/geom/Point";
|
|
37
37
|
import Feature from "ol/Feature";
|
|
@@ -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,
|
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../types").LoadingIndicatorOptions} LoadingIndicatorOptions
|
|
3
3
|
*/
|
|
4
4
|
export default class LoadingIndicatorControl extends Control {
|
|
5
5
|
/**
|
|
@@ -15,6 +15,6 @@ export default class LoadingIndicatorControl extends Control {
|
|
|
15
15
|
*/
|
|
16
16
|
getElement(): HTMLElement;
|
|
17
17
|
}
|
|
18
|
-
export type LoadingIndicatorOptions = import("
|
|
18
|
+
export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
|
|
19
19
|
import { Control } from "ol/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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,yCANW,OAAO,qBAAqB,EAAE,SAAS,GAAG,OAAO,4BAA4B,EAAE,gBAAgB,GAAG;IAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,yCANW,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,QAgEjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"center.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/center.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,sDAHW,
|
|
1
|
+
{"version":3,"file":"center.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/center.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,sDAHW,KAAK,CAAC,MAAM,CAAC,GACX,OAAO,eAAe,EAAE,UAAU,CAyB9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinates-roughly-equals.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/coordinates-roughly-equals.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,8DANW,OAAO,eAAe,EAAE,UAAU,eAClC,OAAO,eAAe,EAAE,UAAU,YAClC,MAAM,
|
|
1
|
+
{"version":3,"file":"coordinates-roughly-equals.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/coordinates-roughly-equals.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,8DANW,OAAO,eAAe,EAAE,UAAU,eAClC,OAAO,eAAe,EAAE,UAAU,YAClC,MAAM,OAAC,GAEN,OAAO,CAoBlB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
3
|
-
* @typedef {import("
|
|
4
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../types").DrawOptions} DrawOptions
|
|
3
|
+
* @typedef {import("../types").SelectOptions} SelectOptions
|
|
4
|
+
* @typedef {import("../types").SelectLayer} SelectLayer
|
|
5
5
|
* @typedef {import("ol/layer").Vector} VectorLayer
|
|
6
6
|
* */
|
|
7
7
|
/**
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* @throws Will throw an error if an interaction with the given ID already exists.
|
|
16
16
|
*/
|
|
17
17
|
export function addDraw(EOxMap: import("../main").EOxMap, drawLayer: import("ol/layer").Vector<import("ol/source").Vector>, options: DrawOptions): void;
|
|
18
|
-
export type DrawOptions = import("
|
|
19
|
-
export type SelectOptions = import("
|
|
20
|
-
export type SelectLayer = import("
|
|
18
|
+
export type DrawOptions = import("../types").DrawOptions;
|
|
19
|
+
export type SelectOptions = import("../types").SelectOptions;
|
|
20
|
+
export type SelectLayer = import("../types").SelectLayer;
|
|
21
21
|
export type VectorLayer = import("ol/layer").Vector;
|
|
22
22
|
//# sourceMappingURL=draw.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/draw.js"],"names":[],"mappings":"AAIA;;;;;KAKK;AAEL;;;;;;;;;GASG;AACH,gCANW,OAAO,SAAS,EAAE,MAAM,aACxB,OAAO,UAAU,EAAE,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,WACrD,WAAW,QA6DrB;0BAzEY,OAAO,
|
|
1
|
+
{"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/draw.js"],"names":[],"mappings":"AAIA;;;;;KAKK;AAEL;;;;;;;;;GASG;AACH,gCANW,OAAO,SAAS,EAAE,MAAM,aACxB,OAAO,UAAU,EAAE,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,WACrD,WAAW,QA6DrB;0BAzEY,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;0BAC9B,OAAO,UAAU,EAAE,MAAM"}
|
|
@@ -19,12 +19,13 @@ export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, c
|
|
|
19
19
|
*/
|
|
20
20
|
export function updateLayer(EOxMap: import("../main").EOxMap, newLayerDefinition: EoxLayer, existingLayer: import("ol/layer/Base").default): import("ol/layer/Base").default;
|
|
21
21
|
export function generateLayers(EOxMap: import("../main").EOxMap, layerArray: Array<EoxLayer>): Array<EoxLayer>;
|
|
22
|
-
export type
|
|
23
|
-
export type
|
|
24
|
-
export type
|
|
25
|
-
export type
|
|
26
|
-
export type
|
|
27
|
-
export type
|
|
28
|
-
export type
|
|
29
|
-
export type
|
|
22
|
+
export type EOxMap = import("../main").EOxMap;
|
|
23
|
+
export type AnyLayer = import("../types").AnyLayer;
|
|
24
|
+
export type EoxLayer = import("../types").EoxLayer;
|
|
25
|
+
export type SelectLayer = import("../types").SelectLayer;
|
|
26
|
+
export type EOxInteraction = import("../types").EOxInteraction;
|
|
27
|
+
export type DrawOptions = import("../types").DrawOptions;
|
|
28
|
+
export type SelectOptions = import("../types").SelectOptions;
|
|
29
|
+
export type AnyLayerWithSource = import("../types").AnyLayerWithSource;
|
|
30
|
+
export type VectorOrVectorTileLayer = import("../types").VectorOrVectorTileLayer;
|
|
30
31
|
//# sourceMappingURL=generate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"
|
|
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,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
3
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../types").AnyLayerWithSource} AnyLayerWithSource
|
|
3
|
+
* @typedef {import("../types").AnyLayer} AnyLayer
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Retrieves a layer by its ID from the EOxMap instance.
|
|
@@ -18,7 +18,7 @@ export function getLayerById(EOxMap: import("../main").EOxMap, layerId: string):
|
|
|
18
18
|
*
|
|
19
19
|
* @param {Array<AnyLayer>} layers - Array of OpenLayers layers, possibly containing groups.
|
|
20
20
|
*/
|
|
21
|
-
export function getFlatLayersArray(layers: Array<AnyLayer>):
|
|
22
|
-
export type AnyLayerWithSource = import("
|
|
23
|
-
export type AnyLayer = import("
|
|
21
|
+
export function getFlatLayersArray(layers: Array<AnyLayer>): import("ol/layer/Base").default[];
|
|
22
|
+
export type AnyLayerWithSource = import("../types").AnyLayerWithSource;
|
|
23
|
+
export type AnyLayer = import("../types").AnyLayer;
|
|
24
24
|
//# sourceMappingURL=layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/layer.js"],"names":[],"mappings":"AAEA;;;GAGG;AAEH;;;;;;GAMG;AACH,qCAJW,OAAO,SAAS,EAAE,MAAM,WACxB,MAAM,GACJ,kBAAkB,CAQ9B;AAED;;;;;;;GAOG;AACH,2CAFW,
|
|
1
|
+
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/layer.js"],"names":[],"mappings":"AAEA;;;GAGG;AAEH;;;;;;GAMG;AACH,qCAJW,OAAO,SAAS,EAAE,MAAM,WACxB,MAAM,GACJ,kBAAkB,CAQ9B;AAED;;;;;;;GAOG;AACH,2CAFW,KAAK,CAAC,QAAQ,CAAC,qCAqCzB;iCA9DY,OAAO,UAAU,EAAE,kBAAkB;uBACrC,OAAO,UAAU,EAAE,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-feature.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+CAHW,
|
|
1
|
+
{"version":3,"file":"parse-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-feature.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+CAHW,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,OAS7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-projection-from-code.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection-from-code.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,yDAHW,MAAM,GAAG,MAAM,GACb,
|
|
1
|
+
{"version":3,"file":"register-projection-from-code.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection-from-code.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,yDAHW,MAAM,GAAG,MAAM,GACb,OAAO,CAAC,OAAO,oBAAoB,EAAE,OAAO,CAAC,CAQzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-projection.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,iDAJW,MAAM,cACN,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"register-projection.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,iDAJW,MAAM,cACN,MAAM,GAAG,KAAK,CAAC,oBAAoB,WACnC,OAAO,WAAW,EAAE,MAAM,QAepC;kBAzBiB,OAAO"}
|
|
@@ -11,10 +11,10 @@
|
|
|
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("
|
|
15
|
-
* @typedef {import("
|
|
16
|
-
* @typedef {import("
|
|
17
|
-
* @typedef {import("
|
|
14
|
+
* @typedef {import("../types").EoxLayer} EoxLayer
|
|
15
|
+
* @typedef {import("../types").SelectLayer} SelectLayer
|
|
16
|
+
* @typedef {import("../types").SelectOptions} SelectOptions
|
|
17
|
+
* @typedef {import("../types").DrawOptions} DrawOptions
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* Class representing the EOxSelectInteraction.
|
|
@@ -29,8 +29,8 @@ export class EOxSelectInteraction {
|
|
|
29
29
|
*/
|
|
30
30
|
constructor(eoxMap: EOxMap, selectLayer: SelectLayer, options: SelectOptions);
|
|
31
31
|
eoxMap: import("../main").EOxMap;
|
|
32
|
-
selectLayer: import("
|
|
33
|
-
options: import("
|
|
32
|
+
selectLayer: import("../types").SelectLayer;
|
|
33
|
+
options: import("../types").SelectOptions;
|
|
34
34
|
active: boolean;
|
|
35
35
|
panIn: boolean;
|
|
36
36
|
tooltip: boolean;
|
|
@@ -79,11 +79,11 @@ export class EOxSelectInteraction {
|
|
|
79
79
|
*/
|
|
80
80
|
getId(feature: Feature | RenderFeature): string | number;
|
|
81
81
|
}
|
|
82
|
-
export type EOxMap = import(
|
|
83
|
-
export type EoxLayer = import("
|
|
84
|
-
export type SelectLayer = import("
|
|
85
|
-
export type SelectOptions = import("
|
|
86
|
-
export type DrawOptions = import("
|
|
82
|
+
export type EOxMap = import("../main").EOxMap;
|
|
83
|
+
export type EoxLayer = import("../types").EoxLayer;
|
|
84
|
+
export type SelectLayer = import("../types").SelectLayer;
|
|
85
|
+
export type SelectOptions = import("../types").SelectOptions;
|
|
86
|
+
export type DrawOptions = import("../types").DrawOptions;
|
|
87
87
|
import Feature from "ol/Feature";
|
|
88
88
|
import RenderFeature from "ol/render/Feature";
|
|
89
89
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -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
|
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../types").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("
|
|
13
|
+
export type EoxLayer = import("../types").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,
|
|
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"}
|