@eox/layercontrol 1.3.1 → 1.4.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 +2653 -2789
- package/dist/eox-layercontrol.umd.cjs +431 -490
- package/package.json +4 -4
- package/src/components/add-layers.js +1 -1
- package/src/components/layer-datetime.js +46 -16
- package/src/enums/stories/index.js +12 -12
- package/src/main.js +17 -30
- package/src/methods/layer-config/apply-updated-styles.js +4 -2
- package/types/layercontrol/src/components/layer-datetime.d.ts +2 -0
- package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-legend.d.ts +6 -6
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/enums/stories/index.d.ts +46 -44
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
- package/types/layercontrol/src/main.d.ts +17 -30
- package/types/layercontrol/src/main.d.ts.map +1 -1
- package/types/map/src/controls/controls.d.ts.map +1 -1
- package/types/map/src/custom/layers/MapboxStyle.d.ts +2 -2
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +1 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +3 -2
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -1
- package/types/map/src/helpers/cluster-explode.d.ts +1 -1
- package/types/map/src/helpers/cluster-explode.d.ts.map +1 -1
- package/types/map/src/helpers/generate.d.ts.map +1 -1
- package/types/map/src/helpers/parse-text.d.ts +11 -0
- package/types/map/src/helpers/parse-text.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +1 -1
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/main.d.ts +119 -36
- package/types/map/src/main.d.ts.map +1 -1
- package/types/map/src/methods/map/first-updated.d.ts.map +1 -1
- package/types/map/src/methods/map/getters.d.ts +7 -0
- package/types/map/src/methods/map/getters.d.ts.map +1 -1
- package/types/map/src/methods/map/index.d.ts +1 -1
- package/types/map/src/methods/map/setters.d.ts.map +1 -1
- package/types/map/src/plugins/globe/index.d.ts +6 -0
- package/types/map/src/plugins/globe/index.d.ts.map +1 -0
- package/types/map/src/plugins/globe/methods.d.ts +8 -0
- package/types/map/src/plugins/globe/methods.d.ts.map +1 -0
- package/types/map/src/plugins/globe/openglobus.d.ts +16 -0
- package/types/map/src/plugins/globe/openglobus.d.ts.map +1 -0
- package/types/map/src/types.d.ts +6 -1
- package/types/map/src/types.d.ts.map +1 -1
|
@@ -19,7 +19,7 @@ export class EOxClusterExplodeInteraction extends Interaction {
|
|
|
19
19
|
* @param {ClusterExplodeOptions} options - Options for the selection interaction.
|
|
20
20
|
*/
|
|
21
21
|
constructor(eoxMap: EOxMap, clusterLayer: import("ol/layer/Vector").default<import("ol/source/Cluster").default>, options: ClusterExplodeOptions);
|
|
22
|
-
clusterLayer: VectorLayer<import("ol/source
|
|
22
|
+
clusterLayer: VectorLayer<import("ol/source").Cluster<Feature<import("ol/geom").Geometry>>, Feature<import("ol/geom").Geometry>>;
|
|
23
23
|
eoxMap: import("../main").EOxMap;
|
|
24
24
|
active: boolean;
|
|
25
25
|
handleEvent(evt: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,iIAAgC;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/generate.js"],"names":[],"mappings":"
|
|
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,CA0N3C;AASM,uCAJI,OAAO,SAAS,EAAE,MAAM,cACxB,KAAK,CAAC,QAAQ,CAAC,GACb,KAAK,CAAC,QAAQ,CAAC,CAM3B;qBAxbY,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,3 +1,11 @@
|
|
|
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;
|
|
1
9
|
/**
|
|
2
10
|
* This function reads text and attempts to parse it as GeoJSON, KML, or TopoJSON.
|
|
3
11
|
* If successful, it adds the parsed features to the map.
|
|
@@ -31,4 +39,7 @@ export function isKML(text: string): boolean;
|
|
|
31
39
|
* @returns {boolean} - `true` if the string is a valid TopoJSON object, `false` otherwise.
|
|
32
40
|
*/
|
|
33
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";
|
|
34
45
|
//# sourceMappingURL=parse-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-text.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/parse-text.js"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -31,7 +31,7 @@ export class EOxSelectInteraction {
|
|
|
31
31
|
*/
|
|
32
32
|
constructor(eoxMap: EOxMap, anyLayer: import("../types").SelectLayer, options: SelectOptions);
|
|
33
33
|
eoxMap: import("../main").EOxMap;
|
|
34
|
-
selectLayer: import("ol/layer").WebGLTile | VectorLayer<import("ol/source").Vector<any>, any> |
|
|
34
|
+
selectLayer: import("ol/layer").WebGLTile | VectorLayer<import("ol/source").Vector<any>, any> | import("ol/layer").Tile<import("ol/source").Tile<import("ol").Tile>> | VectorTile<import("ol/source").VectorTile<any>, any>;
|
|
35
35
|
options: import("../types").SelectOptions;
|
|
36
36
|
active: boolean;
|
|
37
37
|
panIn: boolean;
|
|
@@ -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":"AA6hBA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AApiBD;;;;;;;;GAQG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,YACN,OAAO,UAAU,EAAE,WAAW,WAC9B,aAAa,EAmZvB;IAhZC,iCAAoB;IACpB,4NAA2B;IAC3B,0CAAsB;IACtB,gBAAqD;IACrD,eAAmC;IACnC,iBAAuD;IAUnD,wBAAkD;IAgFpD,oCAAoC;IACpC,cADW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,CACT;IAuBtB,+MAGG;IAuBH;;;UAGM;IACN,kBAsMW,OAAO,oBAAoB,EAAE,OAAO,UAjJ9C;IAiBD,iCAGC;IAoBD;;;;OAIG;IACH,sCAgBC;IA2IL;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,iBAAkB,iBAHP,OAAO,GAAG,aAAa,GAAG,OAAO,WAAW,EAAE,MAGxB,EAAE,aAAO,UAOxC;IAEF;;;;OAIG;IACH,mBAHW,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,0BAkChC;IAED;;OAEG;IACH,eAWC;IAED;;;;;OAKG;IACH,eAJW,OAAO,GAAG,aAAa,GACrB,MAAM,GAAG,MAAM,CAoB3B;CACF;qBA3gBY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;uBAC9B,OAAO,UAAU,EAAE,QAAQ;sCAC3B,OAAO,UAAU,EAAE,uBAAuB;4BAC1C,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;wBAjBnB,iBAAiB;uBAGlB,qBAAqB;oBALxB,YAAY;0BACN,mBAAmB"}
|
package/types/map/src/main.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* @typedef {import("./types").AnyLayerWithSource} AnyLayerWithSource
|
|
8
8
|
* */
|
|
9
9
|
/**
|
|
10
|
-
* The `eox-map` is a wrapper
|
|
10
|
+
* The `eox-map` element is a powerful wrapper around [OpenLayers](https://openlayers.org/) that provides a declarative, highly configurable map element for web applications. It supports a wide range of layer types, sources, controls, and advanced features, making it suitable for interactive mapping, data visualization, and geospatial analysis.
|
|
11
11
|
*
|
|
12
|
-
* Basic usage:
|
|
12
|
+
* ## Basic usage:
|
|
13
13
|
*
|
|
14
14
|
* ```
|
|
15
15
|
* import "@eox/map"
|
|
@@ -42,12 +42,54 @@
|
|
|
42
42
|
* - [`WMTSCapabilities`](https://github.com/EOX-A/EOxElements/tree/main/elements/map/src/custom/sources/WMTSCapabilities.ts)
|
|
43
43
|
* - Reprojection through [proj4](https://github.com/proj4js/proj4js)
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* For usage and story examples, see the Storybook stories in `/elements/map/stories`.
|
|
46
|
+
*
|
|
47
|
+
* ## Features
|
|
48
|
+
*
|
|
49
|
+
* - **Layer Support:** Easily add and configure layers such as Tile, Vector, VectorTile, Image, Group, and advanced types like STAC, GeoTIFF, MapboxStyle, and FlatGeoBuf. Layers are passed via the `layers` property as an array of configuration objects.
|
|
50
|
+
* - **Source Formats:** Supports GeoJSON, MVT, OSM, TileWMS, WMTS, XYZ, ImageWMS, and more. Advanced sources (e.g., WMTSCapabilities) are available via plugin import.
|
|
51
|
+
* - **Controls:** Add built-in or custom controls (Zoom, Geolocation, LoadingIndicator, etc.) using the `controls` property. Controls can be configured and styled for various use cases.
|
|
52
|
+
* - **Interactions:** Enable feature selection, hover, click, cluster-explode, and highlight interactions. Interactions are configured per layer and can trigger custom events.
|
|
53
|
+
* - **Tooltips:** Built-in tooltip support via `<eox-map-tooltip></eox-map-tooltip>`, with options for property transformation, custom tooltips, and pixel/band value display for raster layers.
|
|
54
|
+
* - **Layer Groups:** Organize layers into groups for complex compositions and hierarchical management.
|
|
55
|
+
* - **Animations:** Animate view changes (zoom, center, extent) using the `animationOptions` property.
|
|
56
|
+
* - **Projection & Transformation:** Change map projection, register custom projections, and transform coordinates/extents using helper methods.
|
|
57
|
+
* - **Sync & Compare:** Synchronize multiple maps using the `sync` property, and compare maps side-by-side with `<eox-map-compare>`.
|
|
58
|
+
* - **Config Object:** Pass a configuration object for advanced map setup and dynamic updates.
|
|
59
|
+
* - **Scroll Prevention:** Prevent scroll/drag interactions for embedded maps using the `preventScroll` property.
|
|
60
|
+
* - **Globe View:** Interactive 3D globe by using "globe" projection property.
|
|
61
|
+
*
|
|
62
|
+
* ## Events
|
|
63
|
+
*
|
|
64
|
+
* - `clusterSelect`: Fired when a cluster is selected.
|
|
65
|
+
* - `loadend`: Fired when the map has finished loading.
|
|
66
|
+
* - `mapmounted`: Fired when the map is successfully mounted.
|
|
67
|
+
* - `select`: Fired when a feature is selected.
|
|
68
|
+
* - `layerschanged`: Fired when the layers have been changed.
|
|
69
|
+
*
|
|
70
|
+
* ## Methods
|
|
71
|
+
*
|
|
72
|
+
* - `registerProjection`, `registerProjectionFromCode`: Register custom or EPSG projections.
|
|
73
|
+
* - `getLayerById`, `getFlatLayersArray`: Retrieve layers by ID or as a flat array.
|
|
74
|
+
* - `addOrUpdateLayer`, `removeInteraction`, `removeSelect`, `removeControl`: Manage layers and interactions programmatically.
|
|
75
|
+
* - `parseFeature`: Parses a feature from the input data.
|
|
76
|
+
* - `parseTextToFeature`: Parses text into a feature.
|
|
77
|
+
*
|
|
78
|
+
* Usage: `document.querySelector("eox-map").registerProjection([...]);`
|
|
79
|
+
*
|
|
80
|
+
* ## Additional Helper Methods
|
|
81
|
+
*
|
|
82
|
+
* - `buffer`: Applies a buffer around an extent
|
|
83
|
+
* - `transform`, `transformExtent`: Transform coordinates and extents between projections.
|
|
84
|
+
*
|
|
85
|
+
* Usage: `import { buffer, transform, transformExtent } from "@eox/map";`
|
|
46
86
|
*
|
|
87
|
+
* @element eox-map
|
|
47
88
|
* @fires {CustomEvent} clusterSelect - A cluster is selected
|
|
48
89
|
* @fires {CustomEvent} loadend - The map has finished loading
|
|
49
90
|
* @fires {CustomEvent} mapmounted - The map has been successfully mounted
|
|
50
91
|
* @fires {CustomEvent} select - A feature is selected
|
|
92
|
+
* @fires {CustomEvent} layerschanged - The layers have been changed
|
|
51
93
|
*/
|
|
52
94
|
export class EOxMap extends LitElement {
|
|
53
95
|
static get properties(): {
|
|
@@ -148,6 +190,12 @@ export class EOxMap extends LitElement {
|
|
|
148
190
|
mapControls: {
|
|
149
191
|
[x: string]: import("ol/control/Control").default;
|
|
150
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* The globe instance when using globe projection.
|
|
195
|
+
* todo: define proper type
|
|
196
|
+
* @type {any|null}
|
|
197
|
+
*/
|
|
198
|
+
globe: any | null;
|
|
151
199
|
/**
|
|
152
200
|
* Sets the center of the map. If the new center is valid, updates the map's view.
|
|
153
201
|
*
|
|
@@ -207,6 +255,13 @@ export class EOxMap extends LitElement {
|
|
|
207
255
|
* @param {import("ol/extent").Extent} extent - The new zoom extent.
|
|
208
256
|
*/
|
|
209
257
|
set zoomExtent(extent: import("ol/extent").Extent);
|
|
258
|
+
/**
|
|
259
|
+
* Gets the current extent of the map.
|
|
260
|
+
*
|
|
261
|
+
* @type {Array<number>}
|
|
262
|
+
* @returns {Array<number>} The extent in current map projection.
|
|
263
|
+
*/
|
|
264
|
+
get zoomExtent(): Array<number>;
|
|
210
265
|
/**
|
|
211
266
|
* Sets the controls for the map.
|
|
212
267
|
*
|
|
@@ -229,7 +284,6 @@ export class EOxMap extends LitElement {
|
|
|
229
284
|
/**
|
|
230
285
|
* Gets the current layers of the map
|
|
231
286
|
*
|
|
232
|
-
* @type {Array<EoxLayer>} Some [Test](test)
|
|
233
287
|
* @returns {Array<EoxLayer>} The current layers applied to the map.
|
|
234
288
|
*/
|
|
235
289
|
get layers(): Array<EoxLayer>;
|
|
@@ -262,16 +316,37 @@ export class EOxMap extends LitElement {
|
|
|
262
316
|
/**
|
|
263
317
|
* Sets the map's projection.
|
|
264
318
|
*
|
|
265
|
-
* @param {ProjectionLike} projection - The projection code (e.g., "EPSG:3857").
|
|
319
|
+
* @param {ProjectionLike} projection - The projection code (e.g., "EPSG:3857") or "globe".
|
|
266
320
|
*/
|
|
267
321
|
set projection(projection: ProjectionLike);
|
|
268
322
|
/**
|
|
269
323
|
* Gets the current map projection.
|
|
270
324
|
*
|
|
271
325
|
* @type {ProjectionLike}
|
|
272
|
-
* @returns {ProjectionLike} The map's projection code.
|
|
326
|
+
* @returns {ProjectionLike} The map's projection code or "globe" if globe is enabled.
|
|
273
327
|
*/
|
|
274
328
|
get projection(): ProjectionLike;
|
|
329
|
+
/**
|
|
330
|
+
* Gets the openlayer map projection.
|
|
331
|
+
*
|
|
332
|
+
* @type {ProjectionLike}
|
|
333
|
+
* @returns {ProjectionLike} The map's openlayer code
|
|
334
|
+
*/
|
|
335
|
+
get OLprojection(): ProjectionLike;
|
|
336
|
+
/**
|
|
337
|
+
* Sets the Whether the globe is enabled.
|
|
338
|
+
*
|
|
339
|
+
* @type {boolean}
|
|
340
|
+
* @returns {boolean} Whether the globe is enabled.
|
|
341
|
+
*/
|
|
342
|
+
set globeEnabled(globeEnabled: boolean);
|
|
343
|
+
/**
|
|
344
|
+
* Gets the Whether the globe is enabled.
|
|
345
|
+
*
|
|
346
|
+
* @type {boolean}
|
|
347
|
+
* @returns {boolean} Whether the globe is enabled.
|
|
348
|
+
*/
|
|
349
|
+
get globeEnabled(): boolean;
|
|
275
350
|
/**
|
|
276
351
|
* Sets the sync state for the map.
|
|
277
352
|
*
|
|
@@ -314,48 +389,59 @@ export class EOxMap extends LitElement {
|
|
|
314
389
|
* Retrieves a layer from the map by its ID.
|
|
315
390
|
*
|
|
316
391
|
* @param {string} layerId - The ID of the layer to retrieve.
|
|
317
|
-
* @returns {AnyLayerWithSource} The layer object.
|
|
392
|
+
* @returns {import("./types").AnyLayerWithSource} The layer object.
|
|
318
393
|
*/
|
|
319
|
-
getLayerById(layerId: string): AnyLayerWithSource;
|
|
394
|
+
getLayerById(layerId: string): import("./types").AnyLayerWithSource;
|
|
320
395
|
/**
|
|
321
396
|
* Lifecycle method called after the component's first update.
|
|
322
397
|
* Sets up initial configurations like zoom extent.
|
|
323
398
|
*/
|
|
324
399
|
firstUpdated(): void;
|
|
325
400
|
/**
|
|
326
|
-
*
|
|
401
|
+
* Converts an array of OpenLayers features into a GeoJSON object.
|
|
327
402
|
*
|
|
328
|
-
* @
|
|
403
|
+
* @param {Array<import("ol/Feature").default>} features - An array of OpenLayers features to be converted.
|
|
404
|
+
* @returns {Object} - A GeoJSON object representing the provided features.
|
|
329
405
|
*/
|
|
330
|
-
parseFeature:
|
|
406
|
+
parseFeature(features: Array<import("ol/Feature").default>): any;
|
|
331
407
|
/**
|
|
332
|
-
*
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
*
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
*
|
|
341
|
-
*/
|
|
342
|
-
registerProjection: typeof registerProjection;
|
|
343
|
-
/**
|
|
344
|
-
* Retrieves all layers in a flat array.
|
|
408
|
+
* This function reads text and attempts to parse it as GeoJSON, KML, or TopoJSON.
|
|
409
|
+
* If successful, it adds the parsed features to the map.
|
|
410
|
+
*
|
|
411
|
+
* @param {string} text - The string containing the geographic data to be parsed.
|
|
412
|
+
* @param {import("ol/layer").Vector} vectorLayer - The vector layer to which the parsed features will be added.
|
|
413
|
+
* @param {EOxMap} EOxMap - An instance of EOxMap, used here for context and potentially for further operations like event dispatching.
|
|
414
|
+
* @param {boolean} replaceFeatures - Optional boolean flag indicating whether to replace the existing features with the new ones.
|
|
415
|
+
* @param {boolean} animate - Optional boolean flag indicating whether to animate the map on feature change.
|
|
416
|
+
* @return {void}
|
|
345
417
|
*/
|
|
346
|
-
|
|
418
|
+
parseTextToFeature(text: string, vectorLayer: import("ol/layer").Vector, EOxMap: EOxMap, replaceFeatures: boolean, animate: boolean): void;
|
|
347
419
|
/**
|
|
348
|
-
*
|
|
420
|
+
* Fetches the projection definition for a given EPSG code from epsg.io and registers the projection using proj4.
|
|
421
|
+
*
|
|
422
|
+
* @param {string | number} code - The EPSG code (e.g., 4326 or 'EPSG:4326').
|
|
423
|
+
* @returns {Promise<import("ol/proj/Projection").default>} - A promise that resolves to the registered projection.
|
|
349
424
|
*/
|
|
350
|
-
|
|
425
|
+
registerProjectionFromCode(code: string | number): Promise<import("ol/proj/Projection").default>;
|
|
351
426
|
/**
|
|
352
|
-
*
|
|
427
|
+
* Registers a projection under a given name using a proj4 definition.
|
|
428
|
+
* This allows OpenLayers to recognize and work with custom or predefined projections.
|
|
429
|
+
*
|
|
430
|
+
* @param {string} name - The name of the projection (e.g., "EPSG:4326").
|
|
431
|
+
* @param {string | proj4.ProjectionDefinition} projection - The proj4 projection definition string or object.
|
|
432
|
+
* @param {import("ol/extent").Extent} [extent=undefined] - Optional extent for the projection. Defines the coordinate system's valid area.
|
|
353
433
|
*/
|
|
354
|
-
|
|
434
|
+
registerProjection(name: string, projection: string | proj4.ProjectionDefinition, extent?: import("ol/extent").Extent): void;
|
|
355
435
|
/**
|
|
356
|
-
*
|
|
436
|
+
* Returns a flat array of all map layers, including nested layers within groups.
|
|
437
|
+
*
|
|
438
|
+
* Note: If you want to get all layers without groups, use the native OpenLayers `getAllLayers` method:
|
|
439
|
+
* https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html#getAllLayers
|
|
440
|
+
*
|
|
441
|
+
* @param {Array<import("./types").AnyLayer>} layers - Array of OpenLayers layers, possibly containing groups.
|
|
442
|
+
* @returns {Array<import("./types").AnyLayer>} layers - Flattened array of input layers
|
|
357
443
|
*/
|
|
358
|
-
|
|
444
|
+
getFlatLayersArray(layers: Array<import("./types").AnyLayer>): Array<import("./types").AnyLayer>;
|
|
359
445
|
render(): import("lit-html").TemplateResult<1>;
|
|
360
446
|
#private;
|
|
361
447
|
}
|
|
@@ -366,11 +452,8 @@ export type ConfigObject = import("./types").ConfigObject;
|
|
|
366
452
|
export type ProjectionLike = import("./types").ProjectionLike;
|
|
367
453
|
export type AnyLayerWithSource = import("./types").AnyLayerWithSource;
|
|
368
454
|
import { LitElement } from "lit";
|
|
369
|
-
import {
|
|
370
|
-
import { registerProjectionFromCode } from "./helpers";
|
|
371
|
-
import { registerProjection } from "./helpers";
|
|
372
|
-
import { getFlatLayersArray } from "./helpers";
|
|
455
|
+
import { buffer } from "ol/extent";
|
|
373
456
|
import { transform } from "./helpers";
|
|
374
457
|
import { transformExtent } from "./helpers";
|
|
375
|
-
|
|
458
|
+
export { buffer, transform, transformExtent };
|
|
376
459
|
//# sourceMappingURL=main.d.ts.map
|
|
@@ -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":"AA6CA;;;;;;;KAOK;AAEL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBC;IAmFC;;;;OAIG;IACH,KAFU,OAAO,QAAQ,EAAE,OAAO,CAchC;IAEF;;;;OAIG;IACH;;MAAsB;IAEtB;;;;OAIG;IACH;;MAA4B;IAE5B;;;;OAIG;IACH;;MAAqB;IACrB;;;;OAIG;IACH,OAFU,GAAG,GAAC,IAAI,CAED;IAGnB;;;;OAIG;IACH,mBAFW,KAAK,CAAC,MAAM,CAAC,EAQvB;IAED;;;;;OAKG;IACH,cAHU,KAAK,CAAC,MAAM,CAAC,CAKtB;IAED;;;;OAIG;IACH,mBAFW,YAAY,EAItB;IAED;;;;;OAKG;IACH,cAHU,YAAY,CAKrB;IAED;;;;;OAKG;IACH,oBAHU,KAAK,CAAC,MAAM,CAAC,CAKtB;IAED;;;;;OAKG;IACH,oBAHU,KAAK,CAAC,MAAM,CAAC,CAKtB;IAED;;;;OAIG;IACH,eAFW,MAAM,EAMhB;IAED;;;;;OAKG;IACH,YAHU,MAAM,CAKf;IAED;;;;OAIG;IACH,uBAFW,OAAO,WAAW,EAAE,MAAM,EAIpC;IAED;;;;;OAKG;IACH,kBAHU,KAAK,CAAC,MAAM,CAAC,CAK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,CAIzD;IAED;;;;;;;OAOG;IACH,yBAJW,MAAM,cACN,MAAM,GAAG,KAAK,CAAC,oBAAoB,WACnC,OAAO,WAAW,EAAE,MAAM,QAIpC;IAED;;;;;;;;OAQG;IACH,2BAHW,KAAK,CAAC,OAAO,SAAS,EAAE,QAAQ,CAAC,GAC/B,KAAK,CAAC,OAAO,SAAS,EAAE,QAAQ,CAAC,CAI7C;IAGD,+CAiBC;;CACF;uBA5oBY,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;2BAjDhB,KAAK;uBAMf,WAAW;0BAW3B,WAAW;gCAAX,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"first-updated.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/first-updated.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,uDAHW,OAAO,WAAW,EAAE,MAAM,UAC1B,OAAO,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"first-updated.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/first-updated.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,uDAHW,OAAO,WAAW,EAAE,MAAM,UAC1B,OAAO,YAAY,EAAE,MAAM,QAwBrC"}
|
|
@@ -12,4 +12,11 @@ export function getLonLatCenterMethod(EOxMap: import("../../main").EOxMap): Arra
|
|
|
12
12
|
* @returns {Array<number>} - The extent of the map in longitude and latitude.
|
|
13
13
|
*/
|
|
14
14
|
export function getLonLatExtentMethod(EOxMap: import("../../main").EOxMap): Array<number>;
|
|
15
|
+
/**
|
|
16
|
+
* Get the current map view extent.
|
|
17
|
+
*
|
|
18
|
+
* @param {import("../../main").EOxMap} EOxMap - The map object containing the map instance, projection information, and size.
|
|
19
|
+
* @returns {import("ol/extent").Extent} - The extent of the map in map projection.
|
|
20
|
+
*/
|
|
21
|
+
export function getZoomExtentMethod(EOxMap: import("../../main").EOxMap): import("ol/extent").Extent;
|
|
15
22
|
//# sourceMappingURL=getters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/getters.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/getters.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,MAAM,CAAC,CAazB;AAED;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,MAAM,CAAC,CAgCzB;AAED;;;;;GAKG;AACH,4CAHW,OAAO,YAAY,EAAE,MAAM,GACzB,OAAO,WAAW,EAAE,MAAM,CAMtC"}
|
|
@@ -2,6 +2,6 @@ export { default as animateToStateMethod } from "./animate-to-state";
|
|
|
2
2
|
export { default as addOrUpdateLayerMethod } from "./add-update-layer";
|
|
3
3
|
export { default as firstUpdatedMethod } from "./first-updated";
|
|
4
4
|
export { setCenterMethod, setZoomExtentMethod, setControlsMethod, setLayersMethod, setPreventScrollMethod, setConfigMethod, setProjectionMethod, setSyncMethod } from "./setters";
|
|
5
|
-
export { getLonLatCenterMethod, getLonLatExtentMethod } from "./getters";
|
|
5
|
+
export { getLonLatCenterMethod, getLonLatExtentMethod, getZoomExtentMethod } from "./getters";
|
|
6
6
|
export { removeInteractionMethod, removeSelectMethod, removeControlMethod } from "./remove.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/setters.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setters.d.ts","sourceRoot":"","sources":["../../../../../../map/src/methods/map/setters.js"],"names":[],"mappings":"AAmBA;;;;;;;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;AAED;;;;;;;GAOG;AACH,wCALW,KAAK,CAAC,QAAQ,CAAC,aACf,KAAK,CAAC,QAAQ,CAAC,UACf,OAAO,YAAY,EAAE,MAAM,GACzB,KAAK,CAAC,QAAQ,CAAC,CAkI3B;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,CAmCxB;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;uBAtaY,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/index.js"],"names":[],"mappings":"AAKO;;;mCAYN;8BAda,OAAO,SAAS,EAAE,eAAe"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function distributeTileToIdealMap(mapPool: any, layerId: any, tile: any, callback: any): any;
|
|
2
|
+
export function createMapPool(maxMaps: any, EOxMap: any, target: any): {
|
|
3
|
+
tileMap: import("../../main").EOxMap;
|
|
4
|
+
tileQueue: any[];
|
|
5
|
+
loadNextTile(): void;
|
|
6
|
+
}[];
|
|
7
|
+
export type ExtendedOLLayer = import("./types").ExtendedOLLayer;
|
|
8
|
+
//# sourceMappingURL=methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/methods.js"],"names":[],"mappings":"AAgIA,oGA6BC;AAxJM;;;;IAoCN;8BAtCa,OAAO,SAAS,EAAE,eAAe"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function createGlobe({ EOxMap, target, mapPool }: {
|
|
2
|
+
EOxMap: any;
|
|
3
|
+
target: any;
|
|
4
|
+
mapPool: any;
|
|
5
|
+
}): OgGlobe;
|
|
6
|
+
export function refreshGlobe(): void;
|
|
7
|
+
export function createGlobusLayer(olLayer: any, mapPool: any): XYZ | CanvasTiles;
|
|
8
|
+
export function enableGlobe(map: any): void;
|
|
9
|
+
export function disableGlobe(map: any): void;
|
|
10
|
+
export function setupLayerListeners(olLayer: ExtendedOLLayer, globe: import("@openglobus/og").Globe, mapPool: Array<any>): void;
|
|
11
|
+
export function processLayers(layers: import("ol/Collection").default<import("ol/layer/Base").default>, globe: import("@openglobus/og").Globe, mapPool: Array<any>): void;
|
|
12
|
+
export type ExtendedOLLayer = import("./types").ExtendedOLLayer;
|
|
13
|
+
import { Globe as OgGlobe } from "@openglobus/og";
|
|
14
|
+
import { XYZ } from "@openglobus/og";
|
|
15
|
+
import { CanvasTiles } from "@openglobus/og";
|
|
16
|
+
//# sourceMappingURL=openglobus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openglobus.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/openglobus.js"],"names":[],"mappings":"AAwBO;;;;YAuCN;AAEM,qCAWN;AAEM,iFA4HN;AAEM,4CAyBN;AAEM,6CAgEN;AA0BM,6CAJI,eAAe,SACf,OAAO,gBAAgB,EAAE,KAAK,WAC9B,KAAK,CAAC,GAAG,CAAC,QAyCpB;AAOM,sCAJI,OAAO,eAAe,EAAE,OAAO,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,SAChE,OAAO,gBAAgB,EAAE,KAAK,WAC9B,KAAK,CAAC,GAAG,CAAC,QAmBpB;8BA5Wa,OAAO,SAAS,EAAE,eAAe;iCAVxC,gBAAgB;oBAAhB,gBAAgB;4BAAhB,gBAAgB"}
|
package/types/map/src/types.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export type FlatGeoBufOptions = {
|
|
|
126
126
|
url: string;
|
|
127
127
|
attributions?: import("ol/source/Source").AttributionLike;
|
|
128
128
|
wrapX?: boolean;
|
|
129
|
+
projection?: ProjectionLike;
|
|
129
130
|
};
|
|
130
131
|
export type WMTSCapabilitiesOptions = {
|
|
131
132
|
url: string;
|
|
@@ -135,7 +136,7 @@ export type WMTSCapabilitiesOptions = {
|
|
|
135
136
|
cacheSize?: number;
|
|
136
137
|
crossOrigin?: null | string;
|
|
137
138
|
interpolate?: boolean;
|
|
138
|
-
projection?:
|
|
139
|
+
projection?: ProjectionLike;
|
|
139
140
|
transition?: number;
|
|
140
141
|
key?: string;
|
|
141
142
|
tilePixelRatio?: number;
|
|
@@ -167,6 +168,10 @@ declare global {
|
|
|
167
168
|
eoxMapAdvancedOlFormats: OLAdvancedFormats;
|
|
168
169
|
eoxMapAdvancedOlLayers: OLAdvancedLayers;
|
|
169
170
|
eoxMapAdvancedOlSources: OLAdvancedSources;
|
|
171
|
+
eoxMapGlobe: {
|
|
172
|
+
create: typeof import("./plugins/globe/index").create;
|
|
173
|
+
refresh: typeof import("./plugins/globe/openglobus").refreshGlobe;
|
|
174
|
+
};
|
|
170
175
|
}
|
|
171
176
|
}
|
|
172
177
|
export {};
|
|
@@ -1 +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,gBAAgB,CAAC;CACnE,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,aAAa,GAAG,MAAM,gBAAgB,CAAC;AACrE,MAAM,MAAM,UAAU,GAAG,MAAM,cAAc,GAAG,MAAM,iBAAiB,CAAC;AAExE,MAAM,MAAM,uBAAuB,GAC/B,OAAO,UAAU,EAAE,MAAM,GACzB,OAAO,UAAU,EAAE,UAAU,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAC1B,OAAO,eAAe,EAAE,OAAO,GAC/B,OAAO,oBAAoB,EAAE,OAAO,CAClC,OAAO,iBAAiB,EAAE,OAAO,EACjC,OAAO,+BAA+B,EAAE,OAAO,CAChD,GACD,OAAO,eAAe,EAAE,OAAO,CAAC,OAAO,gBAAgB,EAAE,OAAO,CAAC,GACjE,uBAAuB,CAAC;AAE5B,MAAM,MAAM,QAAQ,GAAG,kBAAkB,GAAG,OAAO,gBAA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