@eox/layercontrol 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eox-layercontrol.js +1142 -1126
- package/dist/eox-layercontrol.umd.cjs +107 -91
- package/package.json +19 -8
- package/src/components/layer-group.js +1 -1
- package/src/components/layer-list.js +2 -1
- package/src/components/layer-tools.js +2 -2
- package/src/components/layer.js +9 -0
- package/src/main.js +6 -0
- package/types/layercontrol/src/components/add-layers.d.ts +80 -0
- package/types/layercontrol/src/components/add-layers.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-config.d.ts +82 -0
- package/types/layercontrol/src/components/layer-config.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-datetime.d.ts +66 -0
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-group.d.ts +103 -0
- package/types/layercontrol/src/components/layer-group.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-legend.d.ts +83 -0
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-list.d.ts +108 -0
- package/types/layercontrol/src/components/layer-list.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer-tools.d.ts +72 -0
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -0
- package/types/layercontrol/src/components/layer.d.ts +108 -0
- package/types/layercontrol/src/components/layer.d.ts.map +1 -0
- package/types/layercontrol/src/components/optional-list.d.ts +68 -0
- package/types/layercontrol/src/components/optional-list.d.ts.map +1 -0
- package/types/layercontrol/src/components/tab-sliders.d.ts +1 -0
- package/types/layercontrol/src/components/tab-sliders.d.ts.map +1 -0
- package/types/layercontrol/src/components/tools-items.d.ts +61 -0
- package/types/layercontrol/src/components/tools-items.d.ts.map +1 -0
- package/types/layercontrol/src/enums/index.d.ts +2 -0
- package/types/layercontrol/src/enums/index.d.ts.map +1 -0
- package/types/layercontrol/src/enums/stories/index.d.ts +549 -0
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/check-properties.d.ts +11 -0
- package/types/layercontrol/src/helpers/check-properties.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/clean-json-input.d.ts +8 -0
- package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/create-sortable.d.ts +11 -0
- package/types/layercontrol/src/helpers/create-sortable.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/detect-map-url-type.d.ts +8 -0
- package/types/layercontrol/src/helpers/detect-map-url-type.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/fetch-capabilities.d.ts +10 -0
- package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/filter-layers.d.ts +10 -0
- package/types/layercontrol/src/helpers/filter-layers.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/get-layer-type.d.ts +9 -0
- package/types/layercontrol/src/helpers/get-layer-type.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/get-legend-config.d.ts +20 -0
- package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/get-start-vals.d.ts +21 -0
- package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/hide-layers-based-on-property.d.ts +2 -0
- package/types/layercontrol/src/helpers/hide-layers-based-on-property.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/index.d.ts +17 -0
- package/types/layercontrol/src/helpers/index.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/is-layer-json-valid.d.ts +7 -0
- package/types/layercontrol/src/helpers/is-layer-json-valid.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/is-layer-visible-based-on-zoom-state.d.ts +11 -0
- package/types/layercontrol/src/helpers/is-layer-visible-based-on-zoom-state.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/is-layer-zoom-state-req.d.ts +9 -0
- package/types/layercontrol/src/helpers/is-layer-zoom-state-req.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/is-map-url-valid.d.ts +8 -0
- package/types/layercontrol/src/helpers/is-map-url-valid.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/layer-tools.d.ts +6 -0
- package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -0
- package/types/layercontrol/src/helpers/update-url.d.ts +9 -0
- package/types/layercontrol/src/helpers/update-url.d.ts.map +1 -0
- package/types/layercontrol/src/main.d.ts +149 -0
- package/types/layercontrol/src/main.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/add-layer.d.ts +10 -0
- package/types/layercontrol/src/methods/add-layer/add-layer.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/index.d.ts +7 -0
- package/types/layercontrol/src/methods/add-layer/index.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/json-input-change.d.ts +13 -0
- package/types/layercontrol/src/methods/add-layer/json-input-change.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/open-close-tab.d.ts +10 -0
- package/types/layercontrol/src/methods/add-layer/open-close-tab.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/url-input-change.d.ts +10 -0
- package/types/layercontrol/src/methods/add-layer/url-input-change.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/url-layer.d.ts +12 -0
- package/types/layercontrol/src/methods/add-layer/url-layer.d.ts.map +1 -0
- package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts +11 -0
- package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer/first-updated.d.ts +9 -0
- package/types/layercontrol/src/methods/layer/first-updated.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer/index.d.ts +3 -0
- package/types/layercontrol/src/methods/layer/index.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer/input-click.d.ts +13 -0
- package/types/layercontrol/src/methods/layer/input-click.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts +8 -0
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer-config/data-change.d.ts +14 -0
- package/types/layercontrol/src/methods/layer-config/data-change.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer-config/index.d.ts +3 -0
- package/types/layercontrol/src/methods/layer-config/index.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer-list/first-updated.d.ts +9 -0
- package/types/layercontrol/src/methods/layer-list/first-updated.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layer-list/index.d.ts +2 -0
- package/types/layercontrol/src/methods/layer-list/index.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts +10 -0
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layercontrol/index.d.ts +3 -0
- package/types/layercontrol/src/methods/layercontrol/index.d.ts.map +1 -0
- package/types/layercontrol/src/methods/layercontrol/layer-list-change.d.ts +11 -0
- package/types/layercontrol/src/methods/layercontrol/layer-list-change.d.ts.map +1 -0
- package/types/layercontrol/src/methods/optional-list/add-to-list.d.ts +8 -0
- package/types/layercontrol/src/methods/optional-list/add-to-list.d.ts.map +1 -0
- package/types/layercontrol/src/methods/optional-list/index.d.ts +2 -0
- package/types/layercontrol/src/methods/optional-list/index.d.ts.map +1 -0
- package/types/map/src/components/compare.d.ts +31 -0
- package/types/map/src/components/compare.d.ts.map +1 -0
- package/types/map/src/components/tooltip.d.ts +36 -0
- package/types/map/src/components/tooltip.d.ts.map +1 -0
- package/types/map/src/controls/controls.d.ts +27 -0
- package/types/map/src/controls/controls.d.ts.map +1 -0
- package/types/map/src/controls/geo-location.d.ts +41 -0
- package/types/map/src/controls/geo-location.d.ts.map +1 -0
- package/types/map/src/controls/loading-indicator.d.ts +20 -0
- package/types/map/src/controls/loading-indicator.d.ts.map +1 -0
- package/types/map/src/enums/index.d.ts +2 -0
- package/types/map/src/enums/index.d.ts.map +1 -0
- package/types/map/src/enums/map.d.ts +5 -0
- package/types/map/src/enums/map.d.ts.map +1 -0
- package/types/map/src/helpers/add-new-feature.d.ts +14 -0
- package/types/map/src/helpers/add-new-feature.d.ts.map +1 -0
- package/types/map/src/helpers/cancel-animation.d.ts +7 -0
- package/types/map/src/helpers/cancel-animation.d.ts.map +1 -0
- package/types/map/src/helpers/center.d.ts +12 -0
- package/types/map/src/helpers/center.d.ts.map +1 -0
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts +12 -0
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -0
- package/types/map/src/helpers/draw.d.ts +22 -0
- package/types/map/src/helpers/draw.d.ts.map +1 -0
- package/types/map/src/helpers/generate.d.ts +30 -0
- package/types/map/src/helpers/generate.d.ts.map +1 -0
- package/types/map/src/helpers/index.d.ts +16 -0
- package/types/map/src/helpers/index.d.ts.map +1 -0
- package/types/map/src/helpers/interactions.d.ts +16 -0
- package/types/map/src/helpers/interactions.d.ts.map +1 -0
- package/types/map/src/helpers/layer.d.ts +24 -0
- package/types/map/src/helpers/layer.d.ts.map +1 -0
- package/types/map/src/helpers/parse-feature.d.ts +8 -0
- package/types/map/src/helpers/parse-feature.d.ts.map +1 -0
- package/types/map/src/helpers/parse-text.d.ts +33 -0
- package/types/map/src/helpers/parse-text.d.ts.map +1 -0
- package/types/map/src/helpers/register-projection-from-code.d.ts +8 -0
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -0
- package/types/map/src/helpers/register-projection.d.ts +11 -0
- package/types/map/src/helpers/register-projection.d.ts.map +1 -0
- package/types/map/src/helpers/select.d.ts +86 -0
- package/types/map/src/helpers/select.d.ts.map +1 -0
- package/types/map/src/helpers/tile-grid.d.ts +14 -0
- package/types/map/src/helpers/tile-grid.d.ts.map +1 -0
- package/types/map/src/helpers/transform.d.ts +19 -0
- package/types/map/src/helpers/transform.d.ts.map +1 -0
- package/types/map/src/main.d.ts +337 -0
- package/types/map/src/main.d.ts.map +1 -0
- package/types/map/src/methods/map/add-update-layer.d.ts +13 -0
- package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -0
- package/types/map/src/methods/map/animate-to-state.d.ts +7 -0
- package/types/map/src/methods/map/animate-to-state.d.ts.map +1 -0
- package/types/map/src/methods/map/first-updated.d.ts +9 -0
- package/types/map/src/methods/map/first-updated.d.ts.map +1 -0
- package/types/map/src/methods/map/getters.d.ts +15 -0
- package/types/map/src/methods/map/getters.d.ts.map +1 -0
- package/types/map/src/methods/map/index.d.ts +7 -0
- package/types/map/src/methods/map/index.d.ts.map +1 -0
- package/types/map/src/methods/map/remove.d.ts +22 -0
- package/types/map/src/methods/map/remove.d.ts.map +1 -0
- package/types/map/src/methods/map/setters.d.ts +82 -0
- package/types/map/src/methods/map/setters.d.ts.map +1 -0
- package/types/map/types.d.ts +148 -0
- package/types/map/types.d.ts.map +1 -0
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
export const STORIES_MAP_STYLE: "width: 400px; height: 300px; margin-left: 7px;";
|
|
2
|
+
export namespace STORIES_LAYER_SENTINEL_HUB {
|
|
3
|
+
namespace wind {
|
|
4
|
+
let type: string;
|
|
5
|
+
namespace properties {
|
|
6
|
+
let id: string;
|
|
7
|
+
let title: string;
|
|
8
|
+
}
|
|
9
|
+
namespace source {
|
|
10
|
+
let type_1: string;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
export { SENTINEL_HUB_URL as url };
|
|
13
|
+
export namespace params {
|
|
14
|
+
let LAYERS: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
namespace no2 {
|
|
19
|
+
let type_2: string;
|
|
20
|
+
export { type_2 as type };
|
|
21
|
+
export namespace properties_1 {
|
|
22
|
+
let id_1: string;
|
|
23
|
+
export { id_1 as id };
|
|
24
|
+
let title_1: string;
|
|
25
|
+
export { title_1 as title };
|
|
26
|
+
}
|
|
27
|
+
export { properties_1 as properties };
|
|
28
|
+
export namespace source_1 {
|
|
29
|
+
let type_3: string;
|
|
30
|
+
export { type_3 as type };
|
|
31
|
+
export { SENTINEL_HUB_URL as url };
|
|
32
|
+
export namespace params_1 {
|
|
33
|
+
let LAYERS_1: string;
|
|
34
|
+
export { LAYERS_1 as LAYERS };
|
|
35
|
+
}
|
|
36
|
+
export { params_1 as params };
|
|
37
|
+
}
|
|
38
|
+
export { source_1 as source };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export namespace STORIES_LAYER_REGION {
|
|
42
|
+
let type_4: string;
|
|
43
|
+
export { type_4 as type };
|
|
44
|
+
export namespace properties_2 {
|
|
45
|
+
let title_2: string;
|
|
46
|
+
export { title_2 as title };
|
|
47
|
+
let id_2: string;
|
|
48
|
+
export { id_2 as id };
|
|
49
|
+
export let description: string;
|
|
50
|
+
}
|
|
51
|
+
export { properties_2 as properties };
|
|
52
|
+
export namespace source_2 {
|
|
53
|
+
let type_5: string;
|
|
54
|
+
export { type_5 as type };
|
|
55
|
+
export let url: string;
|
|
56
|
+
export let format: string;
|
|
57
|
+
export let attributions: string;
|
|
58
|
+
}
|
|
59
|
+
export { source_2 as source };
|
|
60
|
+
}
|
|
61
|
+
export namespace STORIES_LAYER_S2 {
|
|
62
|
+
let type_6: string;
|
|
63
|
+
export { type_6 as type };
|
|
64
|
+
export namespace properties_3 {
|
|
65
|
+
let id_3: string;
|
|
66
|
+
export { id_3 as id };
|
|
67
|
+
export let layerControlExclusive: boolean;
|
|
68
|
+
let title_3: string;
|
|
69
|
+
export { title_3 as title };
|
|
70
|
+
}
|
|
71
|
+
export { properties_3 as properties };
|
|
72
|
+
export namespace style {
|
|
73
|
+
namespace variables {
|
|
74
|
+
let red: number;
|
|
75
|
+
let green: number;
|
|
76
|
+
let blue: number;
|
|
77
|
+
let redMax: number;
|
|
78
|
+
let greenMax: number;
|
|
79
|
+
let blueMax: number;
|
|
80
|
+
}
|
|
81
|
+
let color: (string | number | (string | (string | string[])[])[])[];
|
|
82
|
+
let gamma: number;
|
|
83
|
+
}
|
|
84
|
+
export namespace source_3 {
|
|
85
|
+
let type_7: string;
|
|
86
|
+
export { type_7 as type };
|
|
87
|
+
export let normalize: boolean;
|
|
88
|
+
export let sources: {
|
|
89
|
+
url: string;
|
|
90
|
+
}[];
|
|
91
|
+
}
|
|
92
|
+
export { source_3 as source };
|
|
93
|
+
}
|
|
94
|
+
export namespace STORIES_LAYER_OSM {
|
|
95
|
+
let type_8: string;
|
|
96
|
+
export { type_8 as type };
|
|
97
|
+
export namespace properties_4 {
|
|
98
|
+
let id_4: string;
|
|
99
|
+
export { id_4 as id };
|
|
100
|
+
let title_4: string;
|
|
101
|
+
export { title_4 as title };
|
|
102
|
+
let layerControlExclusive_1: boolean;
|
|
103
|
+
export { layerControlExclusive_1 as layerControlExclusive };
|
|
104
|
+
}
|
|
105
|
+
export { properties_4 as properties };
|
|
106
|
+
export let visible: boolean;
|
|
107
|
+
export let opacity: number;
|
|
108
|
+
export namespace source_4 {
|
|
109
|
+
let type_9: string;
|
|
110
|
+
export { type_9 as type };
|
|
111
|
+
}
|
|
112
|
+
export { source_4 as source };
|
|
113
|
+
}
|
|
114
|
+
export namespace STORIES_LAYER_TERRAIN_LIGHT {
|
|
115
|
+
let type_10: string;
|
|
116
|
+
export { type_10 as type };
|
|
117
|
+
export namespace properties_5 {
|
|
118
|
+
let title_5: string;
|
|
119
|
+
export { title_5 as title };
|
|
120
|
+
}
|
|
121
|
+
export { properties_5 as properties };
|
|
122
|
+
export namespace source_5 {
|
|
123
|
+
let type_11: string;
|
|
124
|
+
export { type_11 as type };
|
|
125
|
+
let url_1: string;
|
|
126
|
+
export { url_1 as url };
|
|
127
|
+
}
|
|
128
|
+
export { source_5 as source };
|
|
129
|
+
}
|
|
130
|
+
export namespace STORIES_LAYER_EOX_CLOUDLESS_2019 {
|
|
131
|
+
let type_12: string;
|
|
132
|
+
export { type_12 as type };
|
|
133
|
+
export namespace properties_6 {
|
|
134
|
+
let title_6: string;
|
|
135
|
+
export { title_6 as title };
|
|
136
|
+
}
|
|
137
|
+
export { properties_6 as properties };
|
|
138
|
+
export namespace source_6 {
|
|
139
|
+
let type_13: string;
|
|
140
|
+
export { type_13 as type };
|
|
141
|
+
let url_2: string;
|
|
142
|
+
export { url_2 as url };
|
|
143
|
+
}
|
|
144
|
+
export { source_6 as source };
|
|
145
|
+
}
|
|
146
|
+
export namespace STORIES_LAYER_EOX_CLOUDLESS_2020 { }
|
|
147
|
+
export namespace STORIES_LAYER_EOX_CLOUDLESS_2021 { }
|
|
148
|
+
export const STORIES_MAIN_MAP_LAYERS: ({
|
|
149
|
+
type: string;
|
|
150
|
+
properties: {
|
|
151
|
+
id: string;
|
|
152
|
+
title: string;
|
|
153
|
+
layerControlExpand: boolean;
|
|
154
|
+
description: string;
|
|
155
|
+
};
|
|
156
|
+
layers: ({
|
|
157
|
+
type: string;
|
|
158
|
+
properties: {
|
|
159
|
+
id: string;
|
|
160
|
+
title: string;
|
|
161
|
+
};
|
|
162
|
+
source: {
|
|
163
|
+
type: string;
|
|
164
|
+
url: string;
|
|
165
|
+
params: {
|
|
166
|
+
LAYERS: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
} | {
|
|
170
|
+
type: string;
|
|
171
|
+
properties: {
|
|
172
|
+
title: string;
|
|
173
|
+
id: string;
|
|
174
|
+
description: string;
|
|
175
|
+
};
|
|
176
|
+
source: {
|
|
177
|
+
type: string;
|
|
178
|
+
url: string;
|
|
179
|
+
format: string;
|
|
180
|
+
attributions: string;
|
|
181
|
+
};
|
|
182
|
+
})[];
|
|
183
|
+
} | {
|
|
184
|
+
type: string;
|
|
185
|
+
properties: {
|
|
186
|
+
id: string;
|
|
187
|
+
title: string;
|
|
188
|
+
layerControlExpand?: undefined;
|
|
189
|
+
description?: undefined;
|
|
190
|
+
};
|
|
191
|
+
layers: ({
|
|
192
|
+
type: string;
|
|
193
|
+
properties: {
|
|
194
|
+
id: string;
|
|
195
|
+
layerControlExclusive: boolean;
|
|
196
|
+
title: string;
|
|
197
|
+
};
|
|
198
|
+
style: {
|
|
199
|
+
variables: {
|
|
200
|
+
red: number;
|
|
201
|
+
green: number;
|
|
202
|
+
blue: number;
|
|
203
|
+
redMax: number;
|
|
204
|
+
greenMax: number;
|
|
205
|
+
blueMax: number;
|
|
206
|
+
};
|
|
207
|
+
color: (string | number | (string | (string | string[])[])[])[];
|
|
208
|
+
gamma: number;
|
|
209
|
+
};
|
|
210
|
+
source: {
|
|
211
|
+
type: string;
|
|
212
|
+
normalize: boolean;
|
|
213
|
+
sources: {
|
|
214
|
+
url: string;
|
|
215
|
+
}[];
|
|
216
|
+
};
|
|
217
|
+
} | {
|
|
218
|
+
type: string;
|
|
219
|
+
properties: {
|
|
220
|
+
id: string;
|
|
221
|
+
title: string;
|
|
222
|
+
layerControlExclusive: boolean;
|
|
223
|
+
};
|
|
224
|
+
visible: boolean;
|
|
225
|
+
opacity: number;
|
|
226
|
+
source: {
|
|
227
|
+
type: string;
|
|
228
|
+
};
|
|
229
|
+
})[];
|
|
230
|
+
})[];
|
|
231
|
+
export namespace STORIES_LAYER_DEFORESTED_BIOMASS {
|
|
232
|
+
let type_14: string;
|
|
233
|
+
export { type_14 as type };
|
|
234
|
+
export namespace properties_7 {
|
|
235
|
+
let id_5: string;
|
|
236
|
+
export { id_5 as id };
|
|
237
|
+
let title_7: string;
|
|
238
|
+
export { title_7 as title };
|
|
239
|
+
export let layerControlToolsExpand: boolean;
|
|
240
|
+
export namespace layerConfig {
|
|
241
|
+
namespace schema {
|
|
242
|
+
let type_15: string;
|
|
243
|
+
export { type_15 as type };
|
|
244
|
+
export namespace properties_8 {
|
|
245
|
+
namespace vminmax {
|
|
246
|
+
let type_16: string;
|
|
247
|
+
export { type_16 as type };
|
|
248
|
+
export namespace properties_9 {
|
|
249
|
+
namespace vmin {
|
|
250
|
+
let type_17: string;
|
|
251
|
+
export { type_17 as type };
|
|
252
|
+
export let minimum: number;
|
|
253
|
+
export let maximum: number;
|
|
254
|
+
let format_1: string;
|
|
255
|
+
export { format_1 as format };
|
|
256
|
+
}
|
|
257
|
+
namespace vmax {
|
|
258
|
+
let type_18: string;
|
|
259
|
+
export { type_18 as type };
|
|
260
|
+
let minimum_1: number;
|
|
261
|
+
export { minimum_1 as minimum };
|
|
262
|
+
let maximum_1: number;
|
|
263
|
+
export { maximum_1 as maximum };
|
|
264
|
+
let format_2: string;
|
|
265
|
+
export { format_2 as format };
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
export { properties_9 as properties };
|
|
269
|
+
let format_3: string;
|
|
270
|
+
export { format_3 as format };
|
|
271
|
+
}
|
|
272
|
+
namespace cbar {
|
|
273
|
+
let type_19: string;
|
|
274
|
+
export { type_19 as type };
|
|
275
|
+
let _enum: string[];
|
|
276
|
+
export { _enum as enum };
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
export { properties_8 as properties };
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
export { properties_7 as properties };
|
|
284
|
+
export namespace source_7 {
|
|
285
|
+
let type_20: string;
|
|
286
|
+
export { type_20 as type };
|
|
287
|
+
let url_3: string;
|
|
288
|
+
export { url_3 as url };
|
|
289
|
+
}
|
|
290
|
+
export { source_7 as source };
|
|
291
|
+
}
|
|
292
|
+
export namespace STORIES_LAYER_CROPOMHUSC2 {
|
|
293
|
+
let type_21: string;
|
|
294
|
+
export { type_21 as type };
|
|
295
|
+
export namespace source_8 {
|
|
296
|
+
let type_22: string;
|
|
297
|
+
export { type_22 as type };
|
|
298
|
+
let url_4: string;
|
|
299
|
+
export { url_4 as url };
|
|
300
|
+
let format_4: string;
|
|
301
|
+
export { format_4 as format };
|
|
302
|
+
}
|
|
303
|
+
export { source_8 as source };
|
|
304
|
+
export namespace properties_10 {
|
|
305
|
+
let id_6: string;
|
|
306
|
+
export { id_6 as id };
|
|
307
|
+
let title_8: string;
|
|
308
|
+
export { title_8 as title };
|
|
309
|
+
export namespace layerConfig_1 {
|
|
310
|
+
export { JSONFORM_SCHEMA_LAYER_CROPOMHUSC2 as schema };
|
|
311
|
+
export { STYLES_LAYER_CROPOMHUSC2 as style };
|
|
312
|
+
}
|
|
313
|
+
export { layerConfig_1 as layerConfig };
|
|
314
|
+
}
|
|
315
|
+
export { properties_10 as properties };
|
|
316
|
+
}
|
|
317
|
+
export namespace STORIES_LAYER_SEE {
|
|
318
|
+
let type_23: string;
|
|
319
|
+
export { type_23 as type };
|
|
320
|
+
export { STYLES_LAYER_SEE as style };
|
|
321
|
+
export namespace properties_11 {
|
|
322
|
+
let id_7: symbol;
|
|
323
|
+
export { id_7 as id };
|
|
324
|
+
let title_9: string;
|
|
325
|
+
export { title_9 as title };
|
|
326
|
+
export { LAYERCONFIG_LAYER_SEE as layerConfig };
|
|
327
|
+
}
|
|
328
|
+
export { properties_11 as properties };
|
|
329
|
+
export namespace source_9 {
|
|
330
|
+
let type_24: string;
|
|
331
|
+
export { type_24 as type };
|
|
332
|
+
let normalize_1: boolean;
|
|
333
|
+
export { normalize_1 as normalize };
|
|
334
|
+
let sources_1: {
|
|
335
|
+
url: string;
|
|
336
|
+
}[];
|
|
337
|
+
export { sources_1 as sources };
|
|
338
|
+
}
|
|
339
|
+
export { source_9 as source };
|
|
340
|
+
}
|
|
341
|
+
export namespace STORIES_LAYER_VESSEL_DENSITY_CARGO {
|
|
342
|
+
let type_25: string;
|
|
343
|
+
export { type_25 as type };
|
|
344
|
+
export namespace properties_12 {
|
|
345
|
+
let id_8: string;
|
|
346
|
+
export { id_8 as id };
|
|
347
|
+
let title_10: string;
|
|
348
|
+
export { title_10 as title };
|
|
349
|
+
export let layerControlExpand: boolean;
|
|
350
|
+
let layerControlToolsExpand_1: boolean;
|
|
351
|
+
export { layerControlToolsExpand_1 as layerControlToolsExpand };
|
|
352
|
+
export namespace layerLegend {
|
|
353
|
+
let title_11: string;
|
|
354
|
+
export { title_11 as title };
|
|
355
|
+
export let domain: number[];
|
|
356
|
+
export let range: string[];
|
|
357
|
+
}
|
|
358
|
+
export namespace layerDatetime {
|
|
359
|
+
let disablePlay: boolean;
|
|
360
|
+
let slider: boolean;
|
|
361
|
+
let currentStep: string;
|
|
362
|
+
let controlValues: string[];
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
export { properties_12 as properties };
|
|
366
|
+
export namespace source_10 {
|
|
367
|
+
let type_26: string;
|
|
368
|
+
export { type_26 as type };
|
|
369
|
+
let url_5: string;
|
|
370
|
+
export { url_5 as url };
|
|
371
|
+
export namespace params_2 {
|
|
372
|
+
let LAYERS_2: string[];
|
|
373
|
+
export { LAYERS_2 as LAYERS };
|
|
374
|
+
export let TILED: boolean;
|
|
375
|
+
export let TIME: string;
|
|
376
|
+
}
|
|
377
|
+
export { params_2 as params };
|
|
378
|
+
}
|
|
379
|
+
export { source_10 as source };
|
|
380
|
+
}
|
|
381
|
+
declare const SENTINEL_HUB_URL: "https://services.sentinel-hub.com/ogc/wms/0635c213-17a1-48ee-aef7-9d1731695a54";
|
|
382
|
+
declare namespace JSONFORM_SCHEMA_LAYER_CROPOMHUSC2 {
|
|
383
|
+
let type_27: string;
|
|
384
|
+
export { type_27 as type };
|
|
385
|
+
let title_12: string;
|
|
386
|
+
export { title_12 as title };
|
|
387
|
+
export namespace properties_13 {
|
|
388
|
+
export namespace crop {
|
|
389
|
+
let title_13: string;
|
|
390
|
+
export { title_13 as title };
|
|
391
|
+
let type_28: string;
|
|
392
|
+
export { type_28 as type };
|
|
393
|
+
let _enum_1: string[];
|
|
394
|
+
export { _enum_1 as enum };
|
|
395
|
+
let _default: string;
|
|
396
|
+
export { _default as default };
|
|
397
|
+
}
|
|
398
|
+
export namespace vstat {
|
|
399
|
+
let title_14: string;
|
|
400
|
+
export { title_14 as title };
|
|
401
|
+
let type_29: string;
|
|
402
|
+
export { type_29 as type };
|
|
403
|
+
let _enum_2: string[];
|
|
404
|
+
export { _enum_2 as enum };
|
|
405
|
+
let _default_1: string;
|
|
406
|
+
export { _default_1 as default };
|
|
407
|
+
}
|
|
408
|
+
export namespace vminmax_1 {
|
|
409
|
+
let title_15: string;
|
|
410
|
+
export { title_15 as title };
|
|
411
|
+
let description_1: string;
|
|
412
|
+
export { description_1 as description };
|
|
413
|
+
let type_30: string;
|
|
414
|
+
export { type_30 as type };
|
|
415
|
+
export namespace properties_14 {
|
|
416
|
+
export namespace vmin_1 {
|
|
417
|
+
let type_31: string;
|
|
418
|
+
export { type_31 as type };
|
|
419
|
+
let minimum_2: number;
|
|
420
|
+
export { minimum_2 as minimum };
|
|
421
|
+
let maximum_2: number;
|
|
422
|
+
export { maximum_2 as maximum };
|
|
423
|
+
let format_5: string;
|
|
424
|
+
export { format_5 as format };
|
|
425
|
+
let _default_2: number;
|
|
426
|
+
export { _default_2 as default };
|
|
427
|
+
}
|
|
428
|
+
export { vmin_1 as vmin };
|
|
429
|
+
export namespace vmax_1 {
|
|
430
|
+
let type_32: string;
|
|
431
|
+
export { type_32 as type };
|
|
432
|
+
let minimum_3: number;
|
|
433
|
+
export { minimum_3 as minimum };
|
|
434
|
+
let maximum_3: number;
|
|
435
|
+
export { maximum_3 as maximum };
|
|
436
|
+
let format_6: string;
|
|
437
|
+
export { format_6 as format };
|
|
438
|
+
let _default_3: number;
|
|
439
|
+
export { _default_3 as default };
|
|
440
|
+
}
|
|
441
|
+
export { vmax_1 as vmax };
|
|
442
|
+
}
|
|
443
|
+
export { properties_14 as properties };
|
|
444
|
+
let format_7: string;
|
|
445
|
+
export { format_7 as format };
|
|
446
|
+
}
|
|
447
|
+
export { vminmax_1 as vminmax };
|
|
448
|
+
}
|
|
449
|
+
export { properties_13 as properties };
|
|
450
|
+
}
|
|
451
|
+
declare const STYLES_LAYER_CROPOMHUSC2: {
|
|
452
|
+
variables: {
|
|
453
|
+
vmin: number;
|
|
454
|
+
vmax: number;
|
|
455
|
+
crop: string;
|
|
456
|
+
vstat: string;
|
|
457
|
+
};
|
|
458
|
+
"fill-color": (string | (string | number | number[] | (string | (string | (string | string[])[])[])[])[])[];
|
|
459
|
+
"stroke-color": string;
|
|
460
|
+
"stroke-width": number;
|
|
461
|
+
};
|
|
462
|
+
declare namespace STYLES_LAYER_SEE {
|
|
463
|
+
export namespace variables_1 {
|
|
464
|
+
let vmin_2: number;
|
|
465
|
+
export { vmin_2 as vmin };
|
|
466
|
+
let vmax_2: number;
|
|
467
|
+
export { vmax_2 as vmax };
|
|
468
|
+
export let settlementDistance: number;
|
|
469
|
+
}
|
|
470
|
+
export { variables_1 as variables };
|
|
471
|
+
let color_1: (string | (string | (string | number | (string | number)[])[])[] | (string | number | number[] | (string | (string | (string | number)[])[])[])[])[];
|
|
472
|
+
export { color_1 as color };
|
|
473
|
+
}
|
|
474
|
+
declare namespace LAYERCONFIG_LAYER_SEE {
|
|
475
|
+
let type_33: string;
|
|
476
|
+
export { type_33 as type };
|
|
477
|
+
export namespace legend {
|
|
478
|
+
let title_16: string;
|
|
479
|
+
export { title_16 as title };
|
|
480
|
+
let range_1: string[];
|
|
481
|
+
export { range_1 as range };
|
|
482
|
+
export let domainProperties: string[];
|
|
483
|
+
}
|
|
484
|
+
export namespace schema_1 {
|
|
485
|
+
let type_34: string;
|
|
486
|
+
export { type_34 as type };
|
|
487
|
+
let title_17: string;
|
|
488
|
+
export { title_17 as title };
|
|
489
|
+
export namespace properties_15 {
|
|
490
|
+
export namespace settlementDistance_1 {
|
|
491
|
+
let type_35: string;
|
|
492
|
+
export { type_35 as type };
|
|
493
|
+
let minimum_4: number;
|
|
494
|
+
export { minimum_4 as minimum };
|
|
495
|
+
let maximum_4: number;
|
|
496
|
+
export { maximum_4 as maximum };
|
|
497
|
+
let format_8: string;
|
|
498
|
+
export { format_8 as format };
|
|
499
|
+
let _default_4: number;
|
|
500
|
+
export { _default_4 as default };
|
|
501
|
+
}
|
|
502
|
+
export { settlementDistance_1 as settlementDistance };
|
|
503
|
+
export namespace vminmax_2 {
|
|
504
|
+
let title_18: string;
|
|
505
|
+
export { title_18 as title };
|
|
506
|
+
let description_2: string;
|
|
507
|
+
export { description_2 as description };
|
|
508
|
+
let type_36: string;
|
|
509
|
+
export { type_36 as type };
|
|
510
|
+
export namespace properties_16 {
|
|
511
|
+
export namespace vmin_3 {
|
|
512
|
+
let type_37: string;
|
|
513
|
+
export { type_37 as type };
|
|
514
|
+
let minimum_5: number;
|
|
515
|
+
export { minimum_5 as minimum };
|
|
516
|
+
let maximum_5: number;
|
|
517
|
+
export { maximum_5 as maximum };
|
|
518
|
+
let format_9: string;
|
|
519
|
+
export { format_9 as format };
|
|
520
|
+
let _default_5: number;
|
|
521
|
+
export { _default_5 as default };
|
|
522
|
+
}
|
|
523
|
+
export { vmin_3 as vmin };
|
|
524
|
+
export namespace vmax_3 {
|
|
525
|
+
let type_38: string;
|
|
526
|
+
export { type_38 as type };
|
|
527
|
+
let minimum_6: number;
|
|
528
|
+
export { minimum_6 as minimum };
|
|
529
|
+
let maximum_6: number;
|
|
530
|
+
export { maximum_6 as maximum };
|
|
531
|
+
let format_10: string;
|
|
532
|
+
export { format_10 as format };
|
|
533
|
+
let _default_6: number;
|
|
534
|
+
export { _default_6 as default };
|
|
535
|
+
}
|
|
536
|
+
export { vmax_3 as vmax };
|
|
537
|
+
}
|
|
538
|
+
export { properties_16 as properties };
|
|
539
|
+
let format_11: string;
|
|
540
|
+
export { format_11 as format };
|
|
541
|
+
}
|
|
542
|
+
export { vminmax_2 as vminmax };
|
|
543
|
+
}
|
|
544
|
+
export { properties_15 as properties };
|
|
545
|
+
}
|
|
546
|
+
export { schema_1 as schema };
|
|
547
|
+
}
|
|
548
|
+
export {};
|
|
549
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAiBA,iFACmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuBE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5IF,iHACmF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLnF;;;;;;;;;;EA2DE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initially check if all layers have an id and title,
|
|
3
|
+
* fill in some backup in case they haven't
|
|
4
|
+
*
|
|
5
|
+
* @param {import("ol").Collection<import("ol/layer").Layer | import("ol/layer").Group>} collection - The collection of layers to be checked.
|
|
6
|
+
* @param {string} idProperty - The property used as the ID.
|
|
7
|
+
* @param {string} titleProperty - The property used as the title.
|
|
8
|
+
* @param {import("lit").LitElement} that - The LitElement instance.
|
|
9
|
+
*/
|
|
10
|
+
export default function checkProperties(collection: import("ol").Collection<import("ol/layer").Layer | import("ol/layer").Group>, idProperty: string, titleProperty: string, that: import("lit").LitElement): void;
|
|
11
|
+
//# sourceMappingURL=check-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-properties.d.ts","sourceRoot":"","sources":["../../../../src/helpers/check-properties.js"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oDANW,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC,cAC5E,MAAM,iBACN,MAAM,QACN,OAAO,KAAK,EAAE,UAAU,QAiClC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cleans up the input string to ensure valid JSON format and triggers an update.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} json - JSON Input string
|
|
5
|
+
* @return {string} - Cleaned and valid JSON string
|
|
6
|
+
*/
|
|
7
|
+
export default function cleanJSONInput(json: string): string;
|
|
8
|
+
//# sourceMappingURL=clean-json-input.d.ts.map
|
|
@@ -0,0 +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,CAwBjB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initializes the sortable functionality for a given element.
|
|
3
|
+
* This handles the drag-and-drop sorting of elements within the specified element.
|
|
4
|
+
*
|
|
5
|
+
* @param {HTMLElement} element - The HTML element to make sortable.
|
|
6
|
+
* @param {import("ol").Collection<import("ol/layer").Layer | import("ol/layer").Group>} collection - Collection of layers.
|
|
7
|
+
* @param {string} idProperty - The property used as an identifier.
|
|
8
|
+
* @param {import("lit").LitElement} that - The LitElement instance.
|
|
9
|
+
*/
|
|
10
|
+
export default function createSortable(element: HTMLElement, collection: import("ol").Collection<import("ol/layer").Layer | import("ol/layer").Group>, idProperty: string, that: import("lit").LitElement): void;
|
|
11
|
+
//# sourceMappingURL=create-sortable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sortable.d.ts","sourceRoot":"","sources":["../../../../src/helpers/create-sortable.js"],"names":[],"mappings":"AAwEA;;;;;;;;GAQG;AACH,gDALW,WAAW,cACX,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC,cAC5E,MAAM,QACN,OAAO,KAAK,EAAE,UAAU,QAwBlC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Detects the type of map URL based on WMS and XYZ patterns.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} url - The URL to analyze.
|
|
5
|
+
* @returns {"TileWMS" | false | "XYZ"} - The detected map URL type, or false if not recognized.
|
|
6
|
+
*/
|
|
7
|
+
export default function detectMapURLType(url: string): "TileWMS" | false | "XYZ";
|
|
8
|
+
//# sourceMappingURL=detect-map-url-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-map-url-type.d.ts","sourceRoot":"","sources":["../../../../src/helpers/detect-map-url-type.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,8CAHW,MAAM,GACJ,SAAS,GAAG,KAAK,GAAG,KAAK,CAerC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fetches WMS capabilities data from the provided original URL.
|
|
3
|
+
* It constructs a new URL with additional parameters, makes a fetch request,
|
|
4
|
+
* and returns the WMS capabilities in JSON format.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} originalURL - The original URL to fetch capabilities from.
|
|
7
|
+
* @returns {Promise<import("wms-capabilities").WMSCapabilitiesJSON>} - A Promise resolving to the fetched WMS capabilities in JSON format.
|
|
8
|
+
*/
|
|
9
|
+
export default function fetchCapabilities(originalURL: string): Promise<import("wms-capabilities").WMSCapabilitiesJSON>;
|
|
10
|
+
//# sourceMappingURL=fetch-capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-capabilities.d.ts","sourceRoot":"","sources":["../../../../src/helpers/fetch-capabilities.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,uDAHW,MAAM,GACJ,QAAQ,OAAO,kBAAkB,EAAE,mBAAmB,CAAC,CAuBnE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter all map layers by property.
|
|
3
|
+
*
|
|
4
|
+
* @param {any[]} layers - Array of layers to search through.
|
|
5
|
+
* @param {string} key - Property key to filter by.
|
|
6
|
+
* @param {any} value - Value to match against the property.
|
|
7
|
+
* @returns {Array<import("ol/layer").Group>} - Array of found layers.
|
|
8
|
+
*/
|
|
9
|
+
export default function filterLayers(layers: any[], key: string, value: any): Array<import("ol/layer").Group>;
|
|
10
|
+
//# sourceMappingURL=filter-layers.d.ts.map
|
|
@@ -0,0 +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,MAAM,OAAO,UAAU,EAAE,KAAK,CAAC,CAsC3C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tries to infer the layer type based on certain properties without direct dependency on OL.
|
|
3
|
+
*
|
|
4
|
+
* @param {import("ol/layer").Layer | import("ol/layer").Group} layer - The layer or layer group.
|
|
5
|
+
* @param {import("ol").Map} map - The OL map instance.
|
|
6
|
+
* @returns {string|undefined} - The inferred layer type: "group", "draw", "vector", "raster", or undefined if not determinable.
|
|
7
|
+
*/
|
|
8
|
+
export default function getLayerType(layer: import("ol/layer").Layer | import("ol/layer").Group, map: import("ol").Map): string | undefined;
|
|
9
|
+
//# sourceMappingURL=get-layer-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-layer-type.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-layer-type.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,4CAJW,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,OACnD,OAAO,IAAI,EAAE,GAAG,GACd,MAAM,GAAC,SAAS,CA6B5B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default getLegendConfig;
|
|
2
|
+
/**
|
|
3
|
+
* extracts legend configurations from `LayerConfig`
|
|
4
|
+
*
|
|
5
|
+
* @param {import("../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]["legend"]} legendConfig
|
|
6
|
+
* @param {Record<string,unknown>} data
|
|
7
|
+
*/
|
|
8
|
+
declare function getLegendConfig(legendConfig: import("../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]["legend"], data: Record<string, unknown>): import("../components/layer-legend").LegendConfig | {
|
|
9
|
+
domain?: string[] | number[];
|
|
10
|
+
width?: number;
|
|
11
|
+
range: string[];
|
|
12
|
+
title?: string;
|
|
13
|
+
tickFormat?: string;
|
|
14
|
+
ticks?: number;
|
|
15
|
+
tickValues?: number[];
|
|
16
|
+
scaleType?: import("color-legend-element").ScaleType;
|
|
17
|
+
markType?: import("color-legend-element").MarkType;
|
|
18
|
+
domainProperties: string[];
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=get-legend-config.d.ts.map
|
|
@@ -0,0 +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,OAAO,MAAM,EAAC,OAAO,CAAC;;;;;;;;;;;EAiBhC"}
|