mobility-toolbox-js 3.0.0-beta.14 → 3.0.0-beta.15
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/common/typedefs.d.ts +2 -2
- package/common/typedefs.js +1 -1
- package/mbt.js +349 -215
- package/mbt.js.map +4 -4
- package/mbt.min.js +12 -12
- package/mbt.min.js.map +4 -4
- package/ol/layers/Layer.d.ts +2 -2
- package/ol/layers/MaplibreLayer.d.ts +19 -43
- package/ol/layers/MaplibreLayer.js +31 -98
- package/ol/layers/MaplibreStyleLayer.d.ts +2 -2
- package/ol/layers/MaplibreStyleLayer.js +5 -3
- package/ol/layers/RealtimeLayer.d.ts +4 -5
- package/ol/layers/RealtimeLayer.js +1 -1
- package/ol/layers/VectorLayer.d.ts +18 -0
- package/ol/layers/VectorLayer.js +31 -0
- package/ol/layers/index.d.ts +1 -0
- package/ol/layers/index.js +2 -0
- package/ol/mixins/MobilityLayerMixin.d.ts +2 -2
- package/ol/mixins/PropertiesLayerMixin.d.ts +13 -2
- package/ol/mixins/PropertiesLayerMixin.js +40 -14
- package/ol/renderers/MaplibreLayerRenderer.d.ts +0 -20
- package/ol/renderers/MaplibreLayerRenderer.js +142 -114
- package/package.json +2 -1
package/common/typedefs.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export type MaplibreLayerOptions = {
|
|
|
62
62
|
/**
|
|
63
63
|
* Maplibre map options.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
mapLibreOptions: maplibregl.MapOptions;
|
|
66
66
|
/**
|
|
67
67
|
* geOps Maps api style.
|
|
68
68
|
*/
|
|
@@ -187,7 +187,7 @@ type dummy = ol;
|
|
|
187
187
|
* @typedef {Object} MaplibreLayerOptions
|
|
188
188
|
* @property {string} apiKey Access key for [geOps apis](https://developer.geops.io/).
|
|
189
189
|
* @property {string} apiKeyName geOps Maps api key name.
|
|
190
|
-
* @property {maplibregl.MapOptions} options.
|
|
190
|
+
* @property {maplibregl.MapOptions} options.mapLibreOptions Maplibre map options.
|
|
191
191
|
* @property {string} style geOps Maps api style.
|
|
192
192
|
* @property {string} url geOps Maps api url.
|
|
193
193
|
*/
|
package/common/typedefs.js
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* @typedef {Object} MaplibreLayerOptions
|
|
40
40
|
* @property {string} apiKey Access key for [geOps apis](https://developer.geops.io/).
|
|
41
41
|
* @property {string} apiKeyName geOps Maps api key name.
|
|
42
|
-
* @property {maplibregl.MapOptions} options.
|
|
42
|
+
* @property {maplibregl.MapOptions} options.mapLibreOptions Maplibre map options.
|
|
43
43
|
* @property {string} style geOps Maps api style.
|
|
44
44
|
* @property {string} url geOps Maps api url.
|
|
45
45
|
*/
|