@eox/layercontrol 0.29.0 → 1.0.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 (109) hide show
  1. package/dist/eox-layercontrol.js +2996 -2869
  2. package/dist/eox-layercontrol.umd.cjs +626 -565
  3. package/dist/material-symbols-outlined.woff2 +0 -0
  4. package/dist/material-symbols-rounded.woff2 +0 -0
  5. package/dist/material-symbols-sharp.woff2 +0 -0
  6. package/dist/material-symbols-subset.woff2 +0 -0
  7. package/package.json +8 -5
  8. package/src/components/add-layers.js +79 -179
  9. package/src/components/layer-config.js +22 -3
  10. package/src/components/layer-group.js +41 -18
  11. package/src/components/layer-legend.js +7 -4
  12. package/src/components/layer-list.js +27 -19
  13. package/src/components/layer-tools.js +60 -120
  14. package/src/components/layer.js +215 -59
  15. package/src/components/optional-list.js +32 -25
  16. package/src/components/tools-items.js +34 -31
  17. package/src/enums/index.js +1 -0
  18. package/src/enums/stories/index.js +4 -2
  19. package/src/helpers/clean-json-input.js +0 -1
  20. package/src/helpers/create-sortable.js +4 -1
  21. package/src/helpers/get-layer-type.js +2 -1
  22. package/src/helpers/get-start-vals.js +0 -3
  23. package/src/helpers/index.js +1 -0
  24. package/src/helpers/layer-tools.js +75 -13
  25. package/src/main.js +37 -7
  26. package/src/methods/layer-config/apply-updated-styles.js +1 -0
  27. package/src/methods/layercontrol/first-update.js +10 -4
  28. package/types/layercontrol/src/components/add-layers.d.ts +2 -2
  29. package/types/layercontrol/src/components/add-layers.d.ts.map +1 -1
  30. package/types/layercontrol/src/components/layer-config.d.ts.map +1 -1
  31. package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
  32. package/types/layercontrol/src/components/layer-group.d.ts.map +1 -1
  33. package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
  34. package/types/layercontrol/src/components/layer-list.d.ts.map +1 -1
  35. package/types/layercontrol/src/components/layer-tools.d.ts +8 -4
  36. package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
  37. package/types/layercontrol/src/components/layer.d.ts +9 -0
  38. package/types/layercontrol/src/components/layer.d.ts.map +1 -1
  39. package/types/layercontrol/src/components/optional-list.d.ts.map +1 -1
  40. package/types/layercontrol/src/components/tools-items.d.ts.map +1 -1
  41. package/types/layercontrol/src/enums/index.d.ts +1 -1
  42. package/types/layercontrol/src/enums/stories/index.d.ts +1 -0
  43. package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
  44. package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +1 -1
  45. package/types/layercontrol/src/helpers/create-sortable.d.ts.map +1 -1
  46. package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +1 -1
  47. package/types/layercontrol/src/helpers/filter-layers.d.ts.map +1 -1
  48. package/types/layercontrol/src/helpers/get-layer-type.d.ts.map +1 -1
  49. package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +1 -1
  50. package/types/layercontrol/src/helpers/get-start-vals.d.ts +1 -1
  51. package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -1
  52. package/types/layercontrol/src/helpers/index.d.ts +1 -1
  53. package/types/layercontrol/src/helpers/layer-tools.d.ts +13 -3
  54. package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -1
  55. package/types/layercontrol/src/main.d.ts +2 -2
  56. package/types/layercontrol/src/main.d.ts.map +1 -1
  57. package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +1 -1
  58. package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts +1 -1
  59. package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +1 -1
  60. package/types/layercontrol/src/methods/layercontrol/first-update.d.ts +2 -2
  61. package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +1 -1
  62. package/types/map/src/components/compare.d.ts +2 -2
  63. package/types/map/src/components/compare.d.ts.map +1 -1
  64. package/types/map/src/components/tooltip.d.ts +7 -2
  65. package/types/map/src/components/tooltip.d.ts.map +1 -1
  66. package/types/map/src/controls/controls.d.ts +2 -8
  67. package/types/map/src/controls/controls.d.ts.map +1 -1
  68. package/types/map/src/controls/geo-location.d.ts +5 -5
  69. package/types/map/src/controls/geo-location.d.ts.map +1 -1
  70. package/types/map/src/controls/loading-indicator.d.ts +3 -3
  71. package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
  72. package/types/map/src/custom/sources/FlatGeoBuf.d.ts +27 -0
  73. package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
  74. package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
  75. package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
  76. package/types/map/src/helpers/add-new-feature.d.ts +2 -1
  77. package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
  78. package/types/map/src/helpers/center.d.ts.map +1 -1
  79. package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -1
  80. package/types/map/src/helpers/draw.d.ts +6 -6
  81. package/types/map/src/helpers/draw.d.ts.map +1 -1
  82. package/types/map/src/helpers/generate.d.ts +13 -11
  83. package/types/map/src/helpers/generate.d.ts.map +1 -1
  84. package/types/map/src/helpers/interactions.d.ts.map +1 -1
  85. package/types/map/src/helpers/layer.d.ts +5 -5
  86. package/types/map/src/helpers/layer.d.ts.map +1 -1
  87. package/types/map/src/helpers/parse-feature.d.ts.map +1 -1
  88. package/types/map/src/helpers/parse-text.d.ts +3 -1
  89. package/types/map/src/helpers/parse-text.d.ts.map +1 -1
  90. package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -1
  91. package/types/map/src/helpers/register-projection.d.ts.map +1 -1
  92. package/types/map/src/helpers/select.d.ts +14 -14
  93. package/types/map/src/helpers/select.d.ts.map +1 -1
  94. package/types/map/src/helpers/tile-grid.d.ts +2 -2
  95. package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
  96. package/types/map/src/helpers/transform.d.ts +2 -2
  97. package/types/map/src/helpers/transform.d.ts.map +1 -1
  98. package/types/map/src/layers.d.ts +116 -0
  99. package/types/map/src/layers.d.ts.map +1 -0
  100. package/types/map/src/main.d.ts +31 -31
  101. package/types/map/src/main.d.ts.map +1 -1
  102. package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
  103. package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
  104. package/types/map/src/methods/map/getters.d.ts.map +1 -1
  105. package/types/map/src/methods/map/setters.d.ts +12 -12
  106. package/types/map/src/methods/map/setters.d.ts.map +1 -1
  107. package/types/map/{types.d.ts → src/types.d.ts} +35 -34
  108. package/types/map/src/types.d.ts.map +1 -0
  109. package/types/map/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tools-items.d.ts","sourceRoot":"","sources":["../../../../src/components/tools-items.js"],"names":[],"mappings":"AAIA;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;OAIG;IACH,SAFU,aAAa,CAEN;IAEjB,oBAAoB;IAEpB;;;;OAIG;IACH,MAFU,aAAa,CAET;IAEd;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAc1B;;;OAGG;IACH,+CA2EC;;CAiEF;2BAnNgC,KAAK"}
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;;CA4DF;2BAtNgC,KAAK"}
@@ -1,2 +1,2 @@
1
- export { STORIES_LAYER_S2, STORIES_LAYER_OSM, STORIES_LAYER_REGION, STORIES_LAYER_SENTINEL_HUB, STORIES_MAIN_MAP_LAYERS, STORIES_MAP_STYLE, STORIES_LAYER_EOX_CLOUDLESS_2021, STORIES_LAYER_EOX_CLOUDLESS_2020, STORIES_LAYER_EOX_CLOUDLESS_2019, STORIES_LAYER_DEFORESTED_BIOMASS, STORIES_LAYER_TERRAIN_LIGHT, STORIES_LAYER_VESSEL_DENSITY_CARGO, STORIES_LAYER_CROPOMHUSC2, STORIES_LAYER_SEE, STORIES_LAYER_POLARIS } from "./stories";
1
+ export { STORIES_LAYER_S2, STORIES_LAYER_OSM, STORIES_LAYER_REGION, STORIES_LAYER_SENTINEL_HUB, STORIES_MAIN_MAP_LAYERS, STORIES_LAYERCONTROL_STYLE, STORIES_MAP_STYLE, STORIES_LAYER_EOX_CLOUDLESS_2021, STORIES_LAYER_EOX_CLOUDLESS_2020, STORIES_LAYER_EOX_CLOUDLESS_2019, STORIES_LAYER_DEFORESTED_BIOMASS, STORIES_LAYER_TERRAIN_LIGHT, STORIES_LAYER_VESSEL_DENSITY_CARGO, STORIES_LAYER_CROPOMHUSC2, STORIES_LAYER_SEE, STORIES_LAYER_POLARIS } from "./stories";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,4 @@
1
+ export const STORIES_LAYERCONTROL_STYLE: "width: 240px;";
1
2
  export const STORIES_MAP_STYLE: "width: 400px; height: 300px; margin-left: 7px;";
