@eox/layercontrol 1.4.2 → 1.6.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 +5236 -4199
- package/dist/eox-layercontrol.umd.cjs +196 -175
- package/package.json +8 -8
- package/src/components/layer-datetime.js +2 -0
- package/src/components/layer-group.js +14 -1
- package/src/components/layer-list.js +18 -5
- package/src/components/layer-tools.js +58 -5
- package/src/components/layer.js +27 -12
- package/src/enums/stories/index.js +1 -0
- package/src/main.js +15 -3
- package/src/methods/layer/input-click.js +24 -1
- package/src/methods/layer-config/data-change.js +26 -0
- package/types/{layercontrol/src/components → components}/add-layers.d.ts +1 -1
- package/types/components/add-layers.d.ts.map +1 -0
- package/types/components/layer-config.d.ts.map +1 -0
- package/types/{layercontrol/src/components → components}/layer-datetime.d.ts +2 -0
- package/types/components/layer-datetime.d.ts.map +1 -0
- package/types/{layercontrol/src/components → components}/layer-group.d.ts +10 -0
- package/types/components/layer-group.d.ts.map +1 -0
- package/types/components/layer-legend.d.ts.map +1 -0
- package/types/{layercontrol/src/components → components}/layer-list.d.ts +10 -0
- package/types/components/layer-list.d.ts.map +1 -0
- package/types/{layercontrol/src/components → components}/layer-tools.d.ts +21 -0
- package/types/components/layer-tools.d.ts.map +1 -0
- package/types/{layercontrol/src/components → components}/layer.d.ts +10 -0
- package/types/components/layer.d.ts.map +1 -0
- package/types/components/optional-list.d.ts.map +1 -0
- package/types/components/tab-sliders.d.ts.map +1 -0
- package/types/components/tools-items.d.ts.map +1 -0
- package/types/{layercontrol/src/enums → enums}/index.d.ts.map +1 -1
- package/types/{layercontrol/src/enums → enums}/stories/index.d.ts +1 -0
- package/types/enums/stories/index.d.ts.map +1 -0
- package/types/helpers/check-properties.d.ts.map +1 -0
- package/types/helpers/clean-json-input.d.ts.map +1 -0
- package/types/helpers/create-sortable.d.ts.map +1 -0
- package/types/helpers/detect-map-url-type.d.ts.map +1 -0
- package/types/helpers/fetch-capabilities.d.ts.map +1 -0
- package/types/helpers/filter-layers.d.ts.map +1 -0
- package/types/helpers/get-layer-type.d.ts.map +1 -0
- package/types/helpers/get-legend-config.d.ts.map +1 -0
- package/types/helpers/get-start-vals.d.ts.map +1 -0
- package/types/helpers/handle-datetime-update.d.ts.map +1 -0
- package/types/helpers/hide-layers-based-on-property.d.ts.map +1 -0
- package/types/{layercontrol/src/helpers → helpers}/index.d.ts.map +1 -1
- package/types/helpers/is-layer-json-valid.d.ts.map +1 -0
- package/types/helpers/is-layer-visible-based-on-zoom-state.d.ts.map +1 -0
- package/types/helpers/is-layer-zoom-state-req.d.ts.map +1 -0
- package/types/helpers/is-map-url-valid.d.ts.map +1 -0
- package/types/helpers/layer-tools.d.ts.map +1 -0
- package/types/helpers/update-url.d.ts.map +1 -0
- package/types/{layercontrol/src/main.d.ts → main.d.ts} +15 -5
- package/types/main.d.ts.map +1 -0
- package/types/methods/add-layer/add-layer.d.ts.map +1 -0
- package/types/{map/src/helpers → methods/add-layer}/index.d.ts.map +1 -1
- package/types/methods/add-layer/json-input-change.d.ts.map +1 -0
- package/types/methods/add-layer/open-close-tab.d.ts.map +1 -0
- package/types/methods/add-layer/url-input-change.d.ts.map +1 -0
- package/types/methods/add-layer/url-layer.d.ts.map +1 -0
- package/types/methods/add-layer/wms-search-url.d.ts.map +1 -0
- package/types/methods/layer/first-updated.d.ts.map +1 -0
- package/types/{map/src/enums → methods/layer}/index.d.ts.map +1 -1
- package/types/methods/layer/input-click.d.ts.map +1 -0
- package/types/methods/layer-config/apply-updated-styles.d.ts.map +1 -0
- package/types/methods/layer-config/data-change.d.ts.map +1 -0
- package/types/methods/layer-config/index.d.ts.map +1 -0
- package/types/methods/layer-list/first-updated.d.ts.map +1 -0
- package/types/methods/layer-list/index.d.ts.map +1 -0
- package/types/{layercontrol/src/methods → methods}/layercontrol/first-update.d.ts +1 -1
- package/types/methods/layercontrol/first-update.d.ts.map +1 -0
- package/types/methods/layercontrol/index.d.ts.map +1 -0
- package/types/methods/layercontrol/layer-list-change.d.ts.map +1 -0
- package/types/methods/optional-list/add-to-list.d.ts.map +1 -0
- package/types/methods/optional-list/index.d.ts.map +1 -0
- package/types/layercontrol/src/components/add-layers.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-config.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-group.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-legend.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-list.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer-tools.d.ts.map +0 -1
- package/types/layercontrol/src/components/layer.d.ts.map +0 -1
- package/types/layercontrol/src/components/optional-list.d.ts.map +0 -1
- package/types/layercontrol/src/components/tab-sliders.d.ts.map +0 -1
- package/types/layercontrol/src/components/tools-items.d.ts.map +0 -1
- package/types/layercontrol/src/enums/stories/index.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/check-properties.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/create-sortable.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/detect-map-url-type.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/filter-layers.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/get-layer-type.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/handle-datetime-update.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/hide-layers-based-on-property.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/is-layer-json-valid.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/is-layer-visible-based-on-zoom-state.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/is-layer-zoom-state-req.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/is-map-url-valid.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/layer-tools.d.ts.map +0 -1
- package/types/layercontrol/src/helpers/update-url.d.ts.map +0 -1
- package/types/layercontrol/src/main.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/add-layer.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/index.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/json-input-change.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/open-close-tab.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/url-input-change.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/url-layer.d.ts.map +0 -1
- package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer/first-updated.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer/index.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer/input-click.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer-config/data-change.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer-config/index.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer-list/first-updated.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layer-list/index.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layercontrol/index.d.ts.map +0 -1
- package/types/layercontrol/src/methods/layercontrol/layer-list-change.d.ts.map +0 -1
- package/types/layercontrol/src/methods/optional-list/add-to-list.d.ts.map +0 -1
- package/types/layercontrol/src/methods/optional-list/index.d.ts.map +0 -1
- package/types/map/src/components/compare.d.ts +0 -31
- package/types/map/src/components/compare.d.ts.map +0 -1
- package/types/map/src/components/tooltip.d.ts +0 -41
- package/types/map/src/components/tooltip.d.ts.map +0 -1
- package/types/map/src/controls/GlobeSwitcher.d.ts +0 -19
- package/types/map/src/controls/GlobeSwitcher.d.ts.map +0 -1
- package/types/map/src/controls/controls.d.ts +0 -20
- package/types/map/src/controls/controls.d.ts.map +0 -1
- package/types/map/src/controls/geo-location.d.ts +0 -51
- package/types/map/src/controls/geo-location.d.ts.map +0 -1
- package/types/map/src/controls/loading-indicator.d.ts +0 -20
- package/types/map/src/controls/loading-indicator.d.ts.map +0 -1
- package/types/map/src/custom/layers/MapboxStyle.d.ts +0 -13
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +0 -1
- package/types/map/src/custom/sources/Cluster.d.ts +0 -24
- package/types/map/src/custom/sources/Cluster.d.ts.map +0 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +0 -30
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +0 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +0 -35
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +0 -1
- package/types/map/src/enums/index.d.ts +0 -2
- package/types/map/src/enums/map.d.ts +0 -5
- package/types/map/src/enums/map.d.ts.map +0 -1
- package/types/map/src/helpers/add-new-feature.d.ts +0 -15
- package/types/map/src/helpers/add-new-feature.d.ts.map +0 -1
- package/types/map/src/helpers/cancel-animation.d.ts +0 -7
- package/types/map/src/helpers/cancel-animation.d.ts.map +0 -1
- package/types/map/src/helpers/center.d.ts +0 -12
- package/types/map/src/helpers/center.d.ts.map +0 -1
- package/types/map/src/helpers/cluster-explode.d.ts +0 -42
- package/types/map/src/helpers/cluster-explode.d.ts.map +0 -1
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts +0 -12
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +0 -1
- package/types/map/src/helpers/draw.d.ts +0 -22
- package/types/map/src/helpers/draw.d.ts.map +0 -1
- package/types/map/src/helpers/generate.d.ts +0 -32
- package/types/map/src/helpers/generate.d.ts.map +0 -1
- package/types/map/src/helpers/index.d.ts +0 -17
- package/types/map/src/helpers/interactions.d.ts +0 -16
- package/types/map/src/helpers/interactions.d.ts.map +0 -1
- package/types/map/src/helpers/layer.d.ts +0 -26
- package/types/map/src/helpers/layer.d.ts.map +0 -1
- package/types/map/src/helpers/parse-feature.d.ts +0 -8
- package/types/map/src/helpers/parse-feature.d.ts.map +0 -1
- package/types/map/src/helpers/parse-text.d.ts +0 -45
- package/types/map/src/helpers/parse-text.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection-from-code.d.ts +0 -8
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection.d.ts +0 -11
- package/types/map/src/helpers/register-projection.d.ts.map +0 -1
- package/types/map/src/helpers/select.d.ts +0 -99
- package/types/map/src/helpers/select.d.ts.map +0 -1
- package/types/map/src/helpers/tile-grid.d.ts +0 -10
- package/types/map/src/helpers/tile-grid.d.ts.map +0 -1
- package/types/map/src/helpers/transform.d.ts +0 -19
- package/types/map/src/helpers/transform.d.ts.map +0 -1
- package/types/map/src/layers.d.ts +0 -126
- package/types/map/src/layers.d.ts.map +0 -1
- package/types/map/src/main.d.ts +0 -481
- package/types/map/src/main.d.ts.map +0 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +0 -13
- package/types/map/src/methods/map/add-update-layer.d.ts.map +0 -1
- package/types/map/src/methods/map/animate-to-state.d.ts +0 -7
- package/types/map/src/methods/map/animate-to-state.d.ts.map +0 -1
- package/types/map/src/methods/map/first-updated.d.ts +0 -9
- package/types/map/src/methods/map/first-updated.d.ts.map +0 -1
- package/types/map/src/methods/map/getters.d.ts +0 -22
- package/types/map/src/methods/map/getters.d.ts.map +0 -1
- package/types/map/src/methods/map/index.d.ts +0 -7
- package/types/map/src/methods/map/index.d.ts.map +0 -1
- package/types/map/src/methods/map/remove.d.ts +0 -22
- package/types/map/src/methods/map/remove.d.ts.map +0 -1
- package/types/map/src/methods/map/setters.d.ts +0 -83
- package/types/map/src/methods/map/setters.d.ts.map +0 -1
- package/types/map/src/plugins/globe/index.d.ts +0 -6
- package/types/map/src/plugins/globe/index.d.ts.map +0 -1
- package/types/map/src/plugins/globe/methods.d.ts +0 -8
- package/types/map/src/plugins/globe/methods.d.ts.map +0 -1
- package/types/map/src/plugins/globe/openglobus.d.ts +0 -25
- package/types/map/src/plugins/globe/openglobus.d.ts.map +0 -1
- package/types/map/src/types.d.ts +0 -193
- package/types/map/src/types.d.ts.map +0 -1
- /package/types/{layercontrol/src/components → components}/layer-config.d.ts +0 -0
- /package/types/{layercontrol/src/components → components}/layer-legend.d.ts +0 -0
- /package/types/{layercontrol/src/components → components}/optional-list.d.ts +0 -0
- /package/types/{layercontrol/src/components → components}/tab-sliders.d.ts +0 -0
- /package/types/{layercontrol/src/components → components}/tools-items.d.ts +0 -0
- /package/types/{layercontrol/src/enums → enums}/index.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/check-properties.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/clean-json-input.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/create-sortable.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/detect-map-url-type.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/fetch-capabilities.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/filter-layers.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/get-layer-type.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/get-legend-config.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/get-start-vals.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/handle-datetime-update.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/hide-layers-based-on-property.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/index.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/is-layer-json-valid.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/is-layer-visible-based-on-zoom-state.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/is-layer-zoom-state-req.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/is-map-url-valid.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/layer-tools.d.ts +0 -0
- /package/types/{layercontrol/src/helpers → helpers}/update-url.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/add-layer.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/index.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/json-input-change.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/open-close-tab.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/url-input-change.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/url-layer.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/add-layer/wms-search-url.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer/first-updated.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer/index.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer/input-click.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer-config/apply-updated-styles.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer-config/data-change.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer-config/index.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer-list/first-updated.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layer-list/index.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layercontrol/index.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/layercontrol/layer-list-change.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/optional-list/add-to-list.d.ts +0 -0
- /package/types/{layercontrol/src/methods → methods}/optional-list/index.d.ts +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A control to switch between 2D and 3D views.
|
|
3
|
-
* @param {Object} [opt_options] Control options.
|
|
4
|
-
* @param {import("../main").EOxMap} opt_options.eoxMap
|
|
5
|
-
*/
|
|
6
|
-
export class GlobeSwitcher extends Control {
|
|
7
|
-
/**
|
|
8
|
-
* @param {Object} [options] Control options.
|
|
9
|
-
* @param {import("../main").EOxMap} options.eoxMap
|
|
10
|
-
*/
|
|
11
|
-
constructor(options?: {
|
|
12
|
-
eoxMap: import("../main").EOxMap;
|
|
13
|
-
});
|
|
14
|
-
eoxMap: import("../main").EOxMap;
|
|
15
|
-
button: HTMLButtonElement;
|
|
16
|
-
handleClick(): void;
|
|
17
|
-
}
|
|
18
|
-
import Control from "ol/control/Control";
|
|
19
|
-
//# sourceMappingURL=GlobeSwitcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GlobeSwitcher.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/GlobeSwitcher.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;OAGG;IACH,sBAFG;QAA0C,MAAM,EAAxC,OAAO,SAAS,EAAE,MAAM;KAClC,EAoBA;IAJC,iCAA4B;IAC5B,0BAAoB;IAKtB,oBASC;CACF;oBA/CmB,oBAAoB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds a control to the map and to the `mapControls` dictionary if it doesn't exist yet.
|
|
3
|
-
* Removes and remakes the control if the options differ; otherwise, leaves the control untouched.
|
|
4
|
-
*
|
|
5
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
6
|
-
* @param {ControlDictionary} existingControls - Dictionary of existing controls.
|
|
7
|
-
* @param {object} options - Options for the control.
|
|
8
|
-
*/
|
|
9
|
-
export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingControls: ControlDictionary, type: any, options: object): void;
|
|
10
|
-
/**
|
|
11
|
-
* Adds a control to the map.
|
|
12
|
-
*
|
|
13
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
14
|
-
* @param {ControlType} type - The type of control to add.
|
|
15
|
-
* @param {object} options - Options for the control.
|
|
16
|
-
*/
|
|
17
|
-
export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
|
|
18
|
-
export type ControlDictionary = import("../types").ControlDictionary;
|
|
19
|
-
export type ControlType = import("../types").ControlType;
|
|
20
|
-
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAqCA;;;;;;;GAOG;AACH,2CAJW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,sBACjB,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAqBhB;gCAxEY,OAAO,UAAU,EAAE,iBAAiB;0BACpC,OAAO,UAAU,EAAE,WAAW"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").GeolocationOptions} GeolocationOptions
|
|
3
|
-
*/
|
|
4
|
-
export default class GeolocationControl extends Control {
|
|
5
|
-
/**
|
|
6
|
-
* @param {GeolocationOptions} [opt_options] - Control options.
|
|
7
|
-
*/
|
|
8
|
-
constructor(opt_options?: GeolocationOptions);
|
|
9
|
-
_centerWhenReady: boolean;
|
|
10
|
-
_highAccuracy: boolean;
|
|
11
|
-
_trackAccuracy: boolean;
|
|
12
|
-
_trackHeading: boolean;
|
|
13
|
-
_positionFeature: Feature<Point, {
|
|
14
|
-
[x: string]: any;
|
|
15
|
-
}>;
|
|
16
|
-
_source: VectorSource<Feature<Point, {
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
}>>;
|
|
19
|
-
_accuracyFeature: Feature<import("ol/geom").Geometry, {
|
|
20
|
-
[x: string]: any;
|
|
21
|
-
}>;
|
|
22
|
-
_layer: VectorLayer<VectorSource<Feature<Point, {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
}>>, Feature<Point, {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
}>>;
|
|
27
|
-
/**
|
|
28
|
-
* Initializes the geolocation control.
|
|
29
|
-
* This will prompt the user for geolocation permissions in the browser.
|
|
30
|
-
*/
|
|
31
|
-
initGeolocation(): Promise<any>;
|
|
32
|
-
_geolocation: Geolocation;
|
|
33
|
-
/**
|
|
34
|
-
* Returns the geolocation control element.
|
|
35
|
-
*
|
|
36
|
-
* @returns {HTMLElement} - The control element.
|
|
37
|
-
*/
|
|
38
|
-
getElement(): HTMLElement;
|
|
39
|
-
/**
|
|
40
|
-
* Centers the map on the position of the geolocation, if possible.
|
|
41
|
-
*/
|
|
42
|
-
centerOnPosition(): Promise<void>;
|
|
43
|
-
}
|
|
44
|
-
export type GeolocationOptions = import("../types").GeolocationOptions;
|
|
45
|
-
import Control from "ol/control/Control.js";
|
|
46
|
-
import Point from "ol/geom/Point";
|
|
47
|
-
import Feature from "ol/Feature";
|
|
48
|
-
import VectorSource from "ol/source/Vector.js";
|
|
49
|
-
import VectorLayer from "ol/layer/Vector.js";
|
|
50
|
-
import Geolocation from "ol/Geolocation";
|
|
51
|
-
//# sourceMappingURL=geo-location.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;OAGE;IAGF;;QAEE;IAIA;;OAAqC;IAYvC;;;;QAAuD;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,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").LoadingIndicatorOptions} LoadingIndicatorOptions
|
|
3
|
-
*/
|
|
4
|
-
export default class LoadingIndicatorControl extends Control {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a loading indicator control to show when map loading events occur.
|
|
7
|
-
*
|
|
8
|
-
* @param {LoadingIndicatorOptions} [opt_options] - Options for configuring the loading indicator control.
|
|
9
|
-
*/
|
|
10
|
-
constructor(opt_options?: LoadingIndicatorOptions);
|
|
11
|
-
/**
|
|
12
|
-
* Returns the loading indicator element.
|
|
13
|
-
*
|
|
14
|
-
* @returns {HTMLElement} - The control element.
|
|
15
|
-
*/
|
|
16
|
-
getElement(): HTMLElement;
|
|
17
|
-
}
|
|
18
|
-
export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
|
|
19
|
-
import Control from "ol/control/Control.js";
|
|
20
|
-
//# sourceMappingURL=loading-indicator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default MapboxStyle;
|
|
2
|
-
declare class MapboxStyle extends LayerGroup {
|
|
3
|
-
constructor(options?: {});
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @param {*} mapboxStyle mapbox style definition
|
|
7
|
-
* @param {Parameters<typeof import("ol-mapbox-style").apply>[2]} applyOptions ol-mapbox-style apply options
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
applyMapboxStyle(mapboxStyle: any, applyOptions: Parameters<typeof import("ol-mapbox-style").apply>[2]): Promise<LayerGroup | import("ol").Map>;
|
|
11
|
-
}
|
|
12
|
-
import LayerGroup from "ol/layer/Group";
|
|
13
|
-
//# sourceMappingURL=MapboxStyle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapboxStyle.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/layers/MapboxStyle.js"],"names":[],"mappings":";AAGA;IACE,0BAQC;IAED;;;;;OAKG;IACH,8BAJW,GAAC,gBACD,UAAU,CAAC,cAAc,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,0CAK/D;CACF;uBAvBsB,gBAAgB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export default EOxCluster;
|
|
2
|
-
export type ClusterOptions = import("../../types").EOxClusterOptions;
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {import("../../types").EOxClusterOptions} ClusterOptions
|
|
5
|
-
*/
|
|
6
|
-
declare class EOxCluster extends Cluster<Feature<import("ol/geom").Geometry, {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
}>> {
|
|
9
|
-
static defaultCreateCluster(point: any, features: any): Feature<any, {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}>;
|
|
12
|
-
/**
|
|
13
|
-
* @param {import("ol/Feature").FeatureLike} feature
|
|
14
|
-
* @returns {import("ol/geom/Point").default}
|
|
15
|
-
*/
|
|
16
|
-
static defaultGeometryFunction(feature: import("ol/Feature").FeatureLike): import("ol/geom/Point").default;
|
|
17
|
-
/**
|
|
18
|
-
* @param {ClusterOptions} options
|
|
19
|
-
*/
|
|
20
|
-
constructor(options?: ClusterOptions);
|
|
21
|
-
}
|
|
22
|
-
import { Feature } from "ol";
|
|
23
|
-
import { Cluster } from "ol/source";
|
|
24
|
-
//# sourceMappingURL=Cluster.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cluster.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/Cluster.js"],"names":[],"mappings":";6BAKa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AAEH;;;IAYE;;OAqBC;IAED;;;OAGG;IACH,wCAHW,OAAO,YAAY,EAAE,WAAW,GAC9B,OAAO,eAAe,EAAE,OAAO,CAW3C;IA/CD;;OAEG;IACH,sBAFW,cAAc,EAQxB;CAuCF;wBAzDuB,IAAI;wBAEJ,WAAW"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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<import("ol/geom").Geometry, {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
}>> {
|
|
9
|
-
/**
|
|
10
|
-
* @param {FlatGeoBufOptions} options
|
|
11
|
-
*/
|
|
12
|
-
constructor(options: FlatGeoBufOptions);
|
|
13
|
-
dataProjection: import("ol/proj").ProjectionLike;
|
|
14
|
-
resourceURLs: string[];
|
|
15
|
-
/**
|
|
16
|
-
* transform an ol extent into FlatGeoBuf-format
|
|
17
|
-
* @param {import("ol/extent").Extent} extent
|
|
18
|
-
* @param {import("ol/proj").Projection} projection
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
fgbBoundingBox(extent: import("ol/extent").Extent, projection: import("ol/proj").Projection): {
|
|
22
|
-
minX: number;
|
|
23
|
-
minY: number;
|
|
24
|
-
maxX: number;
|
|
25
|
-
maxY: number;
|
|
26
|
-
};
|
|
27
|
-
loader(extent: import("ol/extent").Extent, resolution: number, projection: import("ol/proj").default, success?: (features: import("ol/Feature").FeatureLike[]) => void, failure?: () => void): void;
|
|
28
|
-
}
|
|
29
|
-
import Vector from "ol/source/Vector.js";
|
|
30
|
-
//# sourceMappingURL=FlatGeoBuf.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAQa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;;;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAa3B;IALC,iDAC4D;IAC5D,uBAC+D;IAIjE;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;;CAmDF;mBA/FkB,qBAAqB"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,QAuCjC;IAtBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAqB3C;;;;OAIG;IACH,2CAsCc,WAHC,KAAK,CAAC,MAAM,CAGJ,KAFP,MAAM,GAAC,SAAS,CA2B/B;CACF;sBAjKqB,wBAAwB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../map/src/enums/map.js"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds new features to a specified vector layer from drawing/upload/input change events.
|
|
3
|
-
* This function supports handling both single and multiple features.
|
|
4
|
-
*
|
|
5
|
-
* @param {import("ol/interaction/Draw").DrawEvent | import("ol/interaction/DragAndDrop").DragAndDropEvent | { features: Array<import("ol/Feature").default> }} e - The event object from drawing or drag-and-drop actions, containing the features.
|
|
6
|
-
* @param {import("ol/layer").Vector} vectorLayer - The vector layer to which features will be added.
|
|
7
|
-
* @param {import("../main").EOxMap} EOxMap - The EOxMap instance for dispatching custom events and adjusting the view.
|
|
8
|
-
* @param {boolean} isDraw - Optional. If true, indicates the features come from a drawing event.
|
|
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.
|
|
11
|
-
*/
|
|
12
|
-
export default function addNewFeature(e: import("ol/interaction/Draw").DrawEvent | import("ol/interaction/DragAndDrop").DragAndDropEvent | {
|
|
13
|
-
features: Array<import("ol/Feature").default>;
|
|
14
|
-
}, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, isDraw?: boolean, replaceFeatures?: boolean, animate?: boolean): void;
|
|
15
|
-
//# sourceMappingURL=add-new-feature.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,QAoEjB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* cancels any animation of the given view
|
|
3
|
-
*
|
|
4
|
-
* @param {import("ol/View").default} view - The OpenLayers view object whose animations need to be canceled.
|
|
5
|
-
*/
|
|
6
|
-
export default function cancelAnimation(view: import("ol/View").default): void;
|
|
7
|
-
//# sourceMappingURL=cancel-animation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-animation.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/cancel-animation.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,8CAFW,OAAO,SAAS,EAAE,OAAO,QAMnC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* returns an ol-coordinate from a given center property.
|
|
3
|
-
* the coordinate expected coordinate system is EPSG:3857, however,
|
|
4
|
-
* if both parts of the coordinate are between -180 and 180, the coordinate
|
|
5
|
-
* system EPSG:4326 is assumed.
|
|
6
|
-
* use `map.getView().setCenter()` to manually set the center of the view.
|
|
7
|
-
*
|
|
8
|
-
* @param {Array<number>} centerProperty - The input coordinate as [longitude, latitude].
|
|
9
|
-
* @returns {import("ol/coordinate").Coordinate} - The converted coordinate in EPSG:3857.
|
|
10
|
-
*/
|
|
11
|
-
export function getCenterFromProperty(centerProperty: Array<number>): import("ol/coordinate").Coordinate;
|
|
12
|
-
//# sourceMappingURL=center.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds a `cluster-explode` interaction to the map.
|
|
3
|
-
*
|
|
4
|
-
* @param {EOxMap} EOxMap - Instance of EOxMap class.
|
|
5
|
-
* @param {import("ol/layer/Vector").default<import("ol/source/Cluster").default>} clusterLayer - Layer to be clustered. Point or Polygon features.
|
|
6
|
-
* @param {ClusterExplodeOptions} options - Options for the interaction.
|
|
7
|
-
*
|
|
8
|
-
* @throws Will throw an error if an interaction with the specified ID already exists.
|
|
9
|
-
*/
|
|
10
|
-
export function addClusterExplode(EOxMap: EOxMap, clusterLayer: import("ol/layer/Vector").default<import("ol/source/Cluster").default>, options: ClusterExplodeOptions): void;
|
|
11
|
-
/**
|
|
12
|
-
* Class representing the EOxClusterInteraction.
|
|
13
|
-
* Handles the the zoom and the "spider-explosion" of clustered features of a cluster layer
|
|
14
|
-
*/
|
|
15
|
-
export class EOxClusterExplodeInteraction extends Interaction {
|
|
16
|
-
/**
|
|
17
|
-
* @param {EOxMap} eoxMap - Instance of the EOxMap class.
|
|
18
|
-
* @param {import("ol/layer/Vector").default<import("ol/source/Cluster").default>} clusterLayer - Vector Layer with Cluster Source for the interaction.
|
|
19
|
-
* @param {ClusterExplodeOptions} options - Options for the selection interaction.
|
|
20
|
-
*/
|
|
21
|
-
constructor(eoxMap: EOxMap, clusterLayer: import("ol/layer/Vector").default<import("ol/source/Cluster").default>, options: ClusterExplodeOptions);
|
|
22
|
-
clusterLayer: VectorLayer<import("ol/source").Cluster<Feature<import("ol/geom").Geometry, {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
}>>, Feature<import("ol/geom").Geometry, {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
}>>;
|
|
27
|
-
eoxMap: import("../main").EOxMap;
|
|
28
|
-
active: boolean;
|
|
29
|
-
handleEvent(evt: any): boolean;
|
|
30
|
-
setMap(map: any): void;
|
|
31
|
-
/**
|
|
32
|
-
* Removes the cluster interaction from the map.
|
|
33
|
-
*/
|
|
34
|
-
remove(): void;
|
|
35
|
-
#private;
|
|
36
|
-
}
|
|
37
|
-
export type EOxMap = import("../main").EOxMap;
|
|
38
|
-
export type ClusterExplodeOptions = import("../types").ClusterExplodeOptions;
|
|
39
|
-
import Interaction from "ol/interaction/Interaction";
|
|
40
|
-
import Feature from "ol/Feature";
|
|
41
|
-
import VectorLayer from "ol/layer/Vector";
|
|
42
|
-
//# sourceMappingURL=cluster-explode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-explode.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/cluster-explode.js"],"names":[],"mappings":"AA0TA;;;;;;;;GAQG;AACH,0CANW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,QAiB/B;AA/TD;;;GAGG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,gBACN,OAAO,iBAAiB,EAAE,OAAO,CAAC,OAAO,mBAAmB,EAAE,OAAO,CAAC,WACtE,qBAAqB,EAiC/B;IA7BC;;;;QAAgC;IAChC,iCAAoB;IAsBpB,gBAAyD;IA6B3D,+BA4EC;IAcD,uBAMC;IAiID;;OAEG;IACH,eAEC;;CACF;qBA/SY,OAAO,SAAS,EAAE,MAAM;oCACxB,OAAO,UAAU,EAAE,qBAAqB;wBAR7B,4BAA4B;oBAFhC,YAAY;wBAMR,iBAAiB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A helper function to determine approximate equality between two coordinates.
|
|
3
|
-
* This function is based on OpenLayers' "equals" method but includes a tolerance (epsilon).
|
|
4
|
-
*
|
|
5
|
-
* @param {import("ol/coordinate").Coordinate} coordinate1 - The first coordinate to compare.
|
|
6
|
-
* @param {import("ol/coordinate").Coordinate} coordinate2 - The first coordinate to compare.
|
|
7
|
-
* @param {number?} [epsilon] - The first coordinate to compare.
|
|
8
|
-
*
|
|
9
|
-
* @return {boolean} - True if the coordinates are approximately equal, false otherwise.
|
|
10
|
-
*/
|
|
11
|
-
export default function coordinatesRoughlyEquals(coordinate1: import("ol/coordinate").Coordinate, coordinate2: import("ol/coordinate").Coordinate, epsilon?: number | null): boolean;
|
|
12
|
-
//# sourceMappingURL=coordinates-roughly-equals.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").DrawOptions} DrawOptions
|
|
3
|
-
* @typedef {import("../types").SelectOptions} SelectOptions
|
|
4
|
-
* @typedef {import("../types").SelectLayer} SelectLayer
|
|
5
|
-
* @typedef {import("ol/layer").Vector} VectorLayer
|
|
6
|
-
* */
|
|
7
|
-
/**
|
|
8
|
-
* Adds a `draw` interaction to the map. If `options.modify` is set, it also adds a `modify` interaction.
|
|
9
|
-
* The `modify` interaction's name follows the convention `${DrawOptions.id}_modify`.
|
|
10
|
-
*
|
|
11
|
-
* @param {import("../main").EOxMap} EOxMap - The map object where the interactions will be added.
|
|
12
|
-
* @param {import("ol/layer").Vector<import("ol/source").Vector>} drawLayer - The map object where the interactions will be added.
|
|
13
|
-
* @param {DrawOptions} options - The map object where the interactions will be added.
|
|
14
|
-
*
|
|
15
|
-
* @throws Will throw an error if an interaction with the given ID already exists.
|
|
16
|
-
*/
|
|
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;
|
|
21
|
-
export type VectorLayer = import("ol/layer").Vector;
|
|
22
|
-
//# sourceMappingURL=draw.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates an OpenLayers layer from a given EoxLayer definition object.
|
|
3
|
-
*
|
|
4
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
5
|
-
* @param {EoxLayer} layer - The layer definition.
|
|
6
|
-
* @param {boolean} [createInteractions=true] - Whether to create interactions for the layer (default: true).
|
|
7
|
-
* @returns {AnyLayer} - The created OpenLayers layer.
|
|
8
|
-
* @throws Will throw an error if the specified layer or source type is not supported.
|
|
9
|
-
*/
|
|
10
|
-
export function createLayer(EOxMap: import("../main").EOxMap, layer: EoxLayer, createInteractions?: boolean): AnyLayer;
|
|
11
|
-
/**
|
|
12
|
-
* Updates an existing layer with a new definition.
|
|
13
|
-
*
|
|
14
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
15
|
-
* @param {EoxLayer} newLayerDefinition - The new layer definition.
|
|
16
|
-
* @param {import("ol/layer/Base").default} existingLayer - The existing layer to be updated.
|
|
17
|
-
* @returns {import("ol/layer/Base").default} - The updated layer.
|
|
18
|
-
*
|
|
19
|
-
* @throws Will throw an error if the new layer is not compatible with the existing one.
|
|
20
|
-
*/
|
|
21
|
-
export function updateLayer(EOxMap: import("../main").EOxMap, newLayerDefinition: EoxLayer, existingLayer: import("ol/layer/Base").default): import("ol/layer/Base").default;
|
|
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;
|
|
32
|
-
//# sourceMappingURL=generate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"AAiEA;;;;;;;;GAQG;AACH,oCANW,OAAO,SAAS,EAAE,MAAM,SACxB,QAAQ,uBACR,OAAO,GACL,QAAQ,CA+DpB;AA0FD;;;;;;;;;GASG;AACH,oCAPW,OAAO,SAAS,EAAE,MAAM,sBACxB,QAAQ,iBACR,OAAO,eAAe,EAAE,OAAO,GAC7B,OAAO,eAAe,EAAE,OAAO,CA+N3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAM3B;qBA7bY,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,17 +0,0 @@
|
|
|
1
|
-
export { default as addNewFeature } from "./add-new-feature";
|
|
2
|
-
export { default as cancelAnimation } from "./cancel-animation";
|
|
3
|
-
export { default as parseTextToFeature } from "./parse-text";
|
|
4
|
-
export { default as registerProjection } from "./register-projection";
|
|
5
|
-
export { default as registerProjectionFromCode } from "./register-projection-from-code";
|
|
6
|
-
export { default as parseFeature } from "./parse-feature";
|
|
7
|
-
export { default as coordinatesRoughlyEquals } from "./coordinates-roughly-equals";
|
|
8
|
-
export { getCenterFromProperty } from "./center";
|
|
9
|
-
export { addDraw } from "./draw";
|
|
10
|
-
export { addClusterExplode } from "./cluster-explode";
|
|
11
|
-
export { generateTileGrid } from "./tile-grid";
|
|
12
|
-
export { transform, transformExtent } from "./transform";
|
|
13
|
-
export { addScrollInteractions, removeDefaultScrollInteractions } from "./interactions";
|
|
14
|
-
export { EOxSelectInteraction, addSelect } from "./select";
|
|
15
|
-
export { getLayerById, getFlatLayersArray } from "./layer";
|
|
16
|
-
export { createLayer, updateLayer } from "./generate";
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds interactions to control scroll behavior on the specified OpenLayers map.
|
|
3
|
-
* If `customInteraction` is true, enables zooming only with a platform-specific modifier key (e.g., `Ctrl` on Windows).
|
|
4
|
-
* On touch devices, allows dragging with two fingers or a modifier key.
|
|
5
|
-
*
|
|
6
|
-
* @param {import("ol").Map} map - The OpenLayers map to which the interactions should be added.
|
|
7
|
-
* @param {boolean} customInteraction - Indicates whether to use custom interactions (default: false).
|
|
8
|
-
*/
|
|
9
|
-
export function addScrollInteractions(map: import("ol").Map, customInteraction?: boolean): void;
|
|
10
|
-
/**
|
|
11
|
-
* Removes interactions that prevent scroll behavior from the specified OpenLayers map.
|
|
12
|
-
*
|
|
13
|
-
* @param {import("ol").Map} map - The OpenLayers map from which the interactions should be removed.
|
|
14
|
-
*/
|
|
15
|
-
export function removeDefaultScrollInteractions(map: import("ol").Map): void;
|
|
16
|
-
//# sourceMappingURL=interactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {import("../types").AnyLayerWithSource} AnyLayerWithSource
|
|
3
|
-
* @typedef {import("../types").AnyLayer} AnyLayer
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves a layer by its ID from the EOxMap instance.
|
|
7
|
-
*
|
|
8
|
-
* @param {import("../main").EOxMap} EOxMap - Instance of the EOxMap class.
|
|
9
|
-
* @param {string} layerId - The ID of the OpenLayers layer to find.
|
|
10
|
-
* @returns {AnyLayerWithSource} - The layer with the specified ID, or `undefined` if it does not exist.
|
|
11
|
-
*/
|
|
12
|
-
export function getLayerById(EOxMap: import("../main").EOxMap, layerId: string): AnyLayerWithSource;
|
|
13
|
-
/**
|
|
14
|
-
* Returns a flat array of all map layers, including nested layers within groups.
|
|
15
|
-
*
|
|
16
|
-
* Note: If you want to get all layers without groups, use the native OpenLayers `getAllLayers` method:
|
|
17
|
-
* https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html#getAllLayers
|
|
18
|
-
*
|
|
19
|
-
* @param {Array<AnyLayer>} layers - Array of OpenLayers layers, possibly containing groups.
|
|
20
|
-
*/
|
|
21
|
-
export function getFlatLayersArray(layers: Array<AnyLayer>): import("ol/layer/Base").default<{
|
|
22
|
-
[x: string]: any;
|
|
23
|
-
}>[];
|
|
24
|
-
export type AnyLayerWithSource = import("../types").AnyLayerWithSource;
|
|
25
|
-
export type AnyLayer = import("../types").AnyLayer;
|
|
26
|
-
//# sourceMappingURL=layer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;KAqCzB;iCA9DY,OAAO,UAAU,EAAE,kBAAkB;uBACrC,OAAO,UAAU,EAAE,QAAQ"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts an array of OpenLayers features into a GeoJSON object.
|
|
3
|
-
*
|
|
4
|
-
* @param {Array<import("ol/Feature").default>} features - An array of OpenLayers features to be converted.
|
|
5
|
-
* @returns {Object} - A GeoJSON object representing the provided features.
|
|
6
|
-
*/
|
|
7
|
-
export default function parseFeature(features: Array<import("ol/Feature").default>): any;
|
|
8
|
-
//# sourceMappingURL=parse-feature.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-feature.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-feature.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,+CAHW,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,OAS7C"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function determines the projection of the features based on the provided text.
|
|
3
|
-
*
|
|
4
|
-
* @param {GeoJSON | KML | TopoJSON | null} formatReader
|
|
5
|
-
* @param {string} text
|
|
6
|
-
* @returns {string | undefined} - Returns the projection string if determined, otherwise undefined.
|
|
7
|
-
*/
|
|
8
|
-
export function getProj(formatReader: GeoJSON | KML | TopoJSON | null, text: string): string | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* This function reads text and attempts to parse it as GeoJSON, KML, or TopoJSON.
|
|
11
|
-
* If successful, it adds the parsed features to the map.
|
|
12
|
-
*
|
|
13
|
-
* @param {string} text - The string containing the geographic data to be parsed.
|
|
14
|
-
* @param {import("ol/layer").Vector} vectorLayer - The vector layer to which the parsed features will be added.
|
|
15
|
-
* @param {import("../main").EOxMap} EOxMap - An instance of EOxMap, used here for context and potentially for further operations like event dispatching.
|
|
16
|
-
* @param {boolean} replaceFeatures - Optional boolean flag indicating whether to replace the existing features with the new ones.
|
|
17
|
-
* @param {boolean} animate - Optional boolean flag indicating whether to animate the map on feature change.
|
|
18
|
-
* @return {void}
|
|
19
|
-
*/
|
|
20
|
-
export default function parseTextToFeature(text: string, vectorLayer: import("ol/layer").Vector, EOxMap: import("../main").EOxMap, replaceFeatures?: boolean, animate?: boolean): void;
|
|
21
|
-
/**
|
|
22
|
-
* Function to check if a string is valid GeoJSON
|
|
23
|
-
*
|
|
24
|
-
* @param {string} text - The string to be checked.
|
|
25
|
-
* @returns {boolean} - `true` if the string is a valid GeoJSON object, `false` otherwise.
|
|
26
|
-
*/
|
|
27
|
-
export function isGeoJSON(text: string): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Function to check if a string is valid KML
|
|
30
|
-
*
|
|
31
|
-
* @param {string} text - The string to be checked.
|
|
32
|
-
* @returns {boolean} - `true` if the string contains KML tags, `false` otherwise.
|
|
33
|
-
*/
|
|
34
|
-
export function isKML(text: string): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Function to check if a string is valid TopoJSON
|
|
37
|
-
*
|
|
38
|
-
* @param {string} text - The string to be checked.
|
|
39
|
-
* @returns {boolean} - `true` if the string is a valid TopoJSON object, `false` otherwise.
|
|
40
|
-
*/
|
|
41
|
-
export function isTopoJSON(text: string): boolean;
|
|
42
|
-
import GeoJSON from "ol/format/GeoJSON";
|
|
43
|
-
import KML from "ol/format/KML";
|
|
44
|
-
import TopoJSON from "ol/format/TopoJSON";
|
|
45
|
-
//# sourceMappingURL=parse-text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,sCAJW,OAAO,GAAG,GAAG,GAAG,QAAQ,GAAG,IAAI,QAC/B,MAAM,GACJ,MAAM,GAAG,SAAS,CAoB9B;AAkBD;;;;;;;;;;GAUG;AACH,iDAPW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,OAAO,SAAS,EAAE,MAAM,oBACxB,OAAO,YACP,OAAO,GACN,IAAI,CAqCf;AAmBD;;;;;GAKG;AACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;GAKG;AACH,4BAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,OAAO,CAWnB;oBA5JmB,mBAAmB;gBACvB,eAAe;qBAFV,oBAAoB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fetches the projection definition for a given EPSG code from epsg.io and registers the projection using proj4.
|
|
3
|
-
*
|
|
4
|
-
* @param {string | number} code - The EPSG code (e.g., 4326 or 'EPSG:4326').
|
|
5
|
-
* @returns {Promise<import("ol/proj/Projection").default>} - A promise that resolves to the registered projection.
|
|
6
|
-
*/
|
|
7
|
-
export default function registerProjectionFromCode(code: string | number): Promise<import("ol/proj/Projection").default>;
|
|
8
|
-
//# sourceMappingURL=register-projection-from-code.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers a projection under a given name using a proj4 definition.
|
|
3
|
-
* This allows OpenLayers to recognize and work with custom or predefined projections.
|
|
4
|
-
*
|
|
5
|
-
* @param {string} name - The name of the projection (e.g., "EPSG:4326").
|
|
6
|
-
* @param {string | proj4.ProjectionDefinition} projection - The proj4 projection definition string or object.
|
|
7
|
-
* @param {import("ol/extent").Extent} [extent=undefined] - Optional extent for the projection. Defines the coordinate system's valid area.
|
|
8
|
-
*/
|
|
9
|
-
export default function registerProjection(name: string, projection: string | proj4.ProjectionDefinition, extent?: import("ol/extent").Extent): void;
|
|
10
|
-
import proj4 from "proj4";
|
|
11
|
-
//# sourceMappingURL=register-projection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|