@eox/layercontrol 1.10.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/eox-layercontrol.js +903 -744
  2. package/dist/eox-layercontrol.umd.cjs +144 -139
  3. package/package.json +5 -5
  4. package/src/components/add-layers.js +6 -6
  5. package/src/components/layer-config.js +26 -20
  6. package/src/components/layer-datetime.js +23 -6
  7. package/src/components/layer-group.js +9 -9
  8. package/src/components/layer-legend.js +3 -3
  9. package/src/components/layer-list.js +9 -9
  10. package/src/components/layer-tools.js +44 -9
  11. package/src/components/layer.js +38 -15
  12. package/src/components/optional-list.js +5 -5
  13. package/src/components/tools-items.js +12 -6
  14. package/src/helpers/clean-json-input.js +1 -1
  15. package/src/helpers/create-sortable.js +8 -0
  16. package/src/helpers/get-legend-config.js +16 -1
  17. package/src/helpers/handle-datetime-update.js +31 -5
  18. package/src/helpers/is-layer-visible-based-on-zoom-state.js +2 -2
  19. package/src/helpers/is-layer-zoom-state-req.js +2 -2
  20. package/src/helpers/update-geozarr-band.js +18 -126
  21. package/src/helpers/update-url.js +3 -3
  22. package/src/main.js +33 -17
  23. package/src/methods/add-layer/add-layer.js +7 -0
  24. package/src/methods/add-layer/wms-search-url.js +1 -1
  25. package/src/methods/layer/first-updated.js +47 -26
  26. package/src/methods/layer-config/apply-updated-styles.js +8 -5
  27. package/src/methods/layer-config/data-change.js +1 -1
  28. package/src/methods/optional-list/add-to-list.js +1 -1
  29. package/types/components/add-layers.d.ts +6 -6
  30. package/types/components/add-layers.d.ts.map +1 -1
  31. package/types/components/layer-config.d.ts +3 -3
  32. package/types/components/layer-config.d.ts.map +1 -1
  33. package/types/components/layer-datetime.d.ts +3 -3
  34. package/types/components/layer-datetime.d.ts.map +1 -1
  35. package/types/components/layer-group.d.ts +9 -9
  36. package/types/components/layer-group.d.ts.map +1 -1
  37. package/types/components/layer-legend.d.ts +3 -3
  38. package/types/components/layer-legend.d.ts.map +1 -1
  39. package/types/components/layer-list.d.ts +9 -9
  40. package/types/components/layer-list.d.ts.map +1 -1
  41. package/types/components/layer-tools.d.ts +6 -6
  42. package/types/components/layer-tools.d.ts.map +1 -1
  43. package/types/components/layer.d.ts +9 -14
  44. package/types/components/layer.d.ts.map +1 -1
  45. package/types/components/optional-list.d.ts +5 -5
  46. package/types/components/optional-list.d.ts.map +1 -1
  47. package/types/components/tools-items.d.ts +5 -5
  48. package/types/components/tools-items.d.ts.map +1 -1
  49. package/types/helpers/clean-json-input.d.ts +1 -1
  50. package/types/helpers/clean-json-input.d.ts.map +1 -1
  51. package/types/helpers/create-sortable.d.ts.map +1 -1
  52. package/types/helpers/get-legend-config.d.ts.map +1 -1
  53. package/types/helpers/handle-datetime-update.d.ts +5 -2
  54. package/types/helpers/handle-datetime-update.d.ts.map +1 -1
  55. package/types/helpers/is-layer-visible-based-on-zoom-state.d.ts +2 -2
  56. package/types/helpers/is-layer-visible-based-on-zoom-state.d.ts.map +1 -1
  57. package/types/helpers/is-layer-zoom-state-req.d.ts +2 -2
  58. package/types/helpers/is-layer-zoom-state-req.d.ts.map +1 -1
  59. package/types/helpers/update-geozarr-band.d.ts +3 -21
  60. package/types/helpers/update-geozarr-band.d.ts.map +1 -1
  61. package/types/helpers/update-url.d.ts +4 -4
  62. package/types/helpers/update-url.d.ts.map +1 -1
  63. package/types/main.d.ts +15 -11
  64. package/types/main.d.ts.map +1 -1
  65. package/types/methods/add-layer/add-layer.d.ts.map +1 -1
  66. package/types/methods/add-layer/wms-search-url.d.ts +1 -1
  67. package/types/methods/add-layer/wms-search-url.d.ts.map +1 -1
  68. package/types/methods/layer/first-updated.d.ts +3 -2
  69. package/types/methods/layer/first-updated.d.ts.map +1 -1
  70. package/types/methods/layer-config/apply-updated-styles.d.ts +2 -2
  71. package/types/methods/layer-config/apply-updated-styles.d.ts.map +1 -1
  72. package/types/methods/layer-config/data-change.d.ts +1 -1