2
3
  export namespace STORIES_LAYER_SENTINEL_HUB {
3
4
  namespace wind {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/enums/stories/index.js"],"names":[],"mappings":"AAkBA,iFACmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuBE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5IF,iHACmF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLnF;;;;;;;;;;EA2DE;0BArPwB,6BAA6B"}
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 +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"}
1
+ {"version":3,"file":"clean-json-input.d.ts","sourceRoot":"","sources":["../../../../src/helpers/clean-json-input.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6CAHW,MAAM,GACL,MAAM,CAuBjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"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"}
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 +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"}
1
+ {"version":3,"file":"fetch-capabilities.d.ts","sourceRoot":"","sources":["../../../../src/helpers/fetch-capabilities.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,uDAHW,MAAM,GACJ,OAAO,CAAC,OAAO,kBAAkB,EAAE,mBAAmB,CAAC,CAuBnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"filter-layers.d.ts","sourceRoot":"","sources":["../../../../src/helpers/filter-layers.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,6CALW,GAAG,EAAE,OACL,MAAM,SACN,GAAG,GACD,MAAM,OAAO,UAAU,EAAE,KAAK,CAAC,CAsC3C"}
1
+ {"version":3,"file":"filter-layers.d.ts","sourceRoot":"","sources":["../../../../src/helpers/filter-layers.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,6CALW,GAAG,EAAE,OACL,MAAM,SACN,GAAG,GACD,KAAK,CAAC,OAAO,UAAU,EAAE,KAAK,CAAC,CAsC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-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"}
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,CA8B5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AACA;;;;;GAKG;AACH,+CAHW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,OAAO,MAAM,EAAC,OAAO,CAAC,uDA0DhC"}
1
+ {"version":3,"file":"get-legend-config.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-legend-config.js"],"names":[],"mappings":";AACA;;;;;GAKG;AACH,+CAHW,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,QACxF,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,uDA0DhC"}
@@ -17,5 +17,5 @@ export function getNestedStartVals(schema: {
17
17
  * @param {import("../components/layer-config").EOxLayerControlLayerConfig['layerConfig']} layerConfig - Configuration object for the layer.
18
18
  * @returns {object | null} - Object containing the startVals or null if not found.
19
19
  */
20
- export function getStartVals(layer: import("ol/layer").Layer, layerConfig: import("../components/layer-config").EOxLayerControlLayerConfig['layerConfig']): object | null;
20
+ export function getStartVals(layer: import("ol/layer").Layer, layerConfig: import("../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]): object | null;
21
21
  //# sourceMappingURL=get-start-vals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,CA0BlB;AAED;;;;;;GAMG;AACH,oCAJW,OAAO,UAAU,EAAE,KAAK,eACxB,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,GAC5E,MAAM,GAAG,IAAI,CAkCzB"}
1
+ {"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,CAwBlB;AAED;;;;;;GAMG;AACH,oCAJW,OAAO,UAAU,EAAE,KAAK,eACxB,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,GAC5E,MAAM,GAAG,IAAI,CAiCzB"}
@@ -13,5 +13,5 @@ export { default as getLayerType } from "./get-layer-type";
13
13
  export { default as getLegendConfig } from "./get-legend-config.js";
14
14
  export { hideLayersBasedOnProperties } from "./hide-layers-based-on-property";
15
15
  export { getNestedStartVals, getStartVals } from "./get-start-vals";
16
- export { Button, _parseActions, _parseTools, removeButton, sortButton } from "./layer-tools";
16
+ export { Button, _parseActions, _parseTools, removeButton, sortButton, getToolsIcon } from "./layer-tools";
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,16 @@
1
+ export function getToolsIcon(): {
2
+ dots: import("lit-html").TemplateResult<1>;
3
+ info: import("lit-html").TemplateResult<1>;
4
+ opacity: import("lit-html").TemplateResult<1>;
5
+ config: import("lit-html").TemplateResult<1>;
6
+ datetime: import("lit-html").TemplateResult<1>;
7
+ legend: import("lit-html").TemplateResult<1>;
8
+ remove: import("lit-html").TemplateResult<1>;
9
+ sort: import("lit-html").TemplateResult<1>;
10
+ };
1
11
  export function _parseActions(tools: Array<string>, layer: import("ol/layer").Layer): Array<string>;
2
12
  export function _parseTools(tools: Array<string>, layer: import("ol/layer").Layer): Array<string>;
3
- export function Button(tool: string, unstyled: boolean): import("lit").HTMLTemplateResult;
4
- export function removeButton(EOxLayerControlLayerTools: import("../components/layer-tools").EOxLayerControlLayerTools): import("lit").HTMLTemplateResult;
5
- export function sortButton(unstyled: boolean): import("lit").HTMLTemplateResult;
13
+ export function Button(tool: string, icon: any, unstyled: boolean): import("lit").HTMLTemplateResult;
14
+ export function removeButton(Component: import("../components/layer-tools").EOxLayerControlLayerTools | import("../components/layer").EOxLayerControlLayer, icon: any): import("lit").HTMLTemplateResult;
15
+ export function sortButton(Component: import("../components/layer-tools").EOxLayerControlLayerTools | import("../components/layer").EOxLayerControlLayer, icon: any, unstyled: boolean): import("lit").HTMLTemplateResult;
6
16
  //# sourceMappingURL=layer-tools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/helpers/layer-tools.js"],"names":[],"mappings":"AASO,qCAJI,MAAM,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,MAAM,MAAM,CAAC,CAQzB;AASM,mCAJI,MAAM,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,MAAM,MAAM,CAAC,CAWtB;AASG,6BAJI,MAAM,YACN,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAI5C;AAQM,wDAHI,OAAO,2BAA2B,EAAE,yBAAyB,GAC3D,OAAO,KAAK,EAAE,kBAAkB,CAmB5C;AAQM,qCAHI,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAM5C"}
1
+ {"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/helpers/layer-tools.js"],"names":[],"mappings":"AAgGA;;;;;;;;;EA+CC;AAtIM,qCAJI,KAAK,CAAC,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,KAAK,CAAC,MAAM,CAAC,CAQzB;AASM,mCAJI,KAAK,CAAC,MAAM,CAAC,SACb,OAAO,UAAU,EAAE,KAAK,GACtB,KAAK,CAAC,MAAM,CAAC,CAWtB;AASG,6BAJI,MAAM,uBACN,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAS5C;AAQM,wCAHI,OAAO,2BAA2B,EAAE,yBAAyB,GAAG,OAAO,qBAAqB,EAAE,oBAAoB,cAChH,OAAO,KAAK,EAAE,kBAAkB,CAmB5C;AASM,sCAJI,OAAO,2BAA2B,EAAE,yBAAyB,GAAG,OAAO,qBAAqB,EAAE,oBAAoB,uBAClH,OAAO,GACL,OAAO,KAAK,EAAE,kBAAkB,CAa5C"}
@@ -139,8 +139,8 @@ export class EOxLayerControl extends LitElement {
139
139
  * Updated #eoxMap after first update.
140
140
  */
141
141
  firstUpdated(): void;
142
- set eoxMap(value: import("../../map/src/main").EOxMap);
143
- get eoxMap(): import("../../map/src/main").EOxMap;
142
+ set eoxMap(value: import("@eox/map").EOxMap);
143
+ get eoxMap(): import("@eox/map").EOxMap;
144
144
  updated(changedProperties: any): void;
145
145
  render(): import("lit-html").TemplateResult<1>;
146
146
  #private;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAaA;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,aAAa,CAEiD;IAExE;;;;OAIG;IACH,2BAA8B;IAE9B;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,sBAAuB;IAEvB;;;;OAIG;IACH,qBAAwB;IAG1B;;;OAGG;IACH,qBAEC;IAYD,uDAIC;IARD,kDAEC;IARD,sCAIC;IA8CD,+CA4DC;;CAwBF;2BAlSgC,KAAK"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAaA;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;;;OAIG;IACH,mBAAsB;IAEtB;;;;;OAKG;IACH,KAHU,OAAO,IAAI,EAAE,GAAG,CAGX;IAEf;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,OAFU,KAAK,QAAQ,CAEiD;IAExE;;;;OAIG;IACH,2BAA8B;IAE9B;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,sBAAuB;IAEvB;;;;OAIG;IACH,qBAAwB;IAG1B;;;OAGG;IACH,qBAEC;IAYD,6CAIC;IARD,wCAEC;IARD,sCAIC;IA8CD,+CAkEC;;CA4CF;2BAhUgC,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"wms-search-url.d.ts","sourceRoot":"","sources":["../../../../../src/methods/add-layer/wms-search-url.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,+DAHW,OAAO,6BAA6B,EAAE,wBAAwB,GAC7D,QAAQ;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,GAC7D,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,CAoC5C"}
@@ -3,6 +3,6 @@
3
3
  * @param { import("ol/layer/Layer").default} layer
4
4
  * @param { import("../../components/layer-config").EOxLayerControlLayerConfig['layerConfig']} layerConfig
5
5
  * */
6
- export default function _default(jsonformOutput: Record<string, number>, layer: import("ol/layer/Layer").default, layerConfig: import("../../components/layer-config").EOxLayerControlLayerConfig['layerConfig']): void;
6
+ export default function _default(jsonformOutput: Record<string, number>, layer: import("ol/layer/Layer").default, layerConfig: import("../../components/layer-config").EOxLayerControlLayerConfig["layerConfig"]): void;
7
7
  export function flattenObject(obj: Record<string, any>): Record<string, any>;
8
8
  //# sourceMappingURL=apply-updated-styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"apply-updated-styles.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layer-config/apply-updated-styles.js"],"names":[],"mappings":"AAAA;;;;KAIK;AACL,iDAJW,OAAO,MAAM,EAAC,MAAM,CAAC,SACpB,OAAO,gBAAgB,EAAE,OAAO,eAChC,OAAO,+BAA+B,EAAE,0BAA0B,CAAC,aAAa,CAAC,QA+B5F;AAKM,mCAFI,OAAO,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":"AAAA;;;;KAIK;AACL,iDAJW,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,SACpB,OAAO,gBAAgB,EAAE,OAAO,eAChC,OAAO,+BAA+B,EAAE,0BAA0B,CAAC,aAAa,CAAC,QA+B5F;AAKM,mCAFI,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,uBA0B5B"}
@@ -4,7 +4,7 @@ export default firstUpdatedMethod;
4
4
  * Updates the EOxLayerControl's map property based on the target element's map.
5
5
  *
6
6
  * @param {import("../../main").EOxLayerControl} EOxLayerControl - The EOxLayerControl element.
7
- * @returns {import("@eox/map/main").EOxMap | null} The EOxMap element or null if not found.
7
+ * @returns {import("@eox/map").EOxMap | null} The EOxMap element or null if not found.
8
8
  */
9
- declare function firstUpdatedMethod(EOxLayerControl: import("../../main").EOxLayerControl): any | null;
9
+ declare function firstUpdatedMethod(EOxLayerControl: import("../../main").EOxLayerControl): import("@eox/map").EOxMap | null;
10
10
  //# sourceMappingURL=first-update.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layercontrol/first-update.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,qDAHW,OAAO,YAAY,EAAE,eAAe,GAClC,MAAiC,IAAI,CAYjD"}
1
+ {"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../src/methods/layercontrol/first-update.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,qDAHW,OAAO,YAAY,EAAE,eAAe,GAClC,OAAO,UAAU,EAAE,MAAM,GAAG,IAAI,CAkB5C"}
@@ -15,13 +15,13 @@ export class EOxMapCompare extends LitElement {
15
15
  };
16
16
  /**
17
17
  * The current position of the comparison slider (0 to 100).
18
- * @type {Number}
18
+ * @type {number}
19
19
  */
20
20
  value: number;
21
21
  /**
22
22
  * Whether the comparison is enabled and which part is visible.
23
23
  * Accepts values: "first", "second", or "true" (default).
24
- * @type {String}
24
+ * @type {string}
25
25
  */
26
26
  enabled: string;
27
27
  render(): import("lit-html").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/compare.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IACE;;;;;;;;;MAKC;IAKC;;;OAGG;IACH,cAAe;IAEf;;;;OAIG;IACH,gBAAqB;IAYvB,+CAsHC;;CACF;2BAhKgC,KAAK"}
1
+ {"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/compare.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IACE;;;;;;;;;MAKC;IAKC;;;OAGG;IACH,OAFU,MAAM,CAED;IAEf;;;;OAIG;IACH,SAFU,MAAM,CAEK;IAYvB,+CA+JC;;CACF;2BAzMgC,KAAK"}
@@ -24,11 +24,16 @@ export class EOxMapTooltip extends LitElement {
24
24
  /**
25
25
  * A function to transform properties before rendering.
26
26
  *
27
- * @type {Function}
28
27
  * @param {{ key: string; value: unknown }} property
29
28
  * @param {import("ol/Feature").default | import("ol/render/Feature").default} _feature
30
29
  */
31
- propertyTransform: Function;
30
+ propertyTransform: (property: {
31
+ key: string;
32
+ value: unknown;
33
+ }, _feature: import("ol/Feature").default | import("ol/render/Feature").default) => {
34
+ key: string;
35
+ value: unknown;
36
+ };
32
37
  render(): typeof nothing | import("lit-html").TemplateResult<1>;
33
38
  }
34
39
  import { LitElement } from "lit";
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/tooltip.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH;IACE;;;;;;;;;;;MAKC;IAKC;;;;OAIG;IACH,SAFU,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO,CAEzD;IAEnB;;;;;;OAMG;IACH,4BAAyD;IAG3D,gEA4BC;CACF;2BA/DyC,KAAK;wBAAL,KAAK"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/tooltip.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH;IACE;;;;;;;;;;;MAKC;IAKC;;;;OAIG;IACH,SAFU,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO,CAEzD;IAEnB;;;;;OAKG;IACH,8BAHW;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,YAC/B,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO;aAD3D,MAAM;eAAS,OAAO;MAGiB;IAG3D,gEA+BC;CACF;2BAjEyC,KAAK;wBAAL,KAAK"}
@@ -16,12 +16,6 @@ export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingCon
16
16
  * @param {object} options - Options for the control.
17
17
  */
18
18
  export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
19
- /**
20
- * Adds initial controls from web component properties, if any are given.
21
- *
22
- * @param {import("../main").EOxMap} EOxMap - The map instance.
23
- */
24
- export function addInitialControls(EOxMap: import("../main").EOxMap): void;
25
- export type ControlDictionary = import("../../types").ControlDictionary;
26
- export type ControlType = import("../../types").ControlType;
19
+ export type ControlDictionary = import("../types").ControlDictionary;
20
+ export type ControlType = import("../types").ControlType;
27
21
  //# sourceMappingURL=controls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAgBA;;;;;;;;GAQG;AACH,2CALW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,QACjB,WAAW,WACX,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAmBhB;AAED;;;;GAIG;AACH,2CAFW,OAAO,SAAS,EAAE,MAAM,QAsClC;gCAvGY,OAAO,aAAa,EAAE,iBAAiB;0BACvC,OAAO,aAAa,EAAE,WAAW"}
1
+ {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAkCA;;;;;;;;GAQG;AACH,2CALW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,QACjB,WAAW,WACX,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAiBhB;gCApEY,OAAO,UAAU,EAAE,iBAAiB;0BACpC,OAAO,UAAU,EAAE,WAAW"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import("../../types").GeolocationOptions} GeolocationOptions
2
+ * @typedef {import("../types").GeolocationOptions} GeolocationOptions
3
3
  */
4
4
  export default class GeolocationControl extends Control {
5
5
  /**
@@ -31,11 +31,11 @@ export default class GeolocationControl extends Control {
31
31
  */
32
32
  centerOnPosition(): Promise<void>;
33
33
  }
34
- export type GeolocationOptions = import("../../types").GeolocationOptions;
35
- import { Control } from "ol/control";
34
+ export type GeolocationOptions = import("../types").GeolocationOptions;
35
+ import Control from "ol/control/Control.js";
36
36
  import Point from "ol/geom/Point";
37
37
  import Feature from "ol/Feature";
38
- import { Vector as VectorSource } from "ol/source";
39
- import { Vector as VectorLayer } from "ol/layer";
38
+ import VectorSource from "ol/source/Vector.js";
39
+ import VectorLayer from "ol/layer/Vector.js";
40
40
  import Geolocation from "ol/Geolocation";
41
41
  //# sourceMappingURL=geo-location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/geo-location.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;IACE;;OAEG;IACH,0BAFW,kBAAkB,EA4E5B;IAvCC,0BAA+C;IAC/C,uBAAyC;IACzC,wBAA2C;IAC3C,uBAAyC;IAGzC,iCAGE;IAGF,sCAEE;IAIA,sDAAqC;IAYvC,kEAAuD;IA6BzD;;;OAGG;IACH,gCA4CC;IAxCK,0BAIE;IAsCR;;;;OAIG;IACH,cAFa,WAAW,CAIvB;IAED;;OAEG;IACH,kCAUC;CACF;iCA9KY,OAAO,aAAa,EAAE,kBAAkB;wBAT7B,YAAY;kBAGlB,eAAe;oBAFb,YAAY;uCAGO,WAAW;sCACZ,UAAU;wBAHxB,gBAAgB"}
1
+ {"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/geo-location.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH;IACE;;OAEG;IACH,0BAFW,kBAAkB,EA8D5B;IAvCC,0BAA+C;IAC/C,uBAAyC;IACzC,wBAA2C;IAC3C,uBAAyC;IAGzC,iCAGE;IAGF,sCAEE;IAIA,sDAAqC;IAYvC,kEAAuD;IA6BzD;;;OAGG;IACH,gCA4CC;IAxCK,0BAIE;IAsCR;;;;OAIG;IACH,cAFa,WAAW,CAIvB;IAED;;OAEG;IACH,kCAUC;CACF;iCAhKY,OAAO,UAAU,EAAE,kBAAkB;oBAX9B,uBAAuB;kBAGzB,eAAe;oBAFb,YAAY;yBAGP,qBAAqB;wBACtB,oBAAoB;wBAHpB,gBAAgB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import("../../types").LoadingIndicatorOptions} LoadingIndicatorOptions
2
+ * @typedef {import("../types").LoadingIndicatorOptions} LoadingIndicatorOptions
3
3
  */
4
4
  export default class LoadingIndicatorControl extends Control {
5
5
  /**
@@ -15,6 +15,6 @@ export default class LoadingIndicatorControl extends Control {
15
15
  */
16
16
  getElement(): HTMLElement;
17
17
  }
18
- export type LoadingIndicatorOptions = import("../../types").LoadingIndicatorOptions;
19
- import { Control } from "ol/control.js";
18
+ export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
19
+ import Control from "ol/control/Control.js";
20
20
  //# sourceMappingURL=loading-indicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/loading-indicator.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;IACE;;;;OAIG;IACH,0BAFW,uBAAuB,EAsCjC;IAuBD;;;;OAIG;IACH,cAFa,WAAW,CAIvB;CACF;sCA5EY,OAAO,aAAa,EAAE,uBAAuB;wBAHlC,eAAe"}
1
+ {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/loading-indicator.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;IACE;;;;OAIG;IACH,0BAFW,uBAAuB,EAsCjC;IAuBD;;;;OAIG;IACH,cAFa,WAAW,CAIvB;CACF;sCA5EY,OAAO,UAAU,EAAE,uBAAuB;oBAHnC,uBAAuB"}
@@ -0,0 +1,27 @@
1
+ export default FlatGeoBuf;
2
+ export type FlatGeoBufOptions = import("../../types").FlatGeoBufOptions;
3
+ /**
4
+ * @typedef {import("../../types").FlatGeoBufOptions} FlatGeoBufOptions
5
+ */
6
+ declare class FlatGeoBuf extends Vector<import("ol/Feature").default<import("ol/geom").Geometry>> {
7
+ /**
8
+ * @param {FlatGeoBufOptions} options
9
+ */
10
+ constructor(options: FlatGeoBufOptions);
11
+ ressourceURL: string;
12
+ /**
13
+ * transform an ol extent into FlatGeoBuf-format
14
+ * @param {import("ol/extent").Extent} extent
15
+ * @param {import("ol/proj").Projection} projection
16
+ * @returns
17
+ */
18
+ fgbBoundingBox(extent: import("ol/extent").Extent, projection: import("ol/proj").Projection): {
19
+ minX: number;
20
+ minY: number;
21
+ maxX: number;
22
+ maxY: number;
23
+ };
24
+ loader(extent: import("ol/extent").Extent, resolution: number, projection: import("ol/proj").default, success?: (features: import("ol/Feature").FeatureLike[]) => void, failure?: () => void): void;
25
+ }
26
+ import Vector from "ol/source/Vector.js";
27
+ //# sourceMappingURL=FlatGeoBuf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAWa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAa3B;IAFC,qBAA+B;IAIjC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;0BAkCgsF,WAAa,iDAAiD,SAAsB;CAHtxF;mBA9EkB,qBAAqB"}
@@ -0,0 +1,35 @@
1
+ export default WMTSCapabilities;
2
+ export type WMTSCapabilitiesOptions = import("../../types").WMTSCapabilitiesOptions;
3
+ /**
4
+ * @typedef {import("../../types").WMTSCapabilitiesOptions} WMTSCapabilitiesOptions
5
+ */
6
+ declare class WMTSCapabilities extends TileImage {
7
+ /**
8
+ * Constructs a WMTS capabilities instance and fetches the WMTS capabilities XML from the provided URL.
9
+ *
10
+ * @param {WMTSCapabilitiesOptions} options - Image tile options including URL, layer, and other properties.
11
+ */
12
+ constructor(options: WMTSCapabilitiesOptions);
13
+ version_: string;
14
+ dimensions_: object;
15
+ layer_: string;
16
+ /**
17
+ * Handles the WMTS capabilities XML response by parsing it and setting up the necessary properties.
18
+ *
19
+ * @param {Document} xml - The XML document containing WMTS capabilities.
20
+ * @param {WMTSCapabilitiesOptions} options - Options for WMTS capabilities.
21
+ */
22
+ handleCapabilitiesResponse(xml: Document, options: WMTSCapabilitiesOptions): void;
23
+ requestEncoding_: import("ol/source/WMTS").RequestEncoding;
24
+ matrixSet_: string;
25
+ style_: string;
26
+ format_: string;
27
+ /**
28
+ * Creates a URL function for WMTS tiles based on a template.
29
+ *
30
+ * @param {String} template - The WMTS URL template.
31
+ */
32
+ createFromWMTSTemplate(template: string): (tileCoord: Array<number>) => string | undefined;
33
+ }
34
+ import TileImage from "ol/source/TileImage.js";
35
+ //# sourceMappingURL=WMTSCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAiCjC;IAhBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAe3C;;;;OAIG;IACH,sDAmCe,KAAK,CAAC,MAAM,CAAC,KACZ,MAAM,GAAC,SAAS,CA2B/B;CACF;sBA3JqB,wBAAwB"}
@@ -7,8 +7,9 @@
7
7
  * @param {import("../main").EOxMap} EOxMap - The EOxMap instance for dispatching custom events and adjusting the view.
8
8
  * @param {boolean} isDraw - Optional. If true, indicates the features come from a drawing event.
9
9
  * @param {boolean} replaceFeatures - Optional. If true, existing features in the layer are cleared before adding new ones.
10
+ * @param {boolean} animate - Optional. If true, the map will animate to the new features.
10
11
  */
11
12
  export default function addNewFeature(e: import("ol/interaction/Draw").DrawEvent | import("ol/interaction/DragAndDrop").DragAndDropEvent | {
12
13
  features: Array<import("ol/Feature").default>;
13
- }, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, isDraw?: boolean, replaceFeatures?: boolean): void;
14
+ }, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, isDraw?: boolean, replaceFeatures?: boolean, animate?: boolean): void;
14
15
  //# sourceMappingURL=add-new-feature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,yCANW,OAAO,qBAAqB,EAAE,SAAS,GAAG,OAAO,4BAA4B,EAAE,gBAAgB,GAAG;IAAE,QAAQ,EAAE,MAAM,OAAO,YAAY,EAAE,OAAO,CAAC,CAAA;CAAE,eACnJ,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,WACxB,OAAO,oBACP,OAAO,QAgEjB"}
1
+ {"version":3,"file":"add-new-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/add-new-feature.js"],"names":[],"mappings":"AAQA;;;;;;;;;;GAUG;AACH,yCAPW,OAAO,qBAAqB,EAAE,SAAS,GAAG,OAAO,4BAA4B,EAAE,gBAAgB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,CAAA;CAAE,eACnJ,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,WACxB,OAAO,oBACP,OAAO,YACP,OAAO,QAiEjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"center.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/center.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,sDAHW,MAAM,MAAM,CAAC,GACX,OAAO,eAAe,EAAE,UAAU,CAyB9C"}
1
+ {"version":3,"file":"center.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/center.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,sDAHW,KAAK,CAAC,MAAM,CAAC,GACX,OAAO,eAAe,EAAE,UAAU,CAyB9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"coordinates-roughly-equals.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/coordinates-roughly-equals.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,8DANW,OAAO,eAAe,EAAE,UAAU,eAClC,OAAO,eAAe,EAAE,UAAU,YAClC,MAAM,UAEL,OAAO,CAoBlB"}
1
+ {"version":3,"file":"coordinates-roughly-equals.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/coordinates-roughly-equals.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,8DANW,OAAO,eAAe,EAAE,UAAU,eAClC,OAAO,eAAe,EAAE,UAAU,YAClC,MAAM,OAAC,GAEN,OAAO,CAoBlB"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @typedef {import("../../types").DrawOptions} DrawOptions
3
- * @typedef {import("../../types").SelectOptions} SelectOptions
4
- * @typedef {import("../../types").SelectLayer} SelectLayer
2
+ * @typedef {import("../types").DrawOptions} DrawOptions
3
+ * @typedef {import("../types").SelectOptions} SelectOptions
4
+ * @typedef {import("../types").SelectLayer} SelectLayer
5
5
  * @typedef {import("ol/layer").Vector} VectorLayer
6
6
  * */
7
7
  /**
@@ -15,8 +15,8 @@
15
15
  * @throws Will throw an error if an interaction with the given ID already exists.
16
16
  */
17
17
  export function addDraw(EOxMap: import("../main").EOxMap, drawLayer: import("ol/layer").Vector<import("ol/source").Vector>, options: DrawOptions): void;
18
- export type DrawOptions = import("../../types").DrawOptions;
19
- export type SelectOptions = import("../../types").SelectOptions;
20
- export type SelectLayer = import("../../types").SelectLayer;
18
+ export type DrawOptions = import("../types").DrawOptions;
19
+ export type SelectOptions = import("../types").SelectOptions;
20
+ export type SelectLayer = import("../types").SelectLayer;
21
21
  export type VectorLayer = import("ol/layer").Vector;
22
22
  //# sourceMappingURL=draw.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/draw.js"],"names":[],"mappings":"AAIA;;;;;KAKK;AAEL;;;;;;;;;GASG;AACH,gCANW,OAAO,SAAS,EAAE,MAAM,aACxB,OAAO,UAAU,EAAE,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,WACrD,WAAW,QA6DrB;0BAzEY,OAAO,aAAa,EAAE,WAAW;4BACjC,OAAO,aAAa,EAAE,aAAa;0BACnC,OAAO,aAAa,EAAE,WAAW;0BACjC,OAAO,UAAU,EAAE,MAAM"}
1
+ {"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/draw.js"],"names":[],"mappings":"AAIA;;;;;KAKK;AAEL;;;;;;;;;GASG;AACH,gCANW,OAAO,SAAS,EAAE,MAAM,aACxB,OAAO,UAAU,EAAE,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,WACrD,WAAW,QA6DrB;0BAzEY,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;0BAC9B,OAAO,UAAU,EAAE,MAAM"}
@@ -3,10 +3,11 @@
3
3
  *
4
4
  * @param {import("../main").EOxMap} EOxMap - The map instance.
5
5
  * @param {EoxLayer} layer - The layer definition.
6
- * @param {boolean=} createInteractions - Whether to create interactions for the layer (default: true).
6
+ * @param {boolean} [createInteractions=true] - Whether to create interactions for the layer (default: true).
7
+ * @returns {AnyLayer} - The created OpenLayers layer.
7
8
  * @throws Will throw an error if the specified layer or source type is not supported.
8
9
  */
9
- export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, createInteractions?: boolean | undefined): any;
10
+ export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, createInteractions?: boolean): AnyLayer;
10
11
  /**
11
12
  * Updates an existing layer with a new definition.
12
13
  *
@@ -18,13 +19,14 @@ export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, c
18
19
  * @throws Will throw an error if the new layer is not compatible with the existing one.
19
20
  */
20
21
  export function updateLayer(EOxMap: import("../main").EOxMap, newLayerDefinition: EoxLayer, existingLayer: import("ol/layer/Base").default): import("ol/layer/Base").default;
21
- export function generateLayers(EOxMap: import("../main").EOxMap, layerArray: Array<EoxLayer>): Array<EoxLayer>;
22
- export type AnyLayer = import("../../types").AnyLayer;
23
- export type EoxLayer = import("../../types").EoxLayer;
24
- export type SelectLayer = import("../../types").SelectLayer;
25
- export type EOxInteraction = import("../../types").EOxInteraction;
26
- export type DrawOptions = import("../../types").DrawOptions;
27
- export type SelectOptions = import("../../types").SelectOptions;
28
- export type AnyLayerWithSource = import("../../types").AnyLayerWithSource;
29
- export type VectorOrVectorTileLayer = import("../../types").VectorOrVectorTileLayer;
22
+ export function generateLayers(EOxMap: import("../main").EOxMap, layerArray: Array<EoxLayer>): Array<AnyLayer>;
23
+ export type EOxMap = import("../main").EOxMap;
24
+ export type AnyLayer = import("../types").AnyLayer;
25
+ export type EoxLayer = import("../layers").EoxLayer;
26
+ export type SelectLayer = import("../types").SelectLayer;
27
+ export type EOxInteraction = import("../types").EOxInteraction;
28
+ export type DrawOptions = import("../types").DrawOptions;
29
+ export type SelectOptions = import("../types").SelectOptions;
30
+ export type AnyLayerWithSource = import("../types").AnyLayerWithSource;
31
+ export type VectorOrVectorTileLayer = import("../types").VectorOrVectorTileLayer;
30
32
  //# sourceMappingURL=generate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAkEA;;;;;;;GAOG;AACH,oCALW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,mBAkGjB;AAyBD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CA8L3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,MAAM,QAAQ,CAAC,GACb,MAAM,QAAQ,CAAC,CAO3B;uBA7XY,OAAO,aAAa,EAAE,QAAQ;uBAC9B,OAAO,aAAa,EAAE,QAAQ;0BAC9B,OAAO,aAAa,EAAE,WAAW;6BACjC,OAAO,aAAa,EAAE,cAAc;0BACpC,OAAO,aAAa,EAAE,WAAW;4BACjC,OAAO,aAAa,EAAE,aAAa;iCACnC,OAAO,aAAa,EAAE,kBAAkB;sCACxC,OAAO,aAAa,EAAE,uBAAuB"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAgEA;;;;;;;;GAQG;AACH,oCANW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,GACL,QAAQ,CAwGpB;AAyBD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CAwM3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAO3B;qBA/YY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,UAAU,EAAE,QAAQ;uBAC3B,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;6BAC9B,OAAO,UAAU,EAAE,cAAc;0BACjC,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;iCAChC,OAAO,UAAU,EAAE,kBAAkB;sCACrC,OAAO,UAAU,EAAE,uBAAuB"}
@@ -1 +1 @@
1
- {"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/interactions.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,2CAHW,OAAO,IAAI,EAAE,GAAG,sBAChB,OAAO,QA+BjB;AAED;;;;GAIG;AACH,qDAFW,OAAO,IAAI,EAAE,GAAG,QAc1B"}
1
+ {"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/interactions.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,2CAHW,OAAO,IAAI,EAAE,GAAG,sBAChB,OAAO,QA+BjB;AAED;;;;GAIG;AACH,qDAFW,OAAO,IAAI,EAAE,GAAG,QAc1B"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @typedef {import("../../types").AnyLayerWithSource} AnyLayerWithSource
3
- * @typedef {import("../../types").AnyLayer} AnyLayer
2
+ * @typedef {import("../types").AnyLayerWithSource} AnyLayerWithSource
3
+ * @typedef {import("../types").AnyLayer} AnyLayer
4
4
  */
5
5
  /**
6
6
  * Retrieves a layer by its ID from the EOxMap instance.
@@ -18,7 +18,7 @@ export function getLayerById(EOxMap: import("../main").EOxMap, layerId: string):
18
18
  *
19
19
  * @param {Array<AnyLayer>} layers - Array of OpenLayers layers, possibly containing groups.
20
20
  */
21
- export function getFlatLayersArray(layers: Array<AnyLayer>): any[];
22
- export type AnyLayerWithSource = import("../../types").AnyLayerWithSource;
23
- export type AnyLayer = import("../../types").AnyLayer;
21
+ export function getFlatLayersArray(layers: Array<AnyLayer>): import("ol/layer/Base").default[];
22
+ export type AnyLayerWithSource = import("../types").AnyLayerWithSource;
23
+ export type AnyLayer = import("../types").AnyLayer;
24
24
  //# sourceMappingURL=layer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/layer.js"],"names":[],"mappings":"AAEA;;;GAGG;AAEH;;;;;;GAMG;AACH,qCAJW,OAAO,SAAS,EAAE,MAAM,WACxB,MAAM,GACJ,kBAAkB,CAQ9B;AAED;;;;;;;GAOG;AACH,2CAFW,MAAM,QAAQ,CAAC,SAiCzB;iCA1DY,OAAO,aAAa,EAAE,kBAAkB;uBACxC,OAAO,aAAa,EAAE,QAAQ"}
1
+ {"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/layer.js"],"names":[],"mappings":"AAEA;;;GAGG;AAEH;;;;;;GAMG;AACH,qCAJW,OAAO,SAAS,EAAE,MAAM,WACxB,MAAM,GACJ,kBAAkB,CAQ9B;AAED;;;;;;;GAOG;AACH,2CAFW,KAAK,CAAC,QAAQ,CAAC,qCAqCzB;iCA9DY,OAAO,UAAU,EAAE,kBAAkB;uBACrC,OAAO,UAAU,EAAE,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"parse-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-feature.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+CAHW,MAAM,OAAO,YAAY,EAAE,OAAO,CAAC,OAS7C"}
1
+ {"version":3,"file":"parse-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-feature.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+CAHW,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,OAS7C"}
@@ -6,9 +6,11 @@
6
6
  * @param {import("ol/layer").Vector} vectorLayer - The vector layer to which the parsed features will be added.
7
7
  * @param {import("../main").EOxMap} EOxMap - An instance of EOxMap, used here for context and potentially for further operations like event dispatching.
8
8
  * @param {boolean} replaceFeatures - Optional boolean flag indicating whether to replace the existing features with the new ones.
9
+ * @param {Object} parseOptions - Optional object containing options for the parser.
10
+ * @param {boolean} animate - Optional boolean flag indicating whether to animate the map on feature change.
9
11
  * @return {void}
10
12
  */
11
- export default function parseTextToFeature(text: string, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, replaceFeatures?: boolean): void;
13
+ export default function parseTextToFeature(text: string, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, replaceFeatures?: boolean, parseOptions?: any, animate?: boolean): void;
12
14
  /**
13
15
  * Function to check if a string is valid GeoJSON
14
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,iDANW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,oBACxB,OAAO,GACN,IAAI,CA8Bf;AAmBD;;;;;GAKG;AACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;GAKG;AACH,4BAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,OAAO,CAWnB"}
1
+ {"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;GAWG;AACH,iDARW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,oBACxB,OAAO,gCAEP,OAAO,GACN,IAAI,CAiCf;AAmBD;;;;;GAKG;AACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;GAKG;AACH,4BAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,OAAO,CAWnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-projection-from-code.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection-from-code.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,yDAHW,MAAM,GAAG,MAAM,GACb,QAAQ,OAAO,oBAAoB,EAAE,OAAO,CAAC,CAQzD"}
1
+ {"version":3,"file":"register-projection-from-code.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection-from-code.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,yDAHW,MAAM,GAAG,MAAM,GACb,OAAO,CAAC,OAAO,oBAAoB,EAAE,OAAO,CAAC,CAQzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-projection.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,iDAJW,MAAM,cACN,MAAM,GAAG,MAAM,oBAAoB,WACnC,OAAO,WAAW,EAAE,MAAM,QAepC;kBAzBiB,OAAO"}
1
+ {"version":3,"file":"register-projection.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/register-projection.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,iDAJW,MAAM,cACN,MAAM,GAAG,KAAK,CAAC,oBAAoB,WACnC,OAAO,WAAW,EAAE,MAAM,QAepC;kBAzBiB,OAAO"}