@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.
- package/dist/eox-layercontrol.js +2996 -2869
- package/dist/eox-layercontrol.umd.cjs +626 -565
- package/dist/material-symbols-outlined.woff2 +0 -0
- package/dist/material-symbols-rounded.woff2 +0 -0
- package/dist/material-symbols-sharp.woff2 +0 -0
- package/dist/material-symbols-subset.woff2 +0 -0
- package/package.json +8 -5
- package/src/components/add-layers.js +79 -179
- package/src/components/layer-config.js +22 -3
- package/src/components/layer-group.js +41 -18
- package/src/components/layer-legend.js +7 -4
- package/src/components/layer-list.js +27 -19
- package/src/components/layer-tools.js +60 -120
- package/src/components/layer.js +215 -59
- package/src/components/optional-list.js +32 -25
- package/src/components/tools-items.js +34 -31
- package/src/enums/index.js +1 -0
- package/src/enums/stories/index.js +4 -2
- package/src/helpers/clean-json-input.js +0 -1
- package/src/helpers/create-sortable.js +4 -1
- package/src/helpers/get-layer-type.js +2 -1
- package/src/helpers/get-start-vals.js +0 -3
- package/src/helpers/index.js +1 -0
- package/src/helpers/layer-tools.js +75 -13
- package/src/main.js +37 -7
- package/src/methods/layer-config/apply-updated-styles.js +1 -0
- package/src/methods/layercontrol/first-update.js +10 -4
- package/types/layercontrol/src/components/add-layers.d.ts +2 -2
- package/types/layercontrol/src/components/add-layers.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-config.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-group.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-list.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-tools.d.ts +8 -4
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer.d.ts +9 -0
- package/types/layercontrol/src/components/layer.d.ts.map +1 -1
- package/types/layercontrol/src/components/optional-list.d.ts.map +1 -1
- package/types/layercontrol/src/components/tools-items.d.ts.map +1 -1
- package/types/layercontrol/src/enums/index.d.ts +1 -1
- package/types/layercontrol/src/enums/stories/index.d.ts +1 -0
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/create-sortable.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/filter-layers.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-layer-type.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts +1 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/index.d.ts +1 -1
- package/types/layercontrol/src/helpers/layer-tools.d.ts +13 -3
- package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/main.d.ts +2 -2
- package/types/layercontrol/src/main.d.ts.map +1 -1
- package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +1 -1
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts +1 -1
- package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +1 -1
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts +2 -2
- package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +1 -1
- package/types/map/src/components/compare.d.ts +2 -2
- package/types/map/src/components/compare.d.ts.map +1 -1
- package/types/map/src/components/tooltip.d.ts +7 -2
- package/types/map/src/components/tooltip.d.ts.map +1 -1
- package/types/map/src/controls/controls.d.ts +2 -8
- package/types/map/src/controls/controls.d.ts.map +1 -1
- package/types/map/src/controls/geo-location.d.ts +5 -5
- package/types/map/src/controls/geo-location.d.ts.map +1 -1
- package/types/map/src/controls/loading-indicator.d.ts +3 -3
- package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +27 -0
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
- package/types/map/src/helpers/add-new-feature.d.ts +2 -1
- package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
- package/types/map/src/helpers/center.d.ts.map +1 -1
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -1
- package/types/map/src/helpers/draw.d.ts +6 -6
- package/types/map/src/helpers/draw.d.ts.map +1 -1
- package/types/map/src/helpers/generate.d.ts +13 -11
- package/types/map/src/helpers/generate.d.ts.map +1 -1
- package/types/map/src/helpers/interactions.d.ts.map +1 -1
- package/types/map/src/helpers/layer.d.ts +5 -5
- package/types/map/src/helpers/layer.d.ts.map +1 -1
- package/types/map/src/helpers/parse-feature.d.ts.map +1 -1
- package/types/map/src/helpers/parse-text.d.ts +3 -1
- package/types/map/src/helpers/parse-text.d.ts.map +1 -1
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -1
- package/types/map/src/helpers/register-projection.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +14 -14
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/helpers/tile-grid.d.ts +2 -2
- package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
- package/types/map/src/helpers/transform.d.ts +2 -2
- package/types/map/src/helpers/transform.d.ts.map +1 -1
- package/types/map/src/layers.d.ts +116 -0
- package/types/map/src/layers.d.ts.map +1 -0
- package/types/map/src/main.d.ts +31 -31
- package/types/map/src/main.d.ts.map +1 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
- package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
- package/types/map/src/methods/map/getters.d.ts.map +1 -1
- package/types/map/src/methods/map/setters.d.ts +12 -12
- package/types/map/src/methods/map/setters.d.ts.map +1 -1
- package/types/map/{types.d.ts → src/types.d.ts} +35 -34
- package/types/map/src/types.d.ts.map +1 -0
- package/types/map/types.d.ts.map +0 -1
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
export function addSelect(EOxMap: EOxMap, selectLayer: SelectLayer, options: SelectOptions | DrawOptions): EOxSelectInteraction;
|
|
12
12
|
/**
|
|
13
13
|
* @typedef {import('../main').EOxMap} EOxMap
|
|
14
|
-
* @typedef {import("
|
|
15
|
-
* @typedef {import("
|
|
16
|
-
* @typedef {import("
|
|
17
|
-
* @typedef {import("
|
|
14
|
+
* @typedef {import("../layers").EoxLayer} EoxLayer
|
|
15
|
+
* @typedef {import("../types").SelectLayer} SelectLayer
|
|
16
|
+
* @typedef {import("../types").SelectOptions} SelectOptions
|
|
17
|
+
* @typedef {import("../types").DrawOptions} DrawOptions
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* Class representing the EOxSelectInteraction.
|
|
@@ -29,20 +29,20 @@ export class EOxSelectInteraction {
|
|
|
29
29
|
*/
|
|
30
30
|
constructor(eoxMap: EOxMap, selectLayer: SelectLayer, options: SelectOptions);
|
|
31
31
|
eoxMap: import("../main").EOxMap;
|
|
32
|
-
selectLayer: import("
|
|
33
|
-
options: import("
|
|
32
|
+
selectLayer: import("../types").SelectLayer;
|
|
33
|
+
options: import("../types").SelectOptions;
|
|
34
34
|
active: boolean;
|
|
35
35
|
panIn: boolean;
|
|
36
36
|
tooltip: boolean;
|
|
37
37
|
/** @type {Array<string|number>} **/
|
|
38
38
|
selectedFids: Array<string | number>;
|
|
39
39
|
tooltipElement: Element;
|
|
40
|
-
selectStyleLayer:
|
|
40
|
+
selectStyleLayer: import("../types").SelectLayer;
|
|
41
41
|
/**
|
|
42
42
|
* Listener to handle selection events
|
|
43
|
-
* @param {import("ol/MapBrowserEvent").default
|
|
43
|
+
* @param {import("ol/MapBrowserEvent").default} event
|
|
44
44
|
* **/
|
|
45
|
-
listener: (event: import("ol
|
|
45
|
+
listener: (event: import("ol").MapBrowserEvent<any>) => void;
|
|
46
46
|
changeSourceListener: () => void;
|
|
47
47
|
/**
|
|
48
48
|
* Adds a listener on pointermove
|
|
@@ -79,11 +79,11 @@ export class EOxSelectInteraction {
|
|
|
79
79
|
*/
|
|
80
80
|
getId(feature: Feature | RenderFeature): string | number;
|
|
81
81
|
}
|
|
82
|
-
export type EOxMap = import(
|
|
83
|
-
export type EoxLayer = import("
|
|
84
|
-
export type SelectLayer = import("
|
|
85
|
-
export type SelectOptions = import("
|
|
86
|
-
export type DrawOptions = import("
|
|
82
|
+
export type EOxMap = import("../main").EOxMap;
|
|
83
|
+
export type EoxLayer = import("../layers").EoxLayer;
|
|
84
|
+
export type SelectLayer = import("../types").SelectLayer;
|
|
85
|
+
export type SelectOptions = import("../types").SelectOptions;
|
|
86
|
+
export type DrawOptions = import("../types").DrawOptions;
|
|
87
87
|
import Feature from "ol/Feature";
|
|
88
88
|
import RenderFeature from "ol/render/Feature";
|
|
89
89
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AA2VA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AAxWD;;;;;;GAMG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,eACN,WAAW,WACX,aAAa,EA8NvB;IA3NC,iCAAoB;IACpB,4CAA8B;IAC9B,0CAAsB;IACtB,gBAAwD;IACxD,eAAmC;IACnC,iBAAuD;IACvD,oCAAoC;IACpC,cADW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,CACT;IAUlB,wBAAkD;IA4DtD,iDAEC;IAwBD;;;UAGM;IACN,6DA+CC;IAiBD,iCAGC;IAoBD;;;;OAIG;IACH,sCAkBC;IAIH;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,kCAHW,OAAO,GAAG,aAAa,GAAG,OAAO,WAAW,EAAE,MAAM,yBAU7D;IAEF;;;;OAIG;IACH,mBAHW,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,0BAkChC;IAED;;OAEG;IACH,eAMC;IAED;;;;;OAKG;IACH,eAJW,OAAO,GAAG,aAAa,GACrB,MAAM,GAAG,MAAM,CAoB3B;CACF;qBA/UY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;4BAC9B,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;oBAXvB,YAAY;0BACN,mBAAmB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../layers").EoxLayer} EoxLayer
|
|
3
3
|
* */
|
|
4
4
|
/**
|
|
5
5
|
* Generates a tile grid for the specified layer. If the layer's source type is "WMTS",
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
* @returns {import("ol/tilegrid/WMTS").default | import("ol/tilegrid/TileGrid").default | undefined} - The generated tile grid or `undefined` if not applicable.
|
|
11
11
|
*/
|
|
12
12
|
export function generateTileGrid(layer: EoxLayer): import("ol/tilegrid/WMTS").default | import("ol/tilegrid/TileGrid").default | undefined;
|
|
13
|
-
export type EoxLayer = import("
|
|
13
|
+
export type EoxLayer = import("../layers").EoxLayer;
|
|
14
14
|
//# sourceMappingURL=tile-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile-grid.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/tile-grid.js"],"names":[],"mappings":"AAKA;;KAEK;AAEL;;;;;;;GAOG;AACH,wCAHW,QAAQ,GACN,OAAO,kBAAkB,EAAE,OAAO,GAAG,OAAO,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAkDnG;uBA3DY,OAAO,
|
|
1
|
+
{"version":3,"file":"tile-grid.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/tile-grid.js"],"names":[],"mappings":"AAKA;;KAEK;AAEL;;;;;;;GAOG;AACH,wCAHW,QAAQ,GACN,OAAO,kBAAkB,EAAE,OAAO,GAAG,OAAO,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAkDnG;uBA3DY,OAAO,WAAW,EAAE,QAAQ"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param {import('ol/proj').ProjectionLike} destination
|
|
7
7
|
* @returns {import('ol/coordinate').Coordinate}
|
|
8
8
|
*/
|
|
9
|
-
export function transform(coordinate: import(
|
|
9
|
+
export function transform(coordinate: import("ol/coordinate").Coordinate, source: import("ol/proj").ProjectionLike, destination?: import("ol/proj").ProjectionLike): import("ol/coordinate").Coordinate;
|
|
10
10
|
/**
|
|
11
11
|
* Transforms an extent to a given projection.
|
|
12
12
|
* Uf no `destination` is defined, the extent is transformed to EPSG:4326.
|
|
@@ -15,5 +15,5 @@ export function transform(coordinate: import('ol/coordinate').Coordinate, source
|
|
|
15
15
|
* @param {import('ol/proj').ProjectionLike=} destination
|
|
16
16
|
* @returns {import('ol/extent').Extent}
|
|
17
17
|
*/
|
|
18
|
-
export function transformExtent(extent: import(
|
|
18
|
+
export function transformExtent(extent: import("ol/extent").Extent, source: import("ol/proj").ProjectionLike, destination?: import("ol/proj").ProjectionLike | undefined): import("ol/extent").Extent;
|
|
19
19
|
//# sourceMappingURL=transform.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/transform.js"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,sCALW,OAAO,eAAe,EAAE,UAAU,UAClC,OAAO,SAAS,EAAE,cAAc,gBAChC,OAAO,SAAS,EAAE,cAAc,GAC9B,OAAO,eAAe,EAAE,UAAU,CAO9C;AAED;;;;;;;GAOG;AACH,wCALW,OAAO,WAAW,EAAE,MAAM,UAC1B,OAAO,SAAS,EAAE,cAAc,gBAChC,OAAO,SAAS,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/transform.js"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,sCALW,OAAO,eAAe,EAAE,UAAU,UAClC,OAAO,SAAS,EAAE,cAAc,gBAChC,OAAO,SAAS,EAAE,cAAc,GAC9B,OAAO,eAAe,EAAE,UAAU,CAO9C;AAED;;;;;;;GAOG;AACH,wCALW,OAAO,WAAW,EAAE,MAAM,UAC1B,OAAO,SAAS,EAAE,cAAc,gBAChC,OAAO,SAAS,EAAE,cAAc,YAAC,GAC/B,OAAO,WAAW,EAAE,MAAM,CAOtC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export type OLBasicFormats = {
|
|
2
|
+
GeoJSON: typeof import("ol/format/GeoJSON").default;
|
|
3
|
+
MVT: typeof import("ol/format/MVT").default;
|
|
4
|
+
};
|
|
5
|
+
export type OLAdvancedFormats = {
|
|
6
|
+
EsriJSON: typeof import("ol/format/EsriJSON").default;
|
|
7
|
+
GML: typeof import("ol/format/GML").default;
|
|
8
|
+
GPX: typeof import("ol/format/GPX").default;
|
|
9
|
+
IGC: typeof import("ol/format/IGC").default;
|
|
10
|
+
IIIFInfo: typeof import("ol/format/IIIFInfo").default;
|
|
11
|
+
KML: typeof import("ol/format/KML").default;
|
|
12
|
+
OWS: typeof import("ol/format/OWS").default;
|
|
13
|
+
Polyline: typeof import("ol/format/Polyline").default;
|
|
14
|
+
TopoJSON: typeof import("ol/format/TopoJSON").default;
|
|
15
|
+
WFS: typeof import("ol/format/WFS").default;
|
|
16
|
+
WKB: typeof import("ol/format/WKB").default;
|
|
17
|
+
WKT: typeof import("ol/format/WKT").default;
|
|
18
|
+
WMSCapabilities: typeof import("ol/format/WMSCapabilities").default;
|
|
19
|
+
WMSGetFeatureInfo: typeof import("ol/format/WMSGetFeatureInfo").default;
|
|
20
|
+
WMTSCapabilities: typeof import("ol/format/WMTSCapabilities").default;
|
|
21
|
+
};
|
|
22
|
+
export type OLBasicLayers = {
|
|
23
|
+
Group: typeof import("ol/layer/Group").default;
|
|
24
|
+
Image: typeof import("ol/layer/Image").default;
|
|
25
|
+
Tile: typeof import("ol/layer/Tile").default;
|
|
26
|
+
Vector: typeof import("ol/layer/Vector").default;
|
|
27
|
+
VectorTile: typeof import("ol/layer/VectorTile").default;
|
|
28
|
+
};
|
|
29
|
+
export type OLAdvancedLayers = {
|
|
30
|
+
Graticule: typeof import("ol/layer/Graticule").default;
|
|
31
|
+
Heatmap: typeof import("ol/layer/Heatmap").default;
|
|
32
|
+
Layer: typeof import("ol/layer/Layer").default;
|
|
33
|
+
VectorImage: typeof import("ol/layer/VectorImage").default;
|
|
34
|
+
WebGLPoints: typeof import("ol/layer/WebGLPoints").default;
|
|
35
|
+
WebGLTile: typeof import("ol/layer/WebGLTile").default;
|
|
36
|
+
WebGLVector: typeof import("ol/layer/WebGLVector").default;
|
|
37
|
+
STAC: typeof import("ol-stac").default;
|
|
38
|
+
};
|
|
39
|
+
export type OLBasicSources = {
|
|
40
|
+
ImageWMS: typeof import("ol/source/ImageWMS").default;
|
|
41
|
+
OSM: typeof import("ol/source/OSM").default;
|
|
42
|
+
Tile: typeof import("ol/source/Tile").default;
|
|
43
|
+
TileWMS: typeof import("ol/source/TileWMS").default;
|
|
44
|
+
Vector: typeof import("ol/source/Vector").default;
|
|
45
|
+
VectorTile: typeof import("ol/source/VectorTile").default;
|
|
46
|
+
WMTS: typeof import("ol/source/WMTS").default;
|
|
47
|
+
XYZ: typeof import("ol/source/XYZ").default;
|
|
48
|
+
};
|
|
49
|
+
export type OLAdvancedSources = {
|
|
50
|
+
BingMaps: typeof import("ol/source/BingMaps").default;
|
|
51
|
+
CartoDB: typeof import("ol/source/CartoDB").default;
|
|
52
|
+
Cluster: typeof import("ol/source/Cluster").default;
|
|
53
|
+
DataTile: typeof import("ol/source/DataTile").default;
|
|
54
|
+
GeoTIFF: typeof import("ol/source/GeoTIFF").default;
|
|
55
|
+
Google: typeof import("ol/source/Google").default;
|
|
56
|
+
IIIF: typeof import("ol/source/IIIF").default;
|
|
57
|
+
Image: typeof import("ol/source/Image").default;
|
|
58
|
+
ImageArcGISRest: typeof import("ol/source/ImageArcGISRest").default;
|
|
59
|
+
ImageCanvas: typeof import("ol/source/ImageCanvas").default;
|
|
60
|
+
ImageMapGuide: typeof import("ol/source/ImageMapGuide").default;
|
|
61
|
+
ImageStatic: typeof import("ol/source/ImageStatic").default;
|
|
62
|
+
ImageTile: typeof import("ol/source/ImageTile").default;
|
|
63
|
+
OGCMapTile: typeof import("ol/source/OGCMapTile").default;
|
|
64
|
+
OGCVectorTile: typeof import("ol/source/OGCVectorTile").default;
|
|
65
|
+
Raster: typeof import("ol/source/Raster").default;
|
|
66
|
+
Source: typeof import("ol/source/Source").default;
|
|
67
|
+
StadiaMaps: typeof import("ol/source/StadiaMaps").default;
|
|
68
|
+
TileArcGISRest: typeof import("ol/source/TileArcGISRest").default;
|
|
69
|
+
TileDebug: typeof import("ol/source/TileDebug").default;
|
|
70
|
+
TileImage: typeof import("ol/source/TileImage").default;
|
|
71
|
+
TileJSON: typeof import("ol/source/TileJSON").default;
|
|
72
|
+
UrlTile: typeof import("ol/source/UrlTile").default;
|
|
73
|
+
UTFGrid: typeof import("ol/source/UTFGrid").default;
|
|
74
|
+
Zoomify: typeof import("ol/source/Zoomify").default;
|
|
75
|
+
WMTSCapabilities: typeof import("./custom/sources/WMTSCapabilities").default;
|
|
76
|
+
FlatGeoBuf: typeof import("./custom/sources/FlatGeoBuf").default;
|
|
77
|
+
};
|
|
78
|
+
export type OLSources = OLBasicSources & OLAdvancedSources;
|
|
79
|
+
export type OLLayers = OLBasicLayers & OLAdvancedLayers;
|
|
80
|
+
export type OLFormats = OLBasicFormats & OLAdvancedFormats;
|
|
81
|
+
export type EOxFormatType<F extends keyof OLFormats> = F | ({
|
|
82
|
+
type: F;
|
|
83
|
+
} & ConstructorParameters<OLFormats[F]>[0]);
|
|
84
|
+
export type EOxFormat = EOxFormatType<"EsriJSON"> | EOxFormatType<"GeoJSON"> | EOxFormatType<"GML"> | EOxFormatType<"GPX"> | EOxFormatType<"IGC"> | EOxFormatType<"KML"> | EOxFormatType<"MVT"> | EOxFormatType<"OWS"> | EOxFormatType<"TopoJSON"> | EOxFormatType<"WFS"> | EOxFormatType<"WKT"> | EOxFormatType<"WMSCapabilities"> | EOxFormatType<"WMSGetFeatureInfo"> | EOxFormatType<"WMTSCapabilities"> | EOxFormatType<"Polyline"> | EOxFormatType<"IIIFInfo"> | EOxFormatType<"WKB">;
|
|
85
|
+
type OlSourceOption<S extends keyof OLSources> = Omit<ConstructorParameters<OLSources[S]>[0], "map" | "layer">;
|
|
86
|
+
type OlLayerOption<T extends keyof OLLayers> = Omit<Omit<ConstructorParameters<OLLayers[T]>[0], "properties">, "source" | "layers" | "map">;
|
|
87
|
+
type EoxSource<S extends keyof OLSources> = (S extends "WMTS" ? OlSourceOption<S> : OlSourceOption<S> extends {
|
|
88
|
+
format?: any;
|
|
89
|
+
} ? Omit<OlSourceOption<S>, "format"> & {
|
|
90
|
+
format?: EOxFormat;
|
|
91
|
+
} : OlSourceOption<S> extends {
|
|
92
|
+
source?: any;
|
|
93
|
+
} ? Omit<OlSourceOption<S>, "source"> & {
|
|
94
|
+
source?: EoxSource<keyof OLSources>;
|
|
95
|
+
} : OlSourceOption<S>) & {
|
|
96
|
+
type: S;
|
|
97
|
+
};
|
|
98
|
+
export type EOxLayerType<T extends keyof OLLayers, S extends keyof OLSources> = (OlLayerOption<T> extends {
|
|
99
|
+
sources?: any;
|
|
100
|
+
} ? Omit<OlLayerOption<T>, "sources"> & {
|
|
101
|
+
sources?: EoxSource<S>[];
|
|
102
|
+
} : OlLayerOption<T>) & {
|
|
103
|
+
type: T;
|
|
104
|
+
properties?: {
|
|
105
|
+
id: string;
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
source?: EoxSource<S>;
|
|
109
|
+
interactions?: T extends "Vector" | "VectorTile" ? Array<import("./types").EOxInteraction> : never;
|
|
110
|
+
};
|
|
111
|
+
export type EOxLayerTypeGroup = Omit<EOxLayerType<"Group", keyof OLSources>, "layers"> & {
|
|
112
|
+
layers: EoxLayer[];
|
|
113
|
+
};
|
|
114
|
+
export type EoxLayer = EOxLayerType<"Vector", "Vector"> | EOxLayerType<"Vector", "FlatGeoBuf"> | EOxLayerType<"Vector", "Cluster"> | EOxLayerType<"VectorTile", "VectorTile"> | EOxLayerType<"WebGLTile", "GeoTIFF"> | EOxLayerType<"Tile", "OSM"> | EOxLayerType<"Tile", "WMTSCapabilities"> | EOxLayerType<"Tile", "StadiaMaps"> | EOxLayerType<"Tile", "WMTS"> | EOxLayerType<"Tile", "XYZ"> | EOxLayerType<"Tile", "TileJSON"> | EOxLayerType<"Tile", "TileArcGISRest"> | EOxLayerType<"Tile", "TileDebug"> | EOxLayerType<"Tile", "TileImage"> | EOxLayerType<"Tile", "TileWMS"> | EOxLayerType<"Tile", "UrlTile"> | EOxLayerType<"Tile", "BingMaps"> | EOxLayerType<"Image", "Image"> | EOxLayerType<"Image", "ImageCanvas"> | EOxLayerType<"Image", "ImageStatic"> | EOxLayerType<"Image", "ImageWMS"> | EOxLayerType<"Image", "Raster"> | EOxLayerType<"Image", "IIIF"> | EOxLayerTypeGroup;
|
|
115
|
+
export {};
|
|
116
|
+
//# sourceMappingURL=layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layers.d.ts","sourceRoot":"","sources":["../../../../map/src/layers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,cAAc,mBAAmB,EAAE,OAAO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
5
|
-
* @typedef {import("
|
|
6
|
-
* @typedef {import("
|
|
7
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("./layers").EoxLayer} EoxLayer
|
|
3
|
+
* @typedef {import("./types").EOxAnimationOptions} EOxAnimationOptions
|
|
4
|
+
* @typedef {import("./types").ControlDictionary} ControlDictionary
|
|
5
|
+
* @typedef {import("./types").ConfigObject} ConfigObject
|
|
6
|
+
* @typedef {import("./types").ProjectionLike} ProjectionLike
|
|
7
|
+
* @typedef {import("./types").AnyLayerWithSource} AnyLayerWithSource
|
|
8
8
|
* */
|
|
9
9
|
/**
|
|
10
10
|
* The `eox-map` is a wrapper for the library [OpenLayers](https://openlayers.org/) with additional features and helper functions.
|
|
@@ -102,7 +102,7 @@ export class EOxMap extends LitElement {
|
|
|
102
102
|
* @type {Object.<string, import("ol/interaction/Interaction").default>}
|
|
103
103
|
*/
|
|
104
104
|
interactions: {
|
|
105
|
-
[x: string]: import("ol/interaction
|
|
105
|
+
[x: string]: import("ol/interaction").Interaction;
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
108
|
* Object to store selection interactions for the map.
|
|
@@ -110,7 +110,7 @@ export class EOxMap extends LitElement {
|
|
|
110
110
|
* @type {Object.<string, import("./helpers/select").EOxSelectInteraction>}
|
|
111
111
|
*/
|
|
112
112
|
selectInteractions: {
|
|
113
|
-
[x: string]: import("./helpers
|
|
113
|
+
[x: string]: import("./helpers").EOxSelectInteraction;
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* Object to store map controls (e.g., custom buttons, geolocation).
|
|
@@ -125,25 +125,25 @@ export class EOxMap extends LitElement {
|
|
|
125
125
|
*
|
|
126
126
|
* @param {Array<number>} center - The new center coordinates [x, y].
|
|
127
127
|
*/
|
|
128
|
-
set center(center: number
|
|
128
|
+
set center(center: Array<number>);
|
|
129
129
|
/**
|
|
130
130
|
* Gets the current center coordinates of the map.
|
|
131
131
|
*
|
|
132
132
|
* @returns {Array<number>} The current center of the map.
|
|
133
133
|
*/
|
|
134
|
-
get center(): number
|
|
134
|
+
get center(): Array<number>;
|
|
135
135
|
/**
|
|
136
136
|
* Gets the current center of the map in longitude and latitude.
|
|
137
137
|
*
|
|
138
138
|
* @returns {Array<number>} The geographic center [longitude, latitude].
|
|
139
139
|
*/
|
|
140
|
-
get lonLatCenter(): number
|
|
140
|
+
get lonLatCenter(): Array<number>;
|
|
141
141
|
/**
|
|
142
142
|
* Gets the current extent of the map in longitude and latitude.
|
|
143
143
|
*
|
|
144
144
|
* @returns {Array<number>} The geographic extent [minLon, minLat, maxLon, maxLat].
|
|
145
145
|
*/
|
|
146
|
-
get lonLatExtent(): number
|
|
146
|
+
get lonLatExtent(): Array<number>;
|
|
147
147
|
/**
|
|
148
148
|
* Sets the zoom level of the map and animates the change.
|
|
149
149
|
*
|
|
@@ -167,35 +167,35 @@ export class EOxMap extends LitElement {
|
|
|
167
167
|
*
|
|
168
168
|
* @param {ControlDictionary} controls - An array of control configurations.
|
|
169
169
|
*/
|
|
170
|
-
set controls(controls:
|
|
170
|
+
set controls(controls: ControlDictionary);
|
|
171
171
|
/**
|
|
172
172
|
* Gets the current map controls.
|
|
173
173
|
*
|
|
174
|
-
* @returns {
|
|
174
|
+
* @returns {ControlDictionary} The current controls applied to the map.
|
|
175
175
|
*/
|
|
176
|
-
get controls():
|
|
176
|
+
get controls(): ControlDictionary;
|
|
177
177
|
/**
|
|
178
178
|
* Sets the layers for the map.
|
|
179
179
|
*
|
|
180
180
|
* @param {Array<EoxLayer>} layers - An array of layer configurations.
|
|
181
181
|
*/
|
|
182
|
-
set layers(layers:
|
|
182
|
+
set layers(layers: Array<EoxLayer>);
|
|
183
183
|
/**
|
|
184
184
|
* Gets the current layers of the map.
|
|
185
185
|
*
|
|
186
186
|
* @returns {Array<EoxLayer>} The current layers applied to the map.
|
|
187
187
|
*/
|
|
188
|
-
get layers():
|
|
188
|
+
get layers(): Array<EoxLayer>;
|
|
189
189
|
/**
|
|
190
190
|
* Enables or disables scroll interactions on the map.
|
|
191
191
|
*
|
|
192
|
-
* @param {
|
|
192
|
+
* @param {boolean} preventScroll - Whether to prevent scroll interactions.
|
|
193
193
|
*/
|
|
194
194
|
set preventScroll(preventScroll: boolean);
|
|
195
195
|
/**
|
|
196
196
|
* Gets the current scroll interaction state.
|
|
197
197
|
*
|
|
198
|
-
* @returns {
|
|
198
|
+
* @returns {boolean} `true` if scroll interactions are prevented, `false` otherwise.
|
|
199
199
|
*/
|
|
200
200
|
get preventScroll(): boolean;
|
|
201
201
|
/**
|
|
@@ -203,37 +203,37 @@ export class EOxMap extends LitElement {
|
|
|
203
203
|
*
|
|
204
204
|
* @param {ConfigObject} config - The configuration object.
|
|
205
205
|
*/
|
|
206
|
-
set config(config:
|
|
206
|
+
set config(config: ConfigObject);
|
|
207
207
|
/**
|
|
208
208
|
* Gets the current configuration of the map.
|
|
209
209
|
*
|
|
210
210
|
* @returns {ConfigObject} The map's configuration object.
|
|
211
211
|
*/
|
|
212
|
-
get config():
|
|
212
|
+
get config(): ConfigObject;
|
|
213
213
|
/**
|
|
214
214
|
* Sets animation options for map view changes.
|
|
215
215
|
*
|
|
216
216
|
* @param {EOxAnimationOptions} animationOptions - The animation options.
|
|
217
217
|
*/
|
|
218
|
-
set animationOptions(animationOptions:
|
|
218
|
+
set animationOptions(animationOptions: EOxAnimationOptions);
|
|
219
219
|
/**
|
|
220
220
|
* Gets the current animation options.
|
|
221
221
|
*
|
|
222
222
|
* @returns {EOxAnimationOptions} The current animation options for the map.
|
|
223
223
|
*/
|
|
224
|
-
get animationOptions():
|
|
224
|
+
get animationOptions(): EOxAnimationOptions;
|
|
225
225
|
/**
|
|
226
226
|
* Sets the map's projection.
|
|
227
227
|
*
|
|
228
228
|
* @param {ProjectionLike} projection - The projection code (e.g., "EPSG:3857").
|
|
229
229
|
*/
|
|
230
|
-
set projection(projection:
|
|
230
|
+
set projection(projection: ProjectionLike);
|
|
231
231
|
/**
|
|
232
232
|
* Gets the current map projection.
|
|
233
233
|
*
|
|
234
234
|
* @returns {ProjectionLike} The map's projection code.
|
|
235
235
|
*/
|
|
236
|
-
get projection():
|
|
236
|
+
get projection(): ProjectionLike;
|
|
237
237
|
/**
|
|
238
238
|
* Sets the sync state for the map.
|
|
239
239
|
*
|
|
@@ -320,12 +320,12 @@ export class EOxMap extends LitElement {
|
|
|
320
320
|
render(): import("lit-html").TemplateResult<1>;
|
|
321
321
|
#private;
|
|
322
322
|
}
|
|
323
|
-
export type EoxLayer = import("
|
|
324
|
-
export type EOxAnimationOptions = import("
|
|
325
|
-
export type ControlDictionary = import("
|
|
326
|
-
export type ConfigObject = import("
|
|
327
|
-
export type ProjectionLike = import("
|
|
328
|
-
export type AnyLayerWithSource = import("
|
|
323
|
+
export type EoxLayer = import("./layers").EoxLayer;
|
|
324
|
+
export type EOxAnimationOptions = import("./types").EOxAnimationOptions;
|
|
325
|
+
export type ControlDictionary = import("./types").ControlDictionary;
|
|
326
|
+
export type ConfigObject = import("./types").ConfigObject;
|
|
327
|
+
export type ProjectionLike = import("./types").ProjectionLike;
|
|
328
|
+
export type AnyLayerWithSource = import("./types").AnyLayerWithSource;
|
|
329
329
|
import { LitElement } from "lit";
|
|
330
330
|
import { parseTextToFeature } from "./helpers";
|
|
331
331
|
import { registerProjectionFromCode } from "./helpers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../map/src/main.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../map/src/main.js"],"names":[],"mappings":"AA2CA;;;;;;;KAOK;AAEL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaC;IA8EC;;;;OAIG;IACH,KAFU,OAAO,QAAQ,EAAE,OAAO,CAchC;IAEF;;;;OAIG;IACH;;MAAsB;IAEtB;;;;OAIG;I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BAAkB,CAI9B;IAED;;;OAGG;IACH,qBAEC;IAED;;;;OAIG;IACH,uBAA4B;IAE5B;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,8DAAwD;IAExD;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,8CAAwC;IAExC;;OAEG;IACH,4BAAsB;IAEtB;;OAEG;IACH,wCAAkC;IAElC;;OAEG;IACH,sBAAgB;IAGhB,+CAgBC;;CACF;uBA1eY,OAAO,UAAU,EAAE,QAAQ;kCAC3B,OAAO,SAAS,EAAE,mBAAmB;gCACrC,OAAO,SAAS,EAAE,iBAAiB;2BACnC,OAAO,SAAS,EAAE,YAAY;6BAC9B,OAAO,SAAS,EAAE,cAAc;iCAChC,OAAO,SAAS,EAAE,kBAAkB;2BA/ChB,KAAK;mCAiB/B,WAAW;2CAAX,WAAW;mCAAX,WAAW;mCAAX,WAAW;0BAAX,WAAW;gCAAX,WAAW;uBAXK,WAAW"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../../layers").EoxLayer} EoxLayer
|
|
3
3
|
* */
|
|
4
4
|
/**
|
|
5
5
|
* Adds a new layer to the map or updates an existing layer based on the provided JSON data.
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* @returns {Object} - The newly created or updated layer object.
|
|
10
10
|
*/
|
|
11
11
|
export default function addOrUpdateLayerMethod(json: EoxLayer, EOxMap: import("../../main").EOxMap): any;
|
|
12
|
-
export type EoxLayer = import("
|
|
12
|
+
export type EoxLayer = import("../../layers").EoxLayer;
|
|
13
13
|
//# sourceMappingURL=add-update-layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-update-layer.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/add-update-layer.js"],"names":[],"mappings":"AAEA;;KAEK;AAEL;;;;;;GAMG;AACH,qDAJW,QAAQ,UACR,OAAO,YAAY,EAAE,MAAM,OA0BrC;uBAjCY,OAAO,
|
|
1
|
+
{"version":3,"file":"add-update-layer.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/add-update-layer.js"],"names":[],"mappings":"AAEA;;KAEK;AAEL;;;;;;GAMG;AACH,qDAJW,QAAQ,UACR,OAAO,YAAY,EAAE,MAAM,OA0BrC;uBAjCY,OAAO,cAAc,EAAE,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/getters.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,
|
|
1
|
+
{"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/getters.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,MAAM,CAAC,CASzB;AAED;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,MAAM,CAAC,CAazB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import("
|
|
3
|
-
* @typedef {import("
|
|
4
|
-
* @typedef {import("
|
|
5
|
-
* @typedef {import("
|
|
6
|
-
* @typedef {import("
|
|
7
|
-
* @typedef {import("
|
|
2
|
+
* @typedef {import("../../layers").EoxLayer} EoxLayer
|
|
3
|
+
* @typedef {import("../../types").ControlType} ControlType
|
|
4
|
+
* @typedef {import("../../types").ControlDictionary} ControlDictionary
|
|
5
|
+
* @typedef {import("../../types").SelectOptions} SelectOptions
|
|
6
|
+
* @typedef {import("../../types").ConfigObject} ConfigObject
|
|
7
|
+
* @typedef {import("../../types").ProjectionLike} ProjectionLike
|
|
8
8
|
* */
|
|
9
9
|
/**
|
|
10
10
|
* Sets the new center of the map if it differs from the current center.
|
|
@@ -73,10 +73,10 @@ export function setProjectionMethod(projection: ProjectionLike, oldProjection: P
|
|
|
73
73
|
* @returns {string} - The sync parameter.
|
|
74
74
|
*/
|
|
75
75
|
export function setSyncMethod(sync: string, EOxMap: import("../../main").EOxMap): string;
|
|
76
|
-
export type EoxLayer = import("
|
|
77
|
-
export type ControlType = import("
|
|
78
|
-
export type ControlDictionary = import("
|
|
79
|
-
export type SelectOptions = import("
|
|
80
|
-
export type ConfigObject = import("
|
|
81
|
-
export type ProjectionLike = import("
|
|
76
|
+
export type EoxLayer = import("../../layers").EoxLayer;
|
|
77
|
+
export type ControlType = import("../../types").ControlType;
|
|
78
|
+
export type ControlDictionary = import("../../types").ControlDictionary;
|
|
79
|
+
export type SelectOptions = import("../../types").SelectOptions;
|
|
80
|
+
export type ConfigObject = import("../../types").ConfigObject;
|
|
81
|
+
export type ProjectionLike = import("../../types").ProjectionLike;
|
|
82
82
|
//# sourceMappingURL=setters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/setters.js"],"names":[],"mappings":"AAkBA;;;;;;;KAOK;AAEL;;;;;;GAMG;AACH,wCAJW,
|
|
1
|
+
{"version":3,"file":"setters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/setters.js"],"names":[],"mappings":"AAkBA;;;;;;;KAOK;AAEL;;;;;;GAMG;AACH,wCAJW,KAAK,CAAC,MAAM,CAAC,UACb,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,MAAM,CAAC,GAAC,SAAS,CAmBnC;AAED;;;;;;GAMG;AACH,4CAJW,OAAO,WAAW,EAAE,MAAM,UAC1B,OAAO,YAAY,EAAE,MAAM,GACzB,OAAO,WAAW,EAAE,MAAM,CAgBtC;AAED;;;;;;;GAOG;AACH,4CALW,iBAAiB,eACjB,iBAAiB,UACjB,OAAO,YAAY,EAAE,MAAM,GACzB,iBAAiB,CAkC7B;AAYD;;;;;;;GAOG;AACH,wCALW,KAAK,CAAC,QAAQ,CAAC,aACf,KAAK,CAAC,QAAQ,CAAC,UACf,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,QAAQ,CAAC,CAiI3B;AAED;;;;;;GAMG;AACH,sDAJW,OAAO,UACP,OAAO,YAAY,EAAE,MAAM,GACzB,OAAO,CAanB;AAED;;;;;;GAMG;AACH,wCAJW,YAAY,UACZ,OAAO,YAAY,EAAE,MAAM,GACzB,YAAY,CA6BxB;AAED;;;;;;;GAOG;AACH,gDALW,cAAc,iBACd,cAAc,UACd,OAAO,YAAY,EAAE,MAAM,GACzB,cAAc,CAoF1B;AAED;;;;;;GAMG;AACH,oCAJW,MAAM,UACN,OAAO,YAAY,EAAE,MAAM,GACzB,MAAM,CA0BlB;uBAzaY,OAAO,cAAc,EAAE,QAAQ;0BAC/B,OAAO,aAAa,EAAE,WAAW;gCACjC,OAAO,aAAa,EAAE,iBAAiB;4BACvC,OAAO,aAAa,EAAE,aAAa;2BACnC,OAAO,aAAa,EAAE,YAAY;6BAClC,OAAO,aAAa,EAAE,cAAc"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { OLBasicLayers, OLAdvancedLayers, OLBasicSources, OLAdvancedSources, OLAdvancedFormats } from "./layers";
|
|
1
2
|
export type DrawOptions = Omit<import("ol/interaction/Draw").Options, "type"> & {
|
|
2
3
|
id: string | number;
|
|
3
4
|
type: "Point" | "LineString" | "Polygon" | "Circle" | "Box";
|
|
@@ -5,44 +6,21 @@ export type DrawOptions = Omit<import("ol/interaction/Draw").Options, "type"> &
|
|
|
5
6
|
active?: boolean;
|
|
6
7
|
geometryFunction?: import("ol/interaction/Draw").GeometryFunction;
|
|
7
8
|
};
|
|
8
|
-
export type layerType =
|
|
9
|
-
export type sourceType =
|
|
9
|
+
export type layerType = keyof OLBasicLayers | keyof OLAdvancedLayers;
|
|
10
|
+
export type sourceType = keyof OLBasicSources | keyof OLAdvancedSources;
|
|
10
11
|
export type VectorOrVectorTileLayer = import("ol/layer").Vector | import("ol/layer").VectorTile;
|
|
11
12
|
export type AnyLayerWithSource = import("ol/layer/Base").default | import("ol/layer/BaseImage").default<import("ol/source/Image").default, import("ol/renderer/canvas/ImageLayer").default> | import("ol/layer/Tile").default<import("ol/source/Tile").default> | VectorOrVectorTileLayer;
|
|
12
13
|
export type AnyLayer = AnyLayerWithSource | import("ol/layer/Group").default;
|
|
13
|
-
export type formatWithOptions = {
|
|
14
|
-
type: string;
|
|
15
|
-
dataProjection?: string;
|
|
16
|
-
featureProjection?: string;
|
|
17
|
-
};
|
|
18
14
|
export type EOxInteraction = {
|
|
15
|
+
active?: boolean;
|
|
19
16
|
type: "draw" | "select";
|
|
20
|
-
options: DrawOptions | SelectOptions
|
|
21
|
-
|
|
22
|
-
export type EoxLayer = {
|
|
23
|
-
type: layerType;
|
|
24
|
-
properties?: object & {
|
|
25
|
-
id: string;
|
|
26
|
-
};
|
|
27
|
-
minZoom?: number;
|
|
28
|
-
maxZoom?: number;
|
|
29
|
-
minResolution?: number;
|
|
30
|
-
maxResolution?: number;
|
|
31
|
-
opacity?: number;
|
|
32
|
-
visible?: boolean;
|
|
33
|
-
source?: {
|
|
34
|
-
type: sourceType;
|
|
35
|
-
format?: string | formatWithOptions;
|
|
36
|
-
tileGrid?: object;
|
|
37
|
-
projection?: import("ol/proj").ProjectionLike;
|
|
17
|
+
options: DrawOptions | SelectOptions | {
|
|
18
|
+
[key: string]: any;
|
|
38
19
|
};
|
|
39
|
-
layers?: Array<EoxLayer>;
|
|
40
|
-
style?: import("ol/style/flat").FlatStyleLike;
|
|
41
|
-
interactions?: Array<EOxInteraction>;
|
|
42
|
-
zIndex?: number;
|
|
43
|
-
renderMode?: "vector" | "vectorImage";
|
|
44
20
|
};
|
|
45
|
-
export type
|
|
21
|
+
export type EoxLayer = import("./layers").EoxLayer;
|
|
22
|
+
export type EoxLayers = import("./layers").EoxLayer[];
|
|
23
|
+
export type SelectLayer = InstanceType<typeof import("ol/layer/VectorTile").default> | InstanceType<typeof import("ol/layer/Vector").default>;
|
|
46
24
|
export type SelectOptions = Omit<import("ol/interaction/Select").Options, "condition"> & {
|
|
47
25
|
id: string | number;
|
|
48
26
|
idProperty?: string;
|
|
@@ -105,9 +83,22 @@ export type LoadingIndicatorOptions = import("ol/control/Control").Options & {
|
|
|
105
83
|
*/
|
|
106
84
|
type?: LoadingIndicatorType;
|
|
107
85
|
};
|
|
108
|
-
export type ControlType =
|
|
86
|
+
export type ControlType = keyof ControlDictionary;
|
|
87
|
+
type Override<T, V> = Omit<T, keyof V> & V;
|
|
109
88
|
export type ControlDictionary = {
|
|
110
|
-
|
|
89
|
+
Zoom?: ConstructorParameters<typeof import("ol/control/Zoom").default>[0];
|
|
90
|
+
ScaleLine?: ConstructorParameters<typeof import("ol/control/ScaleLine").default>[0];
|
|
91
|
+
Rotate?: ConstructorParameters<typeof import("ol/control/Rotate").default>[0];
|
|
92
|
+
FullScreen?: ConstructorParameters<typeof import("ol/control/FullScreen").default>[0];
|
|
93
|
+
ZoomSlider?: ConstructorParameters<typeof import("ol/control/ZoomSlider").default>[0];
|
|
94
|
+
Attribution?: ConstructorParameters<typeof import("ol/control/Attribution").default>[0];
|
|
95
|
+
OverviewMap?: Override<ConstructorParameters<typeof import("ol/control/OverviewMap").default>[0], {
|
|
96
|
+
layers?: EoxLayer[] | AnyLayer[];
|
|
97
|
+
}>;
|
|
98
|
+
ZoomToExtent?: ConstructorParameters<typeof import("ol/control/ZoomToExtent").default>[0];
|
|
99
|
+
MousePosition?: ConstructorParameters<typeof import("ol/control/MousePosition").default>[0];
|
|
100
|
+
Geolocation?: ConstructorParameters<typeof import("./controls/geo-location").default>[0];
|
|
101
|
+
LoadingIndicator?: ConstructorParameters<typeof import("./controls/loading-indicator").default>[0];
|
|
111
102
|
};
|
|
112
103
|
export type AttributionLike = import("ol/source/Source").AttributionLike | string | Array<string>;
|
|
113
104
|
export type ProjectionLike = import("ol/proj").ProjectionLike;
|
|
@@ -139,14 +130,24 @@ export type HTMLElementEvent<T extends HTMLElement> = Event & {
|
|
|
139
130
|
export type EOxAnimationOptions = import("ol/View").AnimationOptions & import("ol/View").FitOptions;
|
|
140
131
|
export type ConfigObject = {
|
|
141
132
|
controls: ControlDictionary;
|
|
142
|
-
layers:
|
|
133
|
+
layers: EoxLayers;
|
|
143
134
|
view: {
|
|
144
135
|
center: Array<number>;
|
|
145
136
|
zoom: number;
|
|
146
137
|
zoomExtent?: import("ol/extent").Extent;
|
|
147
138
|
projection?: ProjectionLike;
|
|
139
|
+
minZoom: number;
|
|
140
|
+
maxZoom: number;
|
|
148
141
|
};
|
|
149
142
|
preventScroll: boolean;
|
|
150
143
|
animationOptions?: EOxAnimationOptions;
|
|
151
144
|
};
|
|
145
|
+
declare global {
|
|
146
|
+
interface Window {
|
|
147
|
+
eoxMapAdvancedOlFormats: OLAdvancedFormats;
|
|
148
|
+
eoxMapAdvancedOlLayers: OLAdvancedLayers;
|
|
149
|
+
eoxMapAdvancedOlSources: OLAdvancedSources;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
export {};
|
|
152
153
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../map/src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAClB,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,OAAO,qBAAqB,EAAE,OAAO,EACrC,MAAM,CACP,GAAG;IACF,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,GAAG,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,qBAAqB,EAAE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