@eox/layercontrol 1.3.0 → 1.3.2
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 +2741 -2866
- package/dist/eox-layercontrol.umd.cjs +429 -489
- package/package.json +8 -4
- package/src/components/add-layers.js +1 -1
- package/src/components/layer-datetime.js +27 -16
- package/src/components/layer-tools.js +17 -0
- 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.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 +185 -63
- 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
|
@@ -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":"AAwhBA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AA/hBD;;;;;;;;GAQG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,YACN,OAAO,UAAU,EAAE,WAAW,WAC9B,aAAa,EA8YvB;IA3YC,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,kBAiMW,OAAO,oBAAoB,EAAE,OAAO,UAjJ9C;IAiBD,iCAGC;IAoBD;;;;OAIG;IACH,sCAgBC;IA2IL;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AAwhBA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AA/hBD;;;;;;;;GAQG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,YACN,OAAO,UAAU,EAAE,WAAW,WAC9B,aAAa,EA8YvB;IA3YC,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,kBAiMW,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;qBAtgBY,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,10 +42,65 @@
|
|
|
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
|
+
* 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";`
|
|
86
|
+
*
|
|
45
87
|
* @element eox-map
|
|
88
|
+
* @fires {CustomEvent} clusterSelect - A cluster is selected
|
|
89
|
+
* @fires {CustomEvent} loadend - The map has finished loading
|
|
90
|
+
* @fires {CustomEvent} mapmounted - The map has been successfully mounted
|
|
91
|
+
* @fires {CustomEvent} select - A feature is selected
|
|
92
|
+
* @fires {CustomEvent} layerschanged - The layers have been changed
|
|
46
93
|
*/
|
|
47
94
|
export class EOxMap extends LitElement {
|
|
48
95
|
static get properties(): {
|
|
96
|
+
map: {
|
|
97
|
+
attribute: boolean;
|
|
98
|
+
state: boolean;
|
|
99
|
+
};
|
|
100
|
+
config: {
|
|
101
|
+
attribute: boolean;
|
|
102
|
+
type: ObjectConstructor;
|
|
103
|
+
};
|
|
49
104
|
center: {
|
|
50
105
|
attribute: boolean;
|
|
51
106
|
type: ArrayConstructor;
|
|
@@ -54,40 +109,55 @@ export class EOxMap extends LitElement {
|
|
|
54
109
|
attribute: boolean;
|
|
55
110
|
type: ArrayConstructor;
|
|
56
111
|
};
|
|
57
|
-
|
|
58
|
-
attribute:
|
|
59
|
-
type:
|
|
112
|
+
zoom: {
|
|
113
|
+
attribute: boolean;
|
|
114
|
+
type: NumberConstructor;
|
|
60
115
|
};
|
|
61
|
-
|
|
116
|
+
animationOptions: {
|
|
62
117
|
attribute: boolean;
|
|
63
118
|
type: ObjectConstructor;
|
|
64
119
|
};
|
|
65
|
-
|
|
66
|
-
attribute:
|
|
67
|
-
type:
|
|
120
|
+
controls: {
|
|
121
|
+
attribute: boolean;
|
|
122
|
+
type: ObjectConstructor;
|
|
68
123
|
};
|
|
69
|
-
|
|
70
|
-
attribute:
|
|
71
|
-
type:
|
|
124
|
+
interactions: {
|
|
125
|
+
attribute: boolean;
|
|
126
|
+
type: ObjectConstructor;
|
|
72
127
|
};
|
|
73
|
-
|
|
128
|
+
lonLatCenter: {
|
|
74
129
|
attribute: boolean;
|
|
75
|
-
|
|
130
|
+
type: ArrayConstructor;
|
|
76
131
|
};
|
|
77
|
-
|
|
132
|
+
lonLatExtent: {
|
|
133
|
+
attribute: boolean;
|
|
134
|
+
type: ArrayConstructor;
|
|
135
|
+
};
|
|
136
|
+
mapControls: {
|
|
78
137
|
attribute: boolean;
|
|
79
138
|
state: boolean;
|
|
80
139
|
type: ObjectConstructor;
|
|
81
140
|
};
|
|
141
|
+
preventScroll: {
|
|
142
|
+
attribute: string;
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
};
|
|
145
|
+
projection: {
|
|
146
|
+
attribute: string;
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
};
|
|
82
149
|
selectInteractions: {
|
|
83
150
|
attribute: boolean;
|
|
84
151
|
state: boolean;
|
|
85
152
|
type: ObjectConstructor;
|
|
86
153
|
};
|
|
87
|
-
|
|
154
|
+
sync: {
|
|
155
|
+
attribute: string;
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
};
|
|
158
|
+
zoomExtent: {
|
|
88
159
|
attribute: boolean;
|
|
89
|
-
|
|
90
|
-
type: ObjectConstructor;
|
|
160
|
+
type: ArrayConstructor;
|
|
91
161
|
};
|
|
92
162
|
};
|
|
93
163
|
/**
|
|
@@ -120,6 +190,12 @@ export class EOxMap extends LitElement {
|
|
|
120
190
|
mapControls: {
|
|
121
191
|
[x: string]: import("ol/control/Control").default;
|
|
122
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* The globe instance when using globe projection.
|
|
195
|
+
* todo: define proper type
|
|
196
|
+
* @type {any|null}
|
|
197
|
+
*/
|
|
198
|
+
globe: any | null;
|
|
123
199
|
/**
|
|
124
200
|
* Sets the center of the map. If the new center is valid, updates the map's view.
|
|
125
201
|
*
|
|
@@ -129,18 +205,34 @@ export class EOxMap extends LitElement {
|
|
|
129
205
|
/**
|
|
130
206
|
* Gets the current center coordinates of the map.
|
|
131
207
|
*
|
|
208
|
+
* @type {Array<number>}
|
|
132
209
|
* @returns {Array<number>} The current center of the map.
|
|
133
210
|
*/
|
|
134
211
|
get center(): Array<number>;
|
|
212
|
+
/**
|
|
213
|
+
* Sets the configuration for the map.
|
|
214
|
+
*
|
|
215
|
+
* @param {ConfigObject} config - The configuration object.
|
|
216
|
+
*/
|
|
217
|
+
set config(config: ConfigObject);
|
|
218
|
+
/**
|
|
219
|
+
* Gets the current configuration of the map.
|
|
220
|
+
*
|
|
221
|
+
* @type {ConfigObject}
|
|
222
|
+
* @returns {ConfigObject} The map's configuration object.
|
|
223
|
+
*/
|
|
224
|
+
get config(): ConfigObject;
|
|
135
225
|
/**
|
|
136
226
|
* Gets the current center of the map in longitude and latitude.
|
|
137
227
|
*
|
|
228
|
+
* @type {Array<number>}
|
|
138
229
|
* @returns {Array<number>} The geographic center [longitude, latitude].
|
|
139
230
|
*/
|
|
140
231
|
get lonLatCenter(): Array<number>;
|
|
141
232
|
/**
|
|
142
233
|
* Gets the current extent of the map in longitude and latitude.
|
|
143
234
|
*
|
|
235
|
+
* @type {Array<number>}
|
|
144
236
|
* @returns {Array<number>} The geographic extent [minLon, minLat, maxLon, maxLat].
|
|
145
237
|
*/
|
|
146
238
|
get lonLatExtent(): Array<number>;
|
|
@@ -153,6 +245,7 @@ export class EOxMap extends LitElement {
|
|
|
153
245
|
/**
|
|
154
246
|
* Gets the current zoom level of the map.
|
|
155
247
|
*
|
|
248
|
+
* @type {number}
|
|
156
249
|
* @returns {number} The current zoom level.
|
|
157
250
|
*/
|
|
158
251
|
get zoom(): number;
|
|
@@ -162,6 +255,13 @@ export class EOxMap extends LitElement {
|
|
|
162
255
|
* @param {import("ol/extent").Extent} extent - The new zoom extent.
|
|
163
256
|
*/
|
|
164
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>;
|
|
165
265
|
/**
|
|
166
266
|
* Sets the controls for the map.
|
|
167
267
|
*
|
|
@@ -171,6 +271,7 @@ export class EOxMap extends LitElement {
|
|
|
171
271
|
/**
|
|
172
272
|
* Gets the current map controls.
|
|
173
273
|
*
|
|
274
|
+
* @type {ControlDictionary}
|
|
174
275
|
* @returns {ControlDictionary} The current controls applied to the map.
|
|
175
276
|
*/
|
|
176
277
|
get controls(): ControlDictionary;
|
|
@@ -181,7 +282,7 @@ export class EOxMap extends LitElement {
|
|
|
181
282
|
*/
|
|
182
283
|
set layers(layers: Array<EoxLayer>);
|
|
183
284
|
/**
|
|
184
|
-
* Gets the current layers of the map
|
|
285
|
+
* Gets the current layers of the map
|
|
185
286
|
*
|
|
186
287
|
* @returns {Array<EoxLayer>} The current layers applied to the map.
|
|
187
288
|
*/
|
|
@@ -195,21 +296,10 @@ export class EOxMap extends LitElement {
|
|
|
195
296
|
/**
|
|
196
297
|
* Gets the current scroll interaction state.
|
|
197
298
|
*
|
|
299
|
+
* @type {boolean}
|
|
198
300
|
* @returns {boolean} `true` if scroll interactions are prevented, `false` otherwise.
|
|
199
301
|
*/
|
|
200
302
|
get preventScroll(): boolean;
|
|
201
|
-
/**
|
|
202
|
-
* Sets the configuration for the map.
|
|
203
|
-
*
|
|
204
|
-
* @param {ConfigObject} config - The configuration object.
|
|
205
|
-
*/
|
|
206
|
-
set config(config: ConfigObject);
|
|
207
|
-
/**
|
|
208
|
-
* Gets the current configuration of the map.
|
|
209
|
-
*
|
|
210
|
-
* @returns {ConfigObject} The map's configuration object.
|
|
211
|
-
*/
|
|
212
|
-
get config(): ConfigObject;
|
|
213
303
|
/**
|
|
214
304
|
* Sets animation options for map view changes.
|
|
215
305
|
*
|
|
@@ -219,21 +309,44 @@ export class EOxMap extends LitElement {
|
|
|
219
309
|
/**
|
|
220
310
|
* Gets the current animation options.
|
|
221
311
|
*
|
|
312
|
+
* @type {EOxAnimationOptions}
|
|
222
313
|
* @returns {EOxAnimationOptions} The current animation options for the map.
|
|
223
314
|
*/
|
|
224
315
|
get animationOptions(): EOxAnimationOptions;
|
|
225
316
|
/**
|
|
226
317
|
* Sets the map's projection.
|
|
227
318
|
*
|
|
228
|
-
* @param {ProjectionLike} projection - The projection code (e.g., "EPSG:3857").
|
|
319
|
+
* @param {ProjectionLike} projection - The projection code (e.g., "EPSG:3857") or "globe".
|
|
229
320
|
*/
|
|
230
321
|
set projection(projection: ProjectionLike);
|
|
231
322
|
/**
|
|
232
323
|
* Gets the current map projection.
|
|
233
324
|
*
|
|
234
|
-
* @
|
|
325
|
+
* @type {ProjectionLike}
|
|
326
|
+
* @returns {ProjectionLike} The map's projection code or "globe" if globe is enabled.
|
|
235
327
|
*/
|
|
236
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;
|
|
237
350
|
/**
|
|
238
351
|
* Sets the sync state for the map.
|
|
239
352
|
*
|
|
@@ -243,6 +356,7 @@ export class EOxMap extends LitElement {
|
|
|
243
356
|
/**
|
|
244
357
|
* Gets the current sync state of the map.
|
|
245
358
|
*
|
|
359
|
+
* @type {string}
|
|
246
360
|
* @returns {string} The ID of the map that this map is synced with.
|
|
247
361
|
*/
|
|
248
362
|
get sync(): string;
|
|
@@ -275,48 +389,59 @@ export class EOxMap extends LitElement {
|
|
|
275
389
|
* Retrieves a layer from the map by its ID.
|
|
276
390
|
*
|
|
277
391
|
* @param {string} layerId - The ID of the layer to retrieve.
|
|
278
|
-
* @returns {AnyLayerWithSource} The layer object.
|
|
392
|
+
* @returns {import("./types").AnyLayerWithSource} The layer object.
|
|
279
393
|
*/
|
|
280
|
-
getLayerById(layerId: string): AnyLayerWithSource;
|
|
394
|
+
getLayerById(layerId: string): import("./types").AnyLayerWithSource;
|
|
281
395
|
/**
|
|
282
396
|
* Lifecycle method called after the component's first update.
|
|
283
397
|
* Sets up initial configurations like zoom extent.
|
|
284
398
|
*/
|
|
285
399
|
firstUpdated(): void;
|
|
286
400
|
/**
|
|
287
|
-
*
|
|
401
|
+
* Converts an array of OpenLayers features into a GeoJSON object.
|
|
288
402
|
*
|
|
289
|
-
* @
|
|
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.
|
|
290
405
|
*/
|
|
291
|
-
parseFeature:
|
|
406
|
+
parseFeature(features: Array<import("ol/Feature").default>): any;
|
|
292
407
|
/**
|
|
293
|
-
*
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
*
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
registerProjection: typeof registerProjection;
|
|
304
|
-
/**
|
|
305
|
-
* 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}
|
|
306
417
|
*/
|
|
307
|
-
|
|
418
|
+
parseTextToFeature(text: string, vectorLayer: import("ol/layer").Vector, EOxMap: EOxMap, replaceFeatures: boolean, animate: boolean): void;
|
|
308
419
|
/**
|
|
309
|
-
*
|
|
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.
|
|
310
424
|
*/
|
|
311
|
-
|
|
425
|
+
registerProjectionFromCode(code: string | number): Promise<import("ol/proj/Projection").default>;
|
|
312
426
|
/**
|
|
313
|
-
*
|
|
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.
|
|
314
433
|
*/
|
|
315
|
-
|
|
434
|
+
registerProjection(name: string, projection: string | proj4.ProjectionDefinition, extent?: import("ol/extent").Extent): void;
|
|
316
435
|
/**
|
|
317
|
-
*
|
|
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
|
|
318
443
|
*/
|
|
319
|
-
|
|
444
|
+
getFlatLayersArray(layers: Array<import("./types").AnyLayer>): Array<import("./types").AnyLayer>;
|
|
320
445
|
render(): import("lit-html").TemplateResult<1>;
|
|
321
446
|
#private;
|
|
322
447
|
}
|
|
@@ -327,11 +452,8 @@ export type ConfigObject = import("./types").ConfigObject;
|
|
|
327
452
|
export type ProjectionLike = import("./types").ProjectionLike;
|
|
328
453
|
export type AnyLayerWithSource = import("./types").AnyLayerWithSource;
|
|
329
454
|
import { LitElement } from "lit";
|
|
330
|
-
import {
|
|
331
|
-
import { registerProjectionFromCode } from "./helpers";
|
|
332
|
-
import { registerProjection } from "./helpers";
|
|
333
|
-
import { getFlatLayersArray } from "./helpers";
|
|
455
|
+
import { buffer } from "ol/extent";
|
|
334
456
|
import { transform } from "./helpers";
|
|
335
457
|
import { transformExtent } from "./helpers";
|
|
336
|
-
|
|
458
|
+
export { buffer, transform, transformExtent };
|
|
337
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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ED;;;;;OAKG;IACH,uBAHW,KAAK,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,OAK7C;IAED;;;;;;;;;;OAUG;IACH,yBAPW,MAAM,eACN,OAAO,UAAU,EAAE,MAAM,UACzB,MAAM,mBACN,OAAO,WACP,OAAO,GACN,IAAI,CAIf;IAED;;;;;OAKG;IACH,iCAHW,MAAM,GAAG,MAAM,GACb,OAAO,CAAC,OAAO,oBAAoB,EAAE,OAAO,CAAC,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":"AA+HA,oGA6BC;AAvJM;;;;IAmCN;8BArCa,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":"AAuBO;;;;YAsCN;AAEM,qCAWN;AAEM,iFAwGN;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;8BAvVa,OAAO,SAAS,EAAE,eAAe;iCATxC,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,kBAA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