@eox/layercontrol 1.3.1 → 1.3.2
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 +2648 -2789
- package/dist/eox-layercontrol.umd.cjs +429 -490
- package/package.json +4 -4
- package/src/components/add-layers.js +1 -1
- package/src/components/layer-datetime.js +27 -16
- package/src/enums/stories/index.js +12 -12
- package/src/main.js +17 -30
- package/src/methods/layer-config/apply-updated-styles.js +4 -2
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-legend.d.ts +6 -6
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/enums/stories/index.d.ts +46 -44
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
- package/types/layercontrol/src/main.d.ts +17 -30
- package/types/layercontrol/src/main.d.ts.map +1 -1
- package/types/map/src/controls/controls.d.ts.map +1 -1
- package/types/map/src/custom/layers/MapboxStyle.d.ts +2 -2
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +1 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +3 -2
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -1
- package/types/map/src/helpers/cluster-explode.d.ts +1 -1
- package/types/map/src/helpers/cluster-explode.d.ts.map +1 -1
- package/types/map/src/helpers/generate.d.ts.map +1 -1
- package/types/map/src/helpers/parse-text.d.ts +11 -0
- package/types/map/src/helpers/parse-text.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +1 -1
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/main.d.ts +119 -36
- package/types/map/src/main.d.ts.map +1 -1
- package/types/map/src/methods/map/first-updated.d.ts.map +1 -1
- package/types/map/src/methods/map/getters.d.ts +7 -0
- package/types/map/src/methods/map/getters.d.ts.map +1 -1
- package/types/map/src/methods/map/index.d.ts +1 -1
- package/types/map/src/methods/map/setters.d.ts.map +1 -1
- package/types/map/src/plugins/globe/index.d.ts +6 -0
- package/types/map/src/plugins/globe/index.d.ts.map +1 -0
- package/types/map/src/plugins/globe/methods.d.ts +8 -0
- package/types/map/src/plugins/globe/methods.d.ts.map +1 -0
- package/types/map/src/plugins/globe/openglobus.d.ts +16 -0
- package/types/map/src/plugins/globe/openglobus.d.ts.map +1 -0
- package/types/map/src/types.d.ts +6 -1
- package/types/map/src/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eox/layercontrol",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@types/lodash.throttle": "^4.1.9",
|
|
12
12
|
"@types/sortablejs": "^1.15.1",
|
|
13
13
|
"ol": "^10.4.0",
|
|
14
|
-
"vite": "^
|
|
14
|
+
"vite": "^7.1.12"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"npm": ">=8.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@eox/elements-utils": "^1.1.0",
|
|
45
|
-
"@eox/ui": "^0.
|
|
45
|
+
"@eox/ui": "^0.5.0",
|
|
46
46
|
"color-legend-element": "^1.3.0",
|
|
47
47
|
"lit": "^3.2.0",
|
|
48
48
|
"lodash.debounce": "^4.0.8",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@eox/jsonform": "*",
|
|
55
|
-
"@eox/timecontrol": "
|
|
55
|
+
"@eox/timecontrol": ">=2.0.0"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -286,7 +286,7 @@ export class EOxLayerControlAddLayers extends LitElement {
|
|
|
286
286
|
<!-- Button to add JSON layer -->
|
|
287
287
|
<button
|
|
288
288
|
class="add-layer-icon json-add-layer small square small-margin"
|
|
289
|
-
style="position: absolute; bottom: 15px; right: 0;"
|
|
289
|
+
style="position: absolute; bottom: 15px; right: 0; z-index: 1;"
|
|
290
290
|
disabled=${isLayerJSONValid(this.jsonInput) ? nothing : true}
|
|
291
291
|
@click=${this.#handleAddLayer}
|
|
292
292
|
>
|
|
@@ -69,20 +69,24 @@ export class EOxLayerControlLayerDatetime extends LitElement {
|
|
|
69
69
|
* Handles timecontrol Stepchange &
|
|
70
70
|
* triggers `datetime:updated` event on step change
|
|
71
71
|
*
|
|
72
|
-
* @param {CustomEvent<{
|
|
72
|
+
* @param {CustomEvent<{date:string[]}>} evt
|
|
73
73
|
**/
|
|
74
74
|
#handleStepChange(evt) {
|
|
75
|
+
const formatDate = (d) =>
|
|
76
|
+
`${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
|
|
77
|
+
const currentStep = formatDate(new Date(evt.detail.date[0]));
|
|
78
|
+
|
|
75
79
|
this.dispatchEvent(
|
|
76
80
|
new CustomEvent("datetime:updated", {
|
|
77
81
|
bubbles: true,
|
|
78
82
|
detail: {
|
|
79
|
-
datetime:
|
|
83
|
+
datetime: currentStep,
|
|
80
84
|
layer: this.layer,
|
|
81
85
|
},
|
|
82
86
|
}),
|
|
83
87
|
);
|
|
84
88
|
|
|
85
|
-
this.layerDatetime.currentStep =
|
|
89
|
+
this.layerDatetime.currentStep = currentStep;
|
|
86
90
|
this.requestUpdate();
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -103,20 +107,27 @@ export class EOxLayerControlLayerDatetime extends LitElement {
|
|
|
103
107
|
${when(
|
|
104
108
|
this.layerDatetime,
|
|
105
109
|
() => html`
|
|
106
|
-
<!-- Render a Timecontrol for layer date time -->
|
|
107
110
|
<eox-timecontrol
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
111
|
+
.initDate=${this.layerDatetime.currentStep
|
|
112
|
+
? [this.layerDatetime.currentStep]
|
|
113
|
+
: undefined}
|
|
114
|
+
.controlValues=${[
|
|
115
|
+
{
|
|
116
|
+
id: this.layer.get("id"),
|
|
117
|
+
name: this.layer.get("name") || this.layer.get("title"),
|
|
118
|
+
timeControlValues: this.layerDatetime.controlValues.map(
|
|
119
|
+
(value) => ({ date: value }),
|
|
120
|
+
),
|
|
121
|
+
},
|
|
122
|
+
]}
|
|
123
|
+
@select=${this.#handleStepChange}
|
|
124
|
+
>
|
|
125
|
+
<eox-timecontrol-date
|
|
126
|
+
.navigation=${this.layerDatetime.navigation ?? false}
|
|
127
|
+
.format=${this.layerDatetime.displayFormat}
|
|
128
|
+
></eox-timecontrol-date>
|
|
129
|
+
<eox-timecontrol-slider></eox-timecontrol-slider>
|
|
130
|
+
</eox-timecontrol>
|
|
120
131
|
`,
|
|
121
132
|
)}
|
|
122
133
|
`;
|
|
@@ -109,7 +109,7 @@ export const STORIES_LAYER_OSM = {
|
|
|
109
109
|
|
|
110
110
|
export const STORIES_LAYER_TERRAIN_LIGHT = {
|
|
111
111
|
type: "Tile",
|
|
112
|
-
properties: { title: "Terrain Light" },
|
|
112
|
+
properties: { id: "terrain-light", title: "Terrain Light" },
|
|
113
113
|
source: {
|
|
114
114
|
type: "XYZ",
|
|
115
115
|
url: S2MAP_URL("terrain-light_3857"),
|
|
@@ -121,6 +121,14 @@ export const STORIES_LAYER_EOX_CLOUDLESS_2020 = LAYER_EOX_CLOUDLESS("2020");
|
|
|
121
121
|
export const STORIES_LAYER_EOX_CLOUDLESS_2021 = LAYER_EOX_CLOUDLESS("2021");
|
|
122
122
|
|
|
123
123
|
export const STORIES_MAIN_MAP_LAYERS = [
|
|
124
|
+
{
|
|
125
|
+
type: "Group",
|
|
126
|
+
properties: {
|
|
127
|
+
id: "group1",
|
|
128
|
+
title: "Background Layers",
|
|
129
|
+
},
|
|
130
|
+
layers: [STORIES_LAYER_OSM, STORIES_LAYER_S2],
|
|
131
|
+
},
|
|
124
132
|
{
|
|
125
133
|
type: "Group",
|
|
126
134
|
properties: {
|
|
@@ -130,19 +138,11 @@ export const STORIES_MAIN_MAP_LAYERS = [
|
|
|
130
138
|
description: "# Hello world",
|
|
131
139
|
},
|
|
132
140
|
layers: [
|
|
133
|
-
STORIES_LAYER_REGION,
|
|
134
|
-
STORIES_LAYER_SENTINEL_HUB.no2,
|
|
135
141
|
STORIES_LAYER_SENTINEL_HUB.wind,
|
|
142
|
+
STORIES_LAYER_SENTINEL_HUB.no2,
|
|
143
|
+
STORIES_LAYER_REGION,
|
|
136
144
|
],
|
|
137
145
|
},
|
|
138
|
-
{
|
|
139
|
-
type: "Group",
|
|
140
|
-
properties: {
|
|
141
|
-
id: "group1",
|
|
142
|
-
title: "Background Layers",
|
|
143
|
-
},
|
|
144
|
-
layers: [STORIES_LAYER_S2, STORIES_LAYER_OSM],
|
|
145
|
-
},
|
|
146
146
|
];
|
|
147
147
|
|
|
148
148
|
export const STORIES_LAYER_DEFORESTED_BIOMASS = {
|
|
@@ -183,7 +183,7 @@ export const STORIES_LAYER_DEFORESTED_BIOMASS = {
|
|
|
183
183
|
},
|
|
184
184
|
source: {
|
|
185
185
|
type: "XYZ",
|
|
186
|
-
url: "https://reccap2.api.
|
|
186
|
+
url: "https://reccap2.api.brockmann-consult.de/api/tiles/cop28~reccap2-9x108x139-0.0.1.zarr/deforested_biomass/{z}/{y}/{x}?crs=EPSG:3857&time=2018-01-01T00:00:00Z&vmin=0&vmax=3&cbar=rain",
|
|
187
187
|
},
|
|
188
188
|
};
|
|
189
189
|
|
package/src/main.js
CHANGED
|
@@ -14,40 +14,27 @@ import { addCommonStylesheet } from "@eox/elements-utils";
|
|
|
14
14
|
addCommonStylesheet();
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The `eox-layercontrol` element provides a user interface for managing and configuring layers of an `eox-map`. It connects to the underlying OpenLayers map instance and displays a list of layers, supporting advanced features such as optional layers, exclusive layers, layer tools, dynamic legends, time controls, and external layer addition.
|
|
18
18
|
*
|
|
19
|
-
* ##
|
|
20
|
-
*
|
|
19
|
+
* ## Usage
|
|
20
|
+
* Place `<eox-layercontrol></eox-layercontrol>` next to an `<eox-map></eox-map>` element. If there is only one `eox-map` present, `eox-layercontrol` will automatically connect to it. This can be configured
|
|
21
|
+
* via the `for` attribute/property in order to support connecting to a specific map.
|
|
21
22
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
23
|
+
* ## Layer Properties
|
|
24
|
+
* To be displayed and managed correctly, the map layers should have custom properties set (e.g. using `properties.<property>` inside the `eox-map` layer json, or by doing `layer.set(property, value)` on the native OpenLayers layers).
|
|
24
25
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
26
|
+
* - `id?: string` — Unique identifier for the layer. Recommended for referencing and managing layers; also used for `eox-map` smart layer updating.
|
|
27
|
+
* - `title?: string` — Human-readable title for the layer, displayed in the control. Recommended for usability.
|
|
28
|
+
* - `layerControlHide?: boolean` — If true, hides the layer from the control UI.
|
|
29
|
+
* - `layerControlOptional?: boolean` — If true, the layer is initially hidden and can be added from the optional list.
|
|
30
|
+
* - `layerControlExclusive?: boolean` — If true, only one exclusive layer can be visualized at a time (taking into account all other layers on the same level with this property).
|
|
31
|
+
* - `layerControlExpand?: boolean` — If true, the layer is "expanded" by default, showing description, tools etc. (if available).
|
|
32
|
+
* - `layerControlToolsExpand?: boolean` — If true, the layer tools section is expanded by default.
|
|
33
|
+
* - `layerConfig?: object` — Configuration for the "config" tool, consisting of a JSON schema (rendered by `eox-jsonform`) for editable settings.
|
|
34
|
+
* - `layerDatetime?: object` — Configuration for the "datetime" tool, supporting time-based controls and playback.
|
|
35
|
+
* - `layerLegend?: object` — Configuration for the "legend" tool, supporting dynamic color legends.
|
|
27
36
|
*
|
|
28
|
-
*
|
|
29
|
-
* Completely hide a layer from the layer control.
|
|
30
|
-
*
|
|
31
|
-
* #### `layerControlOptional?: Boolean`
|
|
32
|
-
* Initially hide a layer from the layer control, but make it available as an optional layer. If the layer is selected and added, it will be set to visible and pushed to the top of the layer list or (if originally configured within a layer group) to the top of the layer group.
|
|
33
|
-
*
|
|
34
|
-
* #### `layerControlExclusive?: Boolean`
|
|
35
|
-
* Make layers mutually exclusive. If two or more layers (on the same level, i.e. at root or inside a layer group) have this property, then only one of them can be visualized at a time.
|
|
36
|
-
*
|
|
37
|
-
* #### `layerControlExpand?: Boolean`
|
|
38
|
-
* Pre-expand a layer dropdown so that it is always open when the component initializes.
|
|
39
|
-
*
|
|
40
|
-
* #### `layerControlToolsExpand?: Boolean`
|
|
41
|
-
* Pre-expand the layer tools so they are visible when the component initializes.
|
|
42
|
-
*
|
|
43
|
-
* #### `layerConfig?: Object`
|
|
44
|
-
* Configuration options for the layer (displayed in the layer tools' "config" tab)
|
|
45
|
-
*
|
|
46
|
-
* #### `layerDateTime?: Object`
|
|
47
|
-
* Partial eox-timecontrol config passed to the "datetime" tool
|
|
48
|
-
*
|
|
49
|
-
* ### `layerLegend`?: Object
|
|
50
|
-
* Creates a dynamic color legend based on range & domain of values. Extenteds partial config of `color-legend-element`
|
|
37
|
+
* For `eox-map` attributes/properties and emitted events, see below.
|
|
51
38
|
*
|
|
52
39
|
* @element eox-layercontrol
|
|
53
40
|
*/
|
|
@@ -82,8 +82,10 @@ 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
|
-
|
|
86
|
-
|
|
85
|
+
rawStyle = rawStyle.replaceAll(
|
|
86
|
+
`["var","${key}"]`,
|
|
87
|
+
String(variables[key]),
|
|
88
|
+
);
|
|
87
89
|
} else {
|
|
88
90
|
// replace all styles variables set of the specific key with the variables value
|
|
89
91
|
rawStyle = rawStyle.replaceAll(
|
|
@@ -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;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;
|
|
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;IAmCnB;;OAEG;IACH,+CAsCC;;CAIF;2BAzIgC,KAAK"}
|
|
@@ -71,15 +71,15 @@ export class EOxLayerControlLayerLegend extends LitElement {
|
|
|
71
71
|
* Legend configurations
|
|
72
72
|
*/
|
|
73
73
|
export type LegendConfig = {
|
|
74
|
-
domain:
|
|
74
|
+
domain: any["domain"];
|
|
75
75
|
width?: number;
|
|
76
76
|
range: string[];
|
|
77
77
|
title?: string;
|
|
78
|
-
tickFormat?:
|
|
79
|
-
ticks?:
|
|
80
|
-
tickValues?:
|
|
81
|
-
scaleType?:
|
|
82
|
-
markType?:
|
|
78
|
+
tickFormat?: any["tickFormat"];
|
|
79
|
+
ticks?: any["ticks"];
|
|
80
|
+
tickValues?: any["tickValues"];
|
|
81
|
+
scaleType?: any["scaleType"];
|
|
82
|
+
markType?: any["markType"];
|
|
83
83
|
};
|
|
84
84
|
import { LitElement } from "lit";
|
|
85
85
|
//# sourceMappingURL=layer-legend.d.ts.map
|
|
@@ -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,uBAHW,YAAY,GAAG,YAAY,EAAE,EAmBvC;IA9BD,mBAWW,YAAY,GAAG,YAAY,EAAE,CAHvC;IA+BD,qBAYC;IAED;;OAEG;IACH,+CA2CC;;CAmBF;;;;2BA9KY;IACR,MAAM,EAAC,
|
|
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,EAmBvC;IA9BD,mBAWW,YAAY,GAAG,YAAY,EAAE,CAHvC;IA+BD,qBAYC;IAED;;OAEG;IACH,+CA2CC;;CAmBF;;;;2BA9KY;IACR,MAAM,EAAC,GAAiD,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,GAAiD,CAAC,YAAY,CAAC,CAAA;IAC3E,KAAK,CAAC,EAAC,GAAiD,CAAC,OAAO,CAAC,CAAA;IACjE,UAAU,CAAC,EAAC,GAAiD,CAAC,YAAY,CAAC,CAAA;IAC3E,SAAS,CAAC,EAAC,GAAiD,CAAC,WAAW,CAAC,CAAA;IACzE,QAAQ,CAAC,EAAC,GAAiD,CAAC,UAAU,CAAC,CAAA;CACxE;2BAhB2C,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;MAQE;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;IAQtB,kBAAwE;IAG1E;;;;;;OAMG;IACH,8BAAgC;IA2BlC,
|
|
1
|
+
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;MAQE;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;IAQtB,kBAAwE;IAG1E;;;;;;OAMG;IACH,8BAAgC;IA2BlC,gBAAiB,SAAI,2CAA8B;IAGnD,cAAe,SAAI,2CAA2C;IAE9D;;;;;;OAMG;IACH,UAAW,MAHA,MAGI,EAAE,SAAI,KAFR,OAAO,KAAK,EAAE,kBAAkB,CAEe;IAE5D,mBAAoB,UAAK,0CA6EvB;IAEF,+CAwDC;;CAyDF;2BAvUyC,KAAK"}
|
|
@@ -116,6 +116,8 @@ export namespace STORIES_LAYER_TERRAIN_LIGHT {
|
|
|
116
116
|
let type_10: string;
|
|
117
117
|
export { type_10 as type };
|
|
118
118
|
export namespace properties_5 {
|
|
119
|
+
let id_5: string;
|
|
120
|
+
export { id_5 as id };
|
|
119
121
|
let title_5: string;
|
|
120
122
|
export { title_5 as title };
|
|
121
123
|
}
|
|
@@ -151,34 +153,46 @@ export const STORIES_MAIN_MAP_LAYERS: ({
|
|
|
151
153
|
properties: {
|
|
152
154
|
id: string;
|
|
153
155
|
title: string;
|
|
154
|
-
layerControlExpand
|
|
155
|
-
description
|
|
156
|
+
layerControlExpand?: undefined;
|
|
157
|
+
description?: undefined;
|
|
156
158
|
};
|
|
157
159
|
layers: ({
|
|
158
160
|
type: string;
|
|
159
161
|
properties: {
|
|
160
162
|
id: string;
|
|
163
|
+
layerControlExclusive: boolean;
|
|
161
164
|
title: string;
|
|
162
165
|
};
|
|
166
|
+
style: {
|
|
167
|
+
variables: {
|
|
168
|
+
red: number;
|
|
169
|
+
green: number;
|
|
170
|
+
blue: number;
|
|
171
|
+
redMax: number;
|
|
172
|
+
greenMax: number;
|
|
173
|
+
blueMax: number;
|
|
174
|
+
};
|
|
175
|
+
color: (string | number | (string | (string | string[])[])[])[];
|
|
176
|
+
gamma: number;
|
|
177
|
+
};
|
|
163
178
|
source: {
|
|
164
179
|
type: string;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
};
|
|
180
|
+
normalize: boolean;
|
|
181
|
+
sources: {
|
|
182
|
+
url: string;
|
|
183
|
+
}[];
|
|
169
184
|
};
|
|
170
185
|
} | {
|
|
171
186
|
type: string;
|
|
172
187
|
properties: {
|
|
173
|
-
title: string;
|
|
174
188
|
id: string;
|
|
175
|
-
|
|
189
|
+
title: string;
|
|
190
|
+
layerControlExclusive: boolean;
|
|
176
191
|
};
|
|
192
|
+
visible: boolean;
|
|
193
|
+
opacity: number;
|
|
177
194
|
source: {
|
|
178
195
|
type: string;
|
|
179
|
-
url: string;
|
|
180
|
-
format: string;
|
|
181
|
-
attributions: string;
|
|
182
196
|
};
|
|
183
197
|
})[];
|
|
184
198
|
} | {
|
|
@@ -186,46 +200,34 @@ export const STORIES_MAIN_MAP_LAYERS: ({
|
|
|
186
200
|
properties: {
|
|
187
201
|
id: string;
|
|
188
202
|
title: string;
|
|
189
|
-
layerControlExpand
|
|
190
|
-
description
|
|
203
|
+
layerControlExpand: boolean;
|
|
204
|
+
description: string;
|
|
191
205
|
};
|
|
192
206
|
layers: ({
|
|
193
207
|
type: string;
|
|
194
208
|
properties: {
|
|
195
209
|
id: string;
|
|
196
|
-
layerControlExclusive: boolean;
|
|
197
210
|
title: string;
|
|
198
211
|
};
|
|
199
|
-
style: {
|
|
200
|
-
variables: {
|
|
201
|
-
red: number;
|
|
202
|
-
green: number;
|
|
203
|
-
blue: number;
|
|
204
|
-
redMax: number;
|
|
205
|
-
greenMax: number;
|
|
206
|
-
blueMax: number;
|
|
207
|
-
};
|
|
208
|
-
color: (string | number | (string | (string | string[])[])[])[];
|
|
209
|
-
gamma: number;
|
|
210
|
-
};
|
|
211
212
|
source: {
|
|
212
213
|
type: string;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
214
|
+
url: string;
|
|
215
|
+
params: {
|
|
216
|
+
LAYERS: string;
|
|
217
|
+
};
|
|
217
218
|
};
|
|
218
219
|
} | {
|
|
219
220
|
type: string;
|
|
220
221
|
properties: {
|
|
221
|
-
id: string;
|
|
222
222
|
title: string;
|
|
223
|
-
|
|
223
|
+
id: string;
|
|
224
|
+
description: string;
|
|
224
225
|
};
|
|
225
|
-
visible: boolean;
|
|
226
|
-
opacity: number;
|
|
227
226
|
source: {
|
|
228
227
|
type: string;
|
|
228
|
+
url: string;
|
|
229
|
+
format: string;
|
|
230
|
+
attributions: string;
|
|
229
231
|
};
|
|
230
232
|
})[];
|
|
231
233
|
})[];
|
|
@@ -233,8 +235,8 @@ export namespace STORIES_LAYER_DEFORESTED_BIOMASS {
|
|
|
233
235
|
let type_14: string;
|
|
234
236
|
export { type_14 as type };
|
|
235
237
|
export namespace properties_7 {
|
|
236
|
-
let
|
|
237
|
-
export {
|
|
238
|
+
let id_6: string;
|
|
239
|
+
export { id_6 as id };
|
|
238
240
|
let title_7: string;
|
|
239
241
|
export { title_7 as title };
|
|
240
242
|
export let layerControlToolsExpand: boolean;
|
|
@@ -303,8 +305,8 @@ export namespace STORIES_LAYER_CROPOMHUSC2 {
|
|
|
303
305
|
}
|
|
304
306
|
export { source_8 as source };
|
|
305
307
|
export namespace properties_10 {
|
|
306
|
-
let
|
|
307
|
-
export {
|
|
308
|
+
let id_7: string;
|
|
309
|
+
export { id_7 as id };
|
|
308
310
|
let title_8: string;
|
|
309
311
|
export { title_8 as title };
|
|
310
312
|
export namespace layerConfig_1 {
|
|
@@ -328,8 +330,8 @@ export namespace STORIES_LAYER_POLARIS {
|
|
|
328
330
|
}
|
|
329
331
|
export { source_9 as source };
|
|
330
332
|
export namespace properties_11 {
|
|
331
|
-
let
|
|
332
|
-
export {
|
|
333
|
+
let id_8: string;
|
|
334
|
+
export { id_8 as id };
|
|
333
335
|
let title_9: string;
|
|
334
336
|
export { title_9 as title };
|
|
335
337
|
export namespace layerConfig_2 {
|
|
@@ -427,8 +429,8 @@ export namespace STORIES_LAYER_SEE {
|
|
|
427
429
|
export { type_31 as type };
|
|
428
430
|
export { STYLES_LAYER_SEE as style };
|
|
429
431
|
export namespace properties_13 {
|
|
430
|
-
let
|
|
431
|
-
export {
|
|
432
|
+
let id_9: symbol;
|
|
433
|
+
export { id_9 as id };
|
|
432
434
|
let title_15: string;
|
|
433
435
|
export { title_15 as title };
|
|
434
436
|
export { LAYERCONFIG_LAYER_SEE as layerConfig };
|
|
@@ -450,8 +452,8 @@ export namespace STORIES_LAYER_VESSEL_DENSITY_CARGO {
|
|
|
450
452
|
let type_33: string;
|
|
451
453
|
export { type_33 as type };
|
|
452
454
|
export namespace properties_14 {
|
|
453
|
-
let
|
|
454
|
-
export {
|
|
455
|
+
let id_10: string;
|
|
456
|
+
export { id_10 as id };
|
|
455
457
|
let title_16: string;
|
|
456
458
|
export { title_16 as title };
|
|
457
459
|
export let layerControlExpand: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAkBA,yCAA0C,eAAe,CAAC;AAE1D,gCACE,gDAAgD,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAkBA,yCAA0C,eAAe,CAAC;AAE1D,gCACE,gDAAgD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuBE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9IF,gCACE,gFAAgF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyLnF;;;;;;;;;;EA2DE;0BAvPwB,6BAA6B"}
|
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The `eox-layercontrol` element provides a user interface for managing and configuring layers of an `eox-map`. It connects to the underlying OpenLayers map instance and displays a list of layers, supporting advanced features such as optional layers, exclusive layers, layer tools, dynamic legends, time controls, and external layer addition.
|
|
3
3
|
*
|
|
4
|
-
* ##
|
|
5
|
-
*
|
|
4
|
+
* ## Usage
|
|
5
|
+
* Place `<eox-layercontrol></eox-layercontrol>` next to an `<eox-map></eox-map>` element. If there is only one `eox-map` present, `eox-layercontrol` will automatically connect to it. This can be configured
|
|
6
|
+
* via the `for` attribute/property in order to support connecting to a specific map.
|
|
6
7
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
8
|
+
* ## Layer Properties
|
|
9
|
+
* To be displayed and managed correctly, the map layers should have custom properties set (e.g. using `properties.<property>` inside the `eox-map` layer json, or by doing `layer.set(property, value)` on the native OpenLayers layers).
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
11
|
+
* - `id?: string` — Unique identifier for the layer. Recommended for referencing and managing layers; also used for `eox-map` smart layer updating.
|
|
12
|
+
* - `title?: string` — Human-readable title for the layer, displayed in the control. Recommended for usability.
|
|
13
|
+
* - `layerControlHide?: boolean` — If true, hides the layer from the control UI.
|
|
14
|
+
* - `layerControlOptional?: boolean` — If true, the layer is initially hidden and can be added from the optional list.
|
|
15
|
+
* - `layerControlExclusive?: boolean` — If true, only one exclusive layer can be visualized at a time (taking into account all other layers on the same level with this property).
|
|
16
|
+
* - `layerControlExpand?: boolean` — If true, the layer is "expanded" by default, showing description, tools etc. (if available).
|
|
17
|
+
* - `layerControlToolsExpand?: boolean` — If true, the layer tools section is expanded by default.
|
|
18
|
+
* - `layerConfig?: object` — Configuration for the "config" tool, consisting of a JSON schema (rendered by `eox-jsonform`) for editable settings.
|
|
19
|
+
* - `layerDatetime?: object` — Configuration for the "datetime" tool, supporting time-based controls and playback.
|
|
20
|
+
* - `layerLegend?: object` — Configuration for the "legend" tool, supporting dynamic color legends.
|
|
12
21
|
*
|
|
13
|
-
*
|
|
14
|
-
* Completely hide a layer from the layer control.
|
|
15
|
-
*
|
|
16
|
-
* #### `layerControlOptional?: Boolean`
|
|
17
|
-
* Initially hide a layer from the layer control, but make it available as an optional layer. If the layer is selected and added, it will be set to visible and pushed to the top of the layer list or (if originally configured within a layer group) to the top of the layer group.
|
|
18
|
-
*
|
|
19
|
-
* #### `layerControlExclusive?: Boolean`
|
|
20
|
-
* Make layers mutually exclusive. If two or more layers (on the same level, i.e. at root or inside a layer group) have this property, then only one of them can be visualized at a time.
|
|
21
|
-
*
|
|
22
|
-
* #### `layerControlExpand?: Boolean`
|
|
23
|
-
* Pre-expand a layer dropdown so that it is always open when the component initializes.
|
|
24
|
-
*
|
|
25
|
-
* #### `layerControlToolsExpand?: Boolean`
|
|
26
|
-
* Pre-expand the layer tools so they are visible when the component initializes.
|
|
27
|
-
*
|
|
28
|
-
* #### `layerConfig?: Object`
|
|
29
|
-
* Configuration options for the layer (displayed in the layer tools' "config" tab)
|
|
30
|
-
*
|
|
31
|
-
* #### `layerDateTime?: Object`
|
|
32
|
-
* Partial eox-timecontrol config passed to the "datetime" tool
|
|
33
|
-
*
|
|
34
|
-
* ### `layerLegend`?: Object
|
|
35
|
-
* Creates a dynamic color legend based on range & domain of values. Extenteds partial config of `color-legend-element`
|
|
22
|
+
* For `eox-map` attributes/properties and emitted events, see below.
|
|
36
23
|
*
|
|
37
24
|
* @element eox-layercontrol
|
|
38
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAeA
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBE;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;IAExB;;;;OAIG;IACH,iCAAoC;IAEpC;;;;;;OAMG;IACH,8BAAgC;IAGlC;;;OAGG;IACH,qBAEC;IAYD,6CAIC;IARD,wCAEC;IARD,sCAIC;IAoCD,+CAoEC;;CA4CF;2BAhUgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"
|
|
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
|
|
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
|
|
10
|
+
applyMapboxStyle(mapboxStyle: any, applyOptions: Parameters<typeof import("ol-mapbox-style").apply>[2]): Promise<LayerGroup | import("ol").Map>;
|
|
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,
|
|
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,12 +3,13 @@ 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
|
|
6
|
+
declare class FlatGeoBuf extends Vector<import("ol").Feature<import("ol/geom").Geometry>> {
|
|
7
7
|
/**
|
|
8
8
|
* @param {FlatGeoBufOptions} options
|
|
9
9
|
*/
|
|
10
10
|
constructor(options: FlatGeoBufOptions);
|
|
11
|
-
|
|
11
|
+
dataProjection: import("ol/proj").ProjectionLike;
|
|
12
|
+
resourceURL: string;
|
|
12
13
|
/**
|
|
13
14
|
* transform an ol extent into FlatGeoBuf-format
|
|
14
15
|
* @param {import("ol/extent").Extent} extent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";
|
|
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,
|
|
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
|
|
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,
|
|
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":"
|
|
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"}
|