@@ -3,7 +3,7 @@
3
3
  * Manages rendering tools and actions such as remove, sort, information display, layer configuration, and opacity adjustment.
4
4
  *
5
5
  * @element eox-layercontrol-layer-tools
6
- * @extends LitElement
6
+ * @augments LitElement
7
7
  */
8
8
  export class EOxLayerControlLayerTools extends LitElement {
9
9
  static properties: {
@@ -58,31 +58,31 @@ export class EOxLayerControlLayerTools extends LitElement {
58
58
  /**
59
59
  * Render the element without additional styles
60
60
  *
61
- * @type {Boolean}
61
+ * @type {boolean}
62
62
  */
63
63
  unstyled: boolean;
64
64
  /**
65
65
  * Renders the element without a shadow root
66
66
  *
67
- * @type {Boolean}
67
+ * @type {boolean}
68
68
  */
69
69
  noShadow: boolean;
70
70
  /**
71
71
  * If enabled, the tools section will be rendered as list.
72
72
  *
73
- * @type {Boolean}
73
+ * @type {boolean}
74
74
  */
75
75
  toolsAsList: boolean;
76
76
  /**
77
77
  * If enabled, the tools section will be opened.
78
78
  *
79
- * @type {Boolean}
79
+ * @type {boolean}
80
80
  */
81
81
  open: boolean;
82
82
  /**
83
83
  * If enabled, toggling the layer visibility will also open/close the layer tools.
84
84
  *
85
- * @type {Boolean}
85
+ * @type {boolean}
86
86
  */
87
87
  toolsAutoExpand: boolean;
88
88
  embedded: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../src/components/layer-tools.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcE;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;IAExB;;;;OAIG;IACH,cAAiB;IAEjB;;;;OAIG;IACH,yBAA4B;IAW1B,kBAA4D;IAc9D;;;;;;OAMG;IACH,8BAAgC;IAEhC;;;;OAIG;IACH,kBAFU,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,CAEL;IAU9B,qBAWC;IAED,sCAQC;IAmBD,gBAAiB,SAAI,2CAA8B;IAGnD,cAAe,SAAI,2CAA2C;IAE9D;;;;;;OAMG;IACH,UAAW,MAHA,MAGI,EAAE,SAAI,KAFR,OAAO,KAAK,EAAE,kBAAkB,CAEe;IAE5D,mBAAoB,UAAK,0CA8EvB;IAEF,+CA2DC;;CAgEF;2BAlZgC,KAAK"}
1
+ {"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../src/components/layer-tools.js"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcE;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,aAFU,OAAO,CAEO;IAExB;;;;OAIG;IACH,MAFU,OAAO,CAEA;IAEjB;;;;OAIG;IACH,iBAFU,OAAO,CAEW;IAW1B,kBAA4D;IAc9D;;;;;;OAMG;IACH,8BAAgC;IAEhC;;;;OAIG;IACH,kBAFU,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,CAEL;IAU9B,qBAWC;IAED,sCAQC;IAoBD,gBAAiB,SAAI,2CAA8B;IAGnD,cAAe,SAAI,2CAA2C;IAE9D;;;;;;OAMG;IACH,UAAW,MAHA,MAGI,EAAE,SAAI,KAFR,OAAO,KAAK,EAAE,kBAAkB,CAEe;IAE5D,mBAAoB,UAAK,0CA4FvB;IAIF,+CA4EC;;CAgEF;2BArbgC,KAAK"}
@@ -3,7 +3,7 @@
3
3
  * This component encapsulates functionalities for handling layers, their properties, and associated tools within the OpenLayers map context.
4
4
  *
5
5
  * @element eox-layercontrol-layer
6
- * @extends LitElement
6
+ * @augments LitElement
7
7
  */
8
8
  export class EOxLayerControlLayer extends LitElement {
9
9
  static properties: {
@@ -56,7 +56,7 @@ export class EOxLayerControlLayer extends LitElement {
56
56
  /**
57
57
  * Represents the current layer visibility based on zoom level.
58
58
  *
59
- * @type {Boolean}
59
+ * @type {boolean}
60
60
  */
61
61
  currLayerVisibilityBasedOnZoom: boolean;
62
62
  /**
@@ -82,13 +82,13 @@ export class EOxLayerControlLayer extends LitElement {
82
82
  /**
83
83
  * The layer title property
84
84
  *
85
- * @type {String}
85
+ * @type {string}
86
86
  */
87
87
  titleProperty: string;
88
88
  /**
89
89
  * Show layer state based on zoom level or not
90
90
  *
91
- * @type {Boolean}
91
+ * @type {boolean}
92
92
  */
93
93
  showLayerZoomState: boolean;
94
94
  /**
@@ -100,31 +100,31 @@ export class EOxLayerControlLayer extends LitElement {
100
100
  /**
101
101
  * Render the element without additional styles
102
102
  *
103
- * @type {Boolean}
103
+ * @type {boolean}
104
104
  */
105
105
  unstyled: boolean;
106
106
  /**
107
107
  * Renders the element without a shadow root
108
108
  *
109
- * @type {Boolean}
109
+ * @type {boolean}
110
110
  */
111
111
  noShadow: boolean;
112
112
  /**
113
113
  * If enabled, the tools section will be rendered as list.
114
114
  *
115
- * @type {Boolean}
115
+ * @type {boolean}
116
116
  */
117
117
  toolsAsList: boolean;
118
118
  /**
119
119
  * If enabled, toggling the layer visibility will also open/close the layer tools.
120
120
  *
121
- * @type {Boolean}
121
+ * @type {boolean}
122
122
  */
123
123
  toolsAutoExpand: boolean;
124
124
  /**
125
125
  * If enabled, exclusive layers (marked with the property `layerControlExclusive`) will be globally exclusive (default: exclusive within their layer group).
126
126
  *
127
- * @type {Boolean}
127
+ * @type {boolean}
128
128
  */
129
129
  globallyExclusiveLayers: boolean;
130
130
  /**
@@ -141,11 +141,6 @@ export class EOxLayerControlLayer extends LitElement {
141
141
  * @type {Record<string,string[]>}
142
142
  */
143
143
  colormapRegistry: Record<string, string[]>;
144
- /**
145
- * Check and update layer zoom visibility at beginning
146
- * and register "change:resolution" ones at the beginning if `showLayerZoomState` is present
147
- */
148
- firstUpdated(): void;
149
144
  /**
150
145
  * Renders layer controls and tools with conditional display based on certain properties.
151
146
  * Conditionally renders layer visibility controls, title, and tools for the layer based on availability and settings.
@@ -1 +1 @@
1
- {"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../src/components/layer.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiBE;IAEF;;;;OAIG;IACH,wCAAsC;IAKpC;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,WAFU,MAAM,GAAC,SAAS,CAEA;IAE1B;;;;;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;IAExB;;;;OAIG;IACH,yBAA4B;IAE5B;;;;OAIG;IACH,iCAAoC;IAEpC;;;;;;OAMG;IACH,8BAAgC;IAEhC;;;;OAIG;IACH,kBAFU,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,CAEL;IAoB9B;;;OAGG;IACH,qBAEC;IAWD;;;;OAIG;IACH,+CAqNC;;CAuEF;2BAtdyC,KAAK"}
1
+ {"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../src/components/layer.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiBE;IAEF;;;;OAIG;IACH,gCAFU,OAAO,CAEqB;IAKpC;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,WAFU,MAAM,GAAC,SAAS,CAEA;IAE1B;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,eAFU,MAAM,CAEY;IAE5B;;;;OAIG;IACH,oBAFU,OAAO,CAEc;IAE/B;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,aAFU,OAAO,CAEO;IAExB;;;;OAIG;IACH,iBAFU,OAAO,CAEW;IAE5B;;;;OAIG;IACH,yBAFU,OAAO,CAEmB;IAEpC;;;;;;OAMG;IACH,8BAAgC;IAEhC;;;;OAIG;IACH,kBAFU,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,CAEL;IA4D9B;;;;OAIG;IACH,+CAqNC;;CAuEF;2BA7eyC,KAAK"}
@@ -4,7 +4,7 @@
4
4
  * It offers the ability to filter layers based on specific properties and provides a method to handle the addition of selected layers to a list.
5
5
  *
6
6
  * @element eox-layercontrol-optional-list
7
- * @extends LitElement
7
+ * @augments LitElement
8
8
  */
9
9
  export class EOxLayerControlOptionalList extends LitElement {
10
10
  static properties: {
@@ -28,7 +28,7 @@ export class EOxLayerControlOptionalList extends LitElement {
28
28
  /**
29
29
  * The layer id property
30
30
  *
31
- * @type {String}
31
+ * @type {string}
32
32
  */
33
33
  idProperty: string;
34
34
  /**
@@ -41,19 +41,19 @@ export class EOxLayerControlOptionalList extends LitElement {
41
41
  /**
42
42
  * The layer title property
43
43
  *
44
- * @type {String}
44
+ * @type {string}
45
45
  */
46
46
  titleProperty: string;
47
47
  /**
48
48
  * Render the element without additional styles
49
49
  *
50
- * @type {Boolean}
50
+ * @type {boolean}
51
51
  */
52
52
  unstyled: boolean;
53
53
  /**
54
54
  * Renders the element without a shadow root
55
55
  *
56
- * @type {Boolean}
56
+ * @type {boolean}
57
57
  */
58
58
  noShadow: boolean;
59
59
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"optional-list.d.ts","sourceRoot":"","sources":["../../src/components/optional-list.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;;;;;MAME;IAKA;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,QAHU,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,CAAC,CAGzC;IAElB;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAkBvB;;;;OAIG;IACH,+CA0CC;;CACF;2BA7HgC,KAAK"}
1
+ {"version":3,"file":"optional-list.d.ts","sourceRoot":"","sources":["../../src/components/optional-list.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;;;;;MAME;IAKA;;;;OAIG;IACH,YAFU,MAAM,CAEM;IAEtB;;;;;OAKG;IACH,QAHU,OAAO,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,EAAE,KAAK,CAAC,CAGzC;IAElB;;;;OAIG;IACH,eAFU,MAAM,CAEY;IAE5B;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAkBvB;;;;OAIG;IACH,+CA0CC;;CACF;2BA7HgC,KAAK"}
@@ -22,32 +22,32 @@ export class EOxLayerControlTabs extends LitElement {
22
22
  /**
23
23
  * List of action ids
24
24
  *
25
- * @type {Array<String>}
25
+ * @type {Array<string>}
26
26
  */
27
27
  actions: Array<string>;
28
28
  selectedTab: number;
29
29
  /**
30
30
  * List of tab ids
31
31
  *
32
- * @type {Array<String>}
32
+ * @type {Array<string>}
33
33
  */
34
34
  tabs: Array<string>;
35
35
  /**
36
36
  * Render the element without additional styles
37
37
  *
38
- * @type {Boolean}
38
+ * @type {boolean}
39
39
  */
40
40
  unstyled: boolean;
41
41
  /**
42
42
  * Renders the element without a shadow root
43
43
  *
44
- * @type {Boolean}
44
+ * @type {boolean}
45
45
  */
46
46
  noShadow: boolean;
47
47
  /**
48
48
  * If enabled, the tools section will be rendered as list.
49
49
  *
50
- * @type {Boolean}
50
+ * @type {boolean}
51
51
  */
52
52
  toolsAsList: boolean;
53
53
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tools-items.d.ts","sourceRoot":"","sources":["../../src/components/tools-items.js"],"names":[],"mappings":"AAKA;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,+CAkFC;;CA0DF;2BApNgC,KAAK"}
1
+ {"version":3,"file":"tools-items.d.ts","sourceRoot":"","sources":["../../src/components/tools-items.js"],"names":[],"mappings":"AAMA;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;OAIG;IACH,SAFU,KAAK,CAAC,MAAM,CAAC,CAEN;IAEjB,oBAAoB;IAEpB;;;;OAIG;IACH,MAFU,KAAK,CAAC,MAAM,CAAC,CAET;IAEd;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,aAFU,OAAO,CAEO;IAc1B;;;OAGG;IACH,+CAuFC;;CA0DF;2BA1NgC,KAAK"}
@@ -2,7 +2,7 @@
2
2
  * Cleans up the input string to ensure valid JSON format and triggers an update.
3
3
  *
4
4
  * @param {string} json - JSON Input string
5
- * @return {string} - Cleaned and valid JSON string
5
+ * @returns {string} - Cleaned and valid JSON string
6
6
  */
7
7
  export default function cleanJSONInput(json: string): string;
8
8
  //# sourceMappingURL=clean-json-input.d.ts.map
@@ -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,CAuBjB"}
1
+ {"version":3,"file":"clean-json-input.d.ts","sourceRoot":"","sources":["../../src/helpers/clean-json-input.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6CAHW,MAAM,GACJ,MAAM,CAuBlB"}
@@ -1 +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,QA2BlC"}
1
+ {"version":3,"file":"create-sortable.d.ts","sourceRoot":"","sources":["../../src/helpers/create-sortable.js"],"names":[],"mappings":"AAgFA;;;;;;;;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,QA2BlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AACA;;;;;;GAMG;AACH,+CAJW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,qBACtB,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,uDAyEjC"}
1
+ {"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,+CAJW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,qBACtB,MAAM,CAAC,MAAM,EAAC,MAAM,EAAE,CAAC,uDAuFjC"}
@@ -6,8 +6,11 @@
6
6
  export function updateLayerSlice(layer: import("ol/layer").Layer, datetime: string): void;
7
7
  /**
8
8
  * Dispatches datetime updates from layer datetime to the layercontrol
9
- * @param {CustomEvent} evt
9
+ * @param {CustomEvent & { isUser?: boolean }} evt
10
10
  * @param {HTMLElement} element
11
+ * @param {boolean} [activity=false]
11
12
  */
12
- export function handleDatetimeUpdate(evt: CustomEvent, element: HTMLElement): void;
13
+ export function handleDatetimeUpdate(evt: CustomEvent & {
14
+ isUser?: boolean;
15
+ }, element: HTMLElement, activity?: boolean): void;
13
16
  //# sourceMappingURL=handle-datetime-update.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-datetime-update.d.ts","sourceRoot":"","sources":["../../src/helpers/handle-datetime-update.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wCAHW,OAAO,UAAU,EAAE,KAAK,YACxB,MAAM,QAQhB;AAED;;;;GAIG;AACH,0CAHW,WAAW,WACX,WAAW,QAMrB"}
1
+ {"version":3,"file":"handle-datetime-update.d.ts","sourceRoot":"","sources":["../../src/helpers/handle-datetime-update.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wCAHW,OAAO,UAAU,EAAE,KAAK,YACxB,MAAM,QAQhB;AAED;;;;;GAKG;AACH,0CAJW,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,WAClC,WAAW,aACX,OAAO,QA6BjB"}
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * @param {import("ol/layer").Layer | import("ol/layer").Group} layer - The layer or layer group to check visibility for.
6
6
  * @param {import("ol").Map} map - The map instance to retrieve the current zoom level.
7
- * @param {Boolean} showLayerZoomState - Flag indicating if zoom-based visibility is enabled.
8
- * @returns {Boolean} - The visibility state of the layer based on zoom levels.
7
+ * @param {boolean} showLayerZoomState - Flag indicating if zoom-based visibility is enabled.
8
+ * @returns {boolean} - The visibility state of the layer based on zoom levels.
9
9
  */
10
10
  export default function isLayerVisibleBasedOnZoomState(layer: import("ol/layer").Layer | import("ol/layer").Group, map: import("ol").Map, showLayerZoomState: boolean): boolean;
11
11
  //# sourceMappingURL=is-layer-visible-based-on-zoom-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-layer-visible-based-on-zoom-state.d.ts","sourceRoot":"","sources":["../../src/helpers/is-layer-visible-based-on-zoom-state.js"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,8DALW,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,OACnD,OAAO,IAAI,EAAE,GAAG,wCAuB1B"}
1
+ {"version":3,"file":"is-layer-visible-based-on-zoom-state.d.ts","sourceRoot":"","sources":["../../src/helpers/is-layer-visible-based-on-zoom-state.js"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,8DALW,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,OACnD,OAAO,IAAI,EAAE,GAAG,sBAChB,OAAO,GACL,OAAO,CAqBnB"}
@@ -2,8 +2,8 @@
2
2
  * Returns whether zoom layer state be enabled or not for a particular layer
3
3
  *
4
4
  * @param {import("ol/layer").Layer | import("ol/layer").Group} layer - The layer or layer group to check for zoom-based visibility.
5
- * @param {Boolean} showLayerZoomState - Flag indicating if zoom-based visibility is requested.
6
- * @returns {Boolean} - Indicates if the zoom-based layer visibility state is required.
5
+ * @param {boolean} showLayerZoomState - Flag indicating if zoom-based visibility is requested.
6
+ * @returns {boolean} - Indicates if the zoom-based layer visibility state is required.
7
7
  */
8
8
  export default function isLayerZoomStateRequired(layer: import("ol/layer").Layer | import("ol/layer").Group, showLayerZoomState: boolean): boolean;
9
9
  //# sourceMappingURL=is-layer-zoom-state-req.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-layer-zoom-state-req.d.ts","sourceRoot":"","sources":["../../src/helpers/is-layer-zoom-state-req.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wDAJW,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,wCAa7D"}
1
+ {"version":3,"file":"is-layer-zoom-state-req.d.ts","sourceRoot":"","sources":["../../src/helpers/is-layer-zoom-state-req.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wDAJW,OAAO,UAAU,EAAE,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,sBACnD,OAAO,GACL,OAAO,CAWnB"}
@@ -1,24 +1,3 @@
1
- /**
2
- * Computes an appropriate step for number/range inputs based on the range difference.
3
- * @param {number} min
4
- * @param {number} max
5
- * @returns {number}
6
- */
7
- export function computeStep(min: number, max: number): number;
8
- /**
9
- * Builds schema property definitions for min and max controls based on valid_range.
10
- * If validRange is available, uses number inputs with native incrementing buttons (format: "number").
11
- * If no validRange is available, uses range sliders (format: "range").
12
- *
13
- * @param {number} [min]
14
- * @param {number} [max]
15
- * @param {number[] | null | undefined} [validRange]
16
- * @returns {{ minProp: Record<string, any>, maxProp: Record<string, any> }}
17
- */
18
- export function buildMinMaxProperties(min?: number, max?: number, validRange?: number[] | null | undefined): {
19
- minProp: Record<string, any>;
20
- maxProp: Record<string, any>;
21
- };
22
1
  /**
23
2
  * Resolves the target min and max range for a given GeoZarr band.
24
3
  * Uses 'valid_range' from layer's _geozarrVariables if available,
@@ -46,4 +25,7 @@ export function updateGeoZarrBand(layer: import("ol/layer/Base").default | any,
46
25
  targetMin: number;
47
26
  targetMax: number;
48
27
  } | undefined>;
28
+ import { computeStep } from "@eox/elements-utils";
29
+ import { buildMinMaxProperties } from "@eox/elements-utils";
30
+ export { computeStep, buildMinMaxProperties };
49
31
  //# sourceMappingURL=update-geozarr-band.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-geozarr-band.d.ts","sourceRoot":"","sources":["../../src/helpers/update-geozarr-band.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,iCAJW,MAAM,OACN,MAAM,GACJ,MAAM,CAUlB;AAED;;;;;;;;;GASG;AACH,4CALW,MAAM,QACN,MAAM,eACN,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,GACzB;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,CAiE1E;AAED;;;;;;;;;GASG;AACH,2CALW,OAAO,eAAe,EAAE,OAAO,GAAC,GAAG,QACnC,MAAM,iBACN,GAAG,GACD;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CA2BpD;AAED;;;;;;;;GAQG;AACH,yCAJW,OAAO,eAAe,EAAE,OAAO,GAAC,GAAG,WACnC,MAAM,GACJ,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAqTzE"}
1
+ {"version":3,"file":"update-geozarr-band.d.ts","sourceRoot":"","sources":["../../src/helpers/update-geozarr-band.js"],"names":[],"mappings":"AAUA;;;;;;;;;GASG;AACH,2CALW,OAAO,eAAe,EAAE,OAAO,GAAC,GAAG,QACnC,MAAM,iBACN,GAAG,GACD;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CA0BpD;AAED;;;;;;;;GAQG;AACH,yCAJW,OAAO,eAAe,EAAE,OAAO,GAAC,GAAG,WACnC,MAAM,GACJ,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CA2RzE;4BA1UM,qBAAqB;sCAArB,qBAAqB"}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Updates the layer's URL using input values and returns the modified URL.
3
3
  *
4
- * @param {String} url - The original URL to be updated.
5
- * @param {Object} values - The key-value pairs to update in the URL.
6
- * @returns {String} - The updated URL based on the provided values.
4
+ * @param {string} url - The original URL to be updated.
5
+ * @param {object} values - The key-value pairs to update in the URL.
6
+ * @returns {string} - The updated URL based on the provided values.
7
7
  */
8
- export default function updateUrl(url: string, values: any): string;
8
+ export default function updateUrl(url: string, values: object): string;
9
9
  //# sourceMappingURL=update-url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-url.d.ts","sourceRoot":"","sources":["../../src/helpers/update-url.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oEAgCC"}
1
+ {"version":3,"file":"update-url.d.ts","sourceRoot":"","sources":["../../src/helpers/update-url.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,uCAJW,MAAM,UACN,MAAM,GACJ,MAAM,CAkClB"}
package/types/main.d.ts CHANGED
@@ -28,6 +28,10 @@
28
28
  * Usage: `import { updateVectorLayerStyle } from "@eox/layercontrol";`
29
29
  *
30
30
  * @element eox-layercontrol
31
+ * @fires {CustomEvent} layerchange - Fired when layers in the map change
32
+ * @fires {CustomEvent} layerConfig:change - Fired when layer configuration changes
33
+ * @fires {CustomEvent} datetime:updated - Fired when datetime is updated for a layer
34
+ * @fires {CustomEvent<import("@eox/elements-utils").EOxActivityDetail>} eox:activity - Fires on genuine user interactions, wrapping the original event for analytics tracking.
31
35
  */
32
36
  export class EOxLayerControl extends LitElement {
33
37
  static properties: {
@@ -85,13 +89,13 @@ export class EOxLayerControl extends LitElement {
85
89
  * Query selector of an `eox-map` (`String`, passed as an attribute or property)
86
90
  * or an `eox-map` DOM element (`HTMLElement`, passed as property)
87
91
  *
88
- * @type {String|HTMLElement}
92
+ * @type {string | HTMLElement}
89
93
  */
90
94
  for: string | HTMLElement;
91
95
  /**
92
96
  * Layer id property
93
97
  *
94
- * @type {String}
98
+ * @type {string}
95
99
  */
96
100
  idProperty: string;
97
101
  /**
@@ -104,55 +108,55 @@ export class EOxLayerControl extends LitElement {
104
108
  /**
105
109
  * Layer title property
106
110
  *
107
- * @type {String}
111
+ * @type {string}
108
112
  */
109
113
  titleProperty: string;
110
114
  /**
111
115
  * Show layer state based on zoom level or not
112
116
  *
113
- * @type {Boolean}
117
+ * @type {boolean}
114
118
  */
115
119
  showLayerZoomState: boolean;
116
120
  /**
117
121
  * Layer tools
118
122
  *
119
- * @type {Array<String>}
123
+ * @type {Array<string>}
120
124
  */
121
125
  tools: Array<string>;
122
126
  /**
123
127
  * Enable-disable external layer
124
128
  *
125
- * @type {Boolean}
129
+ * @type {boolean}
126
130
  */
127
131
  addExternalLayers: boolean;
128
132
  /**
129
133
  * Render the element without additional styles
130
134
  *
131
- * @type {Boolean}
135
+ * @type {boolean}
132
136
  */
133
137
  unstyled: boolean;
134
138
  /**
135
139
  * Overrides elements current CSS.
136
140
  *
137
- * @type {String}
141
+ * @type {string}
138
142
  */
139
143
  styleOverride: string;
140
144
  /**
141
145
  * If enabled, the tools section will be rendered as list.
142
146
  *
143
- * @type {Boolean}
147
+ * @type {boolean}
144
148
  */
145
149
  toolsAsList: boolean;
146
150
  /**
147
151
  * If enabled, exclusive layers (marked with the property `layerControlExclusive`) will be globally exclusive (default: exclusive within their layer group).
148
152
  *
149
- * @type {Boolean}
153
+ * @type {boolean}
150
154
  */
151
155
  globallyExclusiveLayers: boolean;
152
156
  /**
153
157
  * If enabled, toggling the layer visibility will also open/close the layer tools.
154
158
  *
155
- * @type {Boolean}
159
+ * @type {boolean}
156
160
  */
157
161
  toolsAutoExpand: boolean;
158
162
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBE;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;;;;OAIG;IACH,yBAA4B;IAE5B;;;;;;OAMG;IACH,8BAAgC;IAChC,sBAA4B;IAG9B;;;OAGG;IACH,qBAEC;IAYD,uBAIC;IARD,kBAEC;IARD,sCAIC;IAoCD,+CAsEC;;CA+CF;;2BAxVgC,KAAK"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBE;IAaA;;;;;OAKG;IACH,KAFU,MAAM,GAAG,WAAW,CAEV;IAEpB;;;;OAIG;IACH,YAFU,MAAM,CAEM;IAEtB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,eAFU,MAAM,CAEY;IAE5B;;;;OAIG;IACH,oBAFU,OAAO,CAEc;IAE/B;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAEiD;IAExE;;;;OAIG;IACH,mBAFU,OAAO,CAEa;IAE9B;;;;OAIG;IACH,UAFU,OAAO,CAEI;IAErB;;;;OAIG;IACH,eAFU,MAAM,CAEO;IAEvB;;;;OAIG;IACH,aAFU,OAAO,CAEO;IAExB;;;;OAIG;IACH,yBAFU,OAAO,CAEmB;IAEpC;;;;OAIG;IACH,iBAFU,OAAO,CAEW;IAE5B;;;;;;OAMG;IACH,8BAAgC;IAChC,sBAA4B;IAG9B;;;OAGG;IACH,qBAEC;IAYD,uBAIC;IARD,kBAEC;IARD,sCAIC;IA8CD,+CAwEC;;CA+CF;;2BAxWgC,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer.d.ts","sourceRoot":"","sources":["../../../src/methods/add-layer/add-layer.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,oDAFW,OAAO,6BAA6B,EAAE,wBAAwB,QAuBxE"}
1
+ {"version":3,"file":"add-layer.d.ts","sourceRoot":"","sources":["../../../src/methods/add-layer/add-layer.js"],"names":[],"mappings":";AAGA;;;;;;GAMG;AACH,oDAFW,OAAO,6BAA6B,EAAE,wBAAwB,QA6BxE"}
@@ -3,7 +3,7 @@
3
3
  * It utilizes the provided instance to process the URL input for WMS or XYZ layers.
4
4
  *
5
5
  * @param {import("../../components/add-layers").EOxLayerControlAddLayers} EoxLayerControlAddLayers - Instance of EOxLayerControlAddLayers.
6
- * @return {Promise<{"Name": string} | false>} - An object with layer information if URL type is XYZ, otherwise false.
6
+ * @returns {Promise<{"Name": string} | false>} - An object with layer information if URL type is XYZ, otherwise false.
7
7
  */
8
8
  export default function wmsSearchURL(EoxLayerControlAddLayers: import("../../components/add-layers").EOxLayerControlAddLayers): Promise<{
9
9
  "Name": string;
@@ -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,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,CAoC5C"}
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,GAC5D,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,CAoC7C"}
@@ -1,9 +1,10 @@
1
1
  export default firstUpdatedMethod;
2
2
  /**
3
3
  * Check and update layer zoom visibility at beginning
4
- * and register "change:resolution" ones at the beginning if `showLayerZoomState` is present
4
+ * and subscribe to layer/view changes for the current connection.
5
5
  *
6
6
  * @param {import("../../components/layer").EOxLayerControlLayer} EOxLayerControlLayer - Instance of EOxLayerControlLayer
7
+ * @returns {() => void} Releases all subscriptions for this connection.
7
8
  */
8
- declare function firstUpdatedMethod(EOxLayerControlLayer: import("../../components/layer").EOxLayerControlLayer): void;
9
+ declare function firstUpdatedMethod(EOxLayerControlLayer: import("../../components/layer").EOxLayerControlLayer): () => void;
9
10
  //# sourceMappingURL=first-updated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-updated.d.ts","sourceRoot":"","sources":["../../../src/methods/layer/first-updated.js"],"names":[],"mappings":";AAKA;;;;;GAKG;AACH,0DAFW,OAAO,wBAAwB,EAAE,oBAAoB,QAiE/D"}
1
+ {"version":3,"file":"first-updated.d.ts","sourceRoot":"","sources":["../../../src/methods/layer/first-updated.js"],"names":[],"mappings":";AAOA;;;;;;GAMG;AACH,0DAHW,OAAO,wBAAwB,EAAE,oBAAoB,GACnD,MAAM,IAAI,CAmFtB"}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @param {Record<string,number>} jsonformOutput
2
+ * @param {Record<string,any>} jsonformOutput
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["layerConfig"]): Promise<void>;
6
+ export default function _default(jsonformOutput: Record<string, any>, layer: import("ol/layer/Layer").default, layerConfig: import("../../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]): Promise<void>;
7
7
  /**
8
8
  * updating the variables assigned in the layer style
9
9
  * from the `styles.variables` property
@@ -1 +1 @@
1
- {"version":3,"file":"apply-updated-styles.d.ts","sourceRoot":"","sources":["../../../src/methods/layer-config/apply-updated-styles.js"],"names":[],"mappings":"AAEA;;;;KAIK;AACL,iDAJW,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,SACpB,OAAO,gBAAgB,EAAE,OAAO,eAChC,OAAO,+BAA+B,EAAE,0BAA0B,CAAC,aAAa,CAAC,iBA8F5F;AA+BD;;;;;GAKG;AACH,+CAHW,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA+B5B;AA5DM,mCAFI,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA0B5B"}
1
+ {"version":3,"file":"apply-updated-styles.d.ts","sourceRoot":"","sources":["../../../src/methods/layer-config/apply-updated-styles.js"],"names":[],"mappings":"AAGA;;;;KAIK;AACL,iDAJW,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,SACjB,OAAO,gBAAgB,EAAE,OAAO,eAChC,OAAO,+BAA+B,EAAE,0BAA0B,CAAC,aAAa,CAAC,iBAgG5F;AA+BD;;;;;GAKG;AACH,+CAHW,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA+B5B;AA5DM,mCAFI,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA0B5B"}
@@ -6,7 +6,7 @@ export default dataChangeMethod;
6
6
  * @param {{[key: string]: any}} data - The updated data to be applied to the layer.
7
7
  * @param {Function} tileUrlFunc - The function generating the tile URL for the layer.
8
8
  * @param {import("../../components/layer-config").EOxLayerControlLayerConfig} EOxLayerControlLayerConfig - Instance of EOxLayerControlLayer.
9
- * @return {Function} - New function generating the tile URL for the layer.
9
+ * @returns {Function} - New function generating the tile URL for the layer.
10
10
  */
11
11
  declare function dataChangeMethod(data: {
12
12
  [key: string]: any;