ol 10.7.1 → 10.7.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/Collection.d.ts +1 -3
- package/Collection.d.ts.map +1 -1
- package/Feature.d.ts +6 -15
- package/Feature.d.ts.map +1 -1
- package/Feature.js +3 -6
- package/Geolocation.d.ts +1 -3
- package/Geolocation.d.ts.map +1 -1
- package/ImageTile.d.ts +2 -12
- package/ImageTile.d.ts.map +1 -1
- package/ImageTile.js +5 -32
- package/Map.d.ts +7 -27
- package/Map.d.ts.map +1 -1
- package/Map.js +3 -29
- package/Object.d.ts +18 -15
- package/Object.d.ts.map +1 -1
- package/Object.js +6 -9
- package/Overlay.d.ts +1 -3
- package/Overlay.d.ts.map +1 -1
- package/VectorRenderTile.d.ts +0 -4
- package/VectorRenderTile.d.ts.map +1 -1
- package/VectorRenderTile.js +0 -2
- package/View.d.ts +1 -40
- package/View.d.ts.map +1 -1
- package/View.js +0 -94
- package/colorlike.js +8 -4
- package/control/Control.d.ts +1 -3
- package/control/Control.d.ts.map +1 -1
- package/control/OverviewMap.d.ts +1 -5
- package/control/OverviewMap.d.ts.map +1 -1
- package/coordinate.d.ts +0 -8
- package/coordinate.d.ts.map +1 -1
- package/coordinate.js +1 -31
- package/dist/ol.d.ts +0 -24
- package/dist/ol.d.ts.map +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/dom.d.ts +0 -15
- package/dom.d.ts.map +1 -1
- package/dom.js +0 -6
- package/featureloader.d.ts +2 -6
- package/featureloader.d.ts.map +1 -1
- package/format/EsriJSON.d.ts +1 -3
- package/format/EsriJSON.d.ts.map +1 -1
- package/format/Feature.d.ts +1 -3
- package/format/Feature.d.ts.map +1 -1
- package/format/GeoJSON.d.ts +2 -6
- package/format/GeoJSON.d.ts.map +1 -1
- package/format/JSONFeature.d.ts +1 -3
- package/format/JSONFeature.d.ts.map +1 -1
- package/format/KML.d.ts +0 -9
- package/format/KML.d.ts.map +1 -1
- package/format/KML.js +0 -7
- package/format/TextFeature.d.ts +1 -3
- package/format/TextFeature.d.ts.map +1 -1
- package/format/TopoJSON.d.ts +1 -3
- package/format/TopoJSON.d.ts.map +1 -1
- package/format/WKB.d.ts +1 -3
- package/format/WKB.d.ts.map +1 -1
- package/format/XMLFeature.d.ts +1 -3
- package/format/XMLFeature.d.ts.map +1 -1
- package/geom/Geometry.d.ts +1 -3
- package/geom/Geometry.d.ts.map +1 -1
- package/interaction/DragAndDrop.d.ts +2 -6
- package/interaction/DragAndDrop.d.ts.map +1 -1
- package/interaction/Draw.d.ts +3 -9
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Interaction.d.ts +1 -3
- package/interaction/Interaction.d.ts.map +1 -1
- package/interaction/Link.js +2 -2
- package/interaction/Modify.d.ts +28 -76
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Modify.js +54 -248
- package/interaction/Select.d.ts +18 -10
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +89 -54
- package/interaction/Snap.d.ts +12 -18
- package/interaction/Snap.d.ts.map +1 -1
- package/interaction/Translate.d.ts +2 -6
- package/interaction/Translate.d.ts.map +1 -1
- package/layer/Base.d.ts +8 -19
- package/layer/Base.d.ts.map +1 -1
- package/layer/Base.js +3 -6
- package/layer/BaseImage.d.ts +1 -3
- package/layer/BaseImage.d.ts.map +1 -1
- package/layer/BaseTile.d.ts +1 -3
- package/layer/BaseTile.d.ts.map +1 -1
- package/layer/BaseVector.d.ts +1 -3
- package/layer/BaseVector.d.ts.map +1 -1
- package/layer/Flow.d.ts +2 -2
- package/layer/Graticule.d.ts +1 -5
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Group.d.ts +2 -8
- package/layer/Group.d.ts.map +1 -1
- package/layer/Heatmap.d.ts +2 -23
- package/layer/Heatmap.d.ts.map +1 -1
- package/layer/Heatmap.js +0 -29
- package/layer/Layer.d.ts +8 -17
- package/layer/Layer.d.ts.map +1 -1
- package/layer/Layer.js +2 -5
- package/layer/Tile.d.ts +1 -1
- package/layer/Vector.d.ts +2 -2
- package/layer/Vector.d.ts.map +1 -1
- package/layer/VectorImage.d.ts +2 -2
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorTile.d.ts +2 -2
- package/layer/VectorTile.d.ts.map +1 -1
- package/layer/WebGLPoints.d.ts +1 -3
- package/layer/WebGLPoints.d.ts.map +1 -1
- package/layer/WebGLTile.d.ts +3 -3
- package/layer/WebGLTile.d.ts.map +1 -1
- package/layer/WebGLVector.d.ts +2 -4
- package/layer/WebGLVector.d.ts.map +1 -1
- package/layer/WebGLVectorTile.d.ts +2 -2
- package/layer/WebGLVectorTile.d.ts.map +1 -1
- package/package.json +3 -4
- package/proj/proj4.d.ts +6 -43
- package/proj/proj4.d.ts.map +1 -1
- package/proj/proj4.js +28 -89
- package/proj.js +2 -2
- package/render/canvas/Builder.d.ts.map +1 -1
- package/render/canvas/Builder.js +1 -8
- package/render/canvas/Executor.d.ts.map +1 -1
- package/render/canvas/Executor.js +3 -49
- package/render/canvas/ExecutorGroup.d.ts.map +1 -1
- package/render/canvas/ExecutorGroup.js +5 -41
- package/render/canvas/Immediate.d.ts +0 -2
- package/render/canvas/Immediate.d.ts.map +1 -1
- package/render/canvas/Immediate.js +4 -28
- package/render/canvas/LineStringBuilder.d.ts +0 -1
- package/render/canvas/LineStringBuilder.d.ts.map +1 -1
- package/render/canvas/LineStringBuilder.js +5 -15
- package/render/canvas/PolygonBuilder.d.ts +0 -2
- package/render/canvas/PolygonBuilder.d.ts.map +1 -1
- package/render/canvas/PolygonBuilder.js +6 -72
- package/render/canvas/style.d.ts.map +1 -1
- package/render/canvas/style.js +37 -118
- package/render/canvas.d.ts +2 -22
- package/render/canvas.d.ts.map +1 -1
- package/render/canvas.js +0 -9
- package/render/webgl/bufferUtil.d.ts.map +1 -1
- package/render/webgl/bufferUtil.js +31 -1
- package/renderer/Composite.js +4 -4
- package/renderer/canvas/ImageLayer.d.ts +1 -6
- package/renderer/canvas/ImageLayer.d.ts.map +1 -1
- package/renderer/canvas/ImageLayer.js +0 -14
- package/renderer/canvas/TileLayer.d.ts +1 -1
- package/renderer/canvas/VectorLayer.d.ts +1 -8
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorLayer.js +14 -55
- package/renderer/canvas/VectorTileLayer.d.ts +1 -1
- package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.js +0 -2
- package/renderer/webgl/TileLayerBase.js +1 -1
- package/reproj/Tile.d.ts +2 -7
- package/reproj/Tile.d.ts.map +1 -1
- package/reproj/Tile.js +6 -12
- package/source/Cluster.d.ts +2 -8
- package/source/Cluster.d.ts.map +1 -1
- package/source/DataTile.d.ts +0 -15
- package/source/DataTile.d.ts.map +1 -1
- package/source/DataTile.js +0 -9
- package/source/GeoTIFF.d.ts +2 -7
- package/source/GeoTIFF.d.ts.map +1 -1
- package/source/GeoTIFF.js +10 -15
- package/source/ImageArcGISRest.d.ts +0 -10
- package/source/ImageArcGISRest.d.ts.map +1 -1
- package/source/ImageArcGISRest.js +0 -8
- package/source/ImageMapGuide.d.ts +0 -10
- package/source/ImageMapGuide.d.ts.map +1 -1
- package/source/ImageMapGuide.js +0 -8
- package/source/ImageStatic.d.ts +0 -5
- package/source/ImageStatic.d.ts.map +1 -1
- package/source/ImageStatic.js +0 -2
- package/source/ImageTile.d.ts +1 -5
- package/source/ImageTile.d.ts.map +1 -1
- package/source/ImageTile.js +0 -5
- package/source/ImageWMS.d.ts +0 -10
- package/source/ImageWMS.d.ts.map +1 -1
- package/source/ImageWMS.js +0 -10
- package/source/OGCMapTile.d.ts +0 -5
- package/source/OGCMapTile.d.ts.map +1 -1
- package/source/OGCMapTile.js +0 -2
- package/source/OSM.d.ts +0 -5
- package/source/OSM.d.ts.map +1 -1
- package/source/OSM.js +19 -5
- package/source/SentinelHub.d.ts +0 -1
- package/source/SentinelHub.d.ts.map +1 -1
- package/source/SentinelHub.js +0 -5
- package/source/Source.d.ts +1 -3
- package/source/Source.d.ts.map +1 -1
- package/source/TileArcGISRest.d.ts +1 -6
- package/source/TileArcGISRest.d.ts.map +1 -1
- package/source/TileArcGISRest.js +0 -2
- package/source/TileDebug.d.ts +1 -1
- package/source/TileImage.d.ts +0 -10
- package/source/TileImage.d.ts.map +1 -1
- package/source/TileImage.js +3 -16
- package/source/TileWMS.d.ts +1 -1
- package/source/UrlTile.d.ts +1 -1
- package/source/Vector.d.ts +8 -18
- package/source/Vector.d.ts.map +1 -1
- package/source/Vector.js +3 -3
- package/source/WMTS.d.ts +0 -5
- package/source/WMTS.d.ts.map +1 -1
- package/source/WMTS.js +0 -2
- package/source/XYZ.d.ts +0 -5
- package/source/XYZ.d.ts.map +1 -1
- package/source/XYZ.js +0 -2
- package/source/Zoomify.d.ts +2 -7
- package/source/Zoomify.d.ts.map +1 -1
- package/source/Zoomify.js +3 -5
- package/source/arcgisRest.d.ts +0 -5
- package/source/arcgisRest.d.ts.map +1 -1
- package/source/arcgisRest.js +0 -5
- package/source/mapguide.d.ts +0 -4
- package/source/mapguide.d.ts.map +1 -1
- package/source/mapguide.js +0 -5
- package/source/mapserver.d.ts +1 -5
- package/source/mapserver.d.ts.map +1 -1
- package/source/mapserver.js +0 -4
- package/source/ogcTileUtil.d.ts +12 -20
- package/source/ogcTileUtil.d.ts.map +1 -1
- package/source/ogcTileUtil.js +15 -27
- package/source/static.d.ts +0 -5
- package/source/static.d.ts.map +1 -1
- package/source/static.js +0 -4
- package/source/wms.d.ts +0 -5
- package/source/wms.d.ts.map +1 -1
- package/source/wms.js +0 -5
- package/style/Circle.d.ts +14 -0
- package/style/Circle.d.ts.map +1 -1
- package/style/Circle.js +11 -0
- package/style/Fill.js +1 -1
- package/style/Icon.d.ts +0 -19
- package/style/Icon.d.ts.map +1 -1
- package/style/Icon.js +2 -55
- package/style/IconImage.d.ts +5 -14
- package/style/IconImage.d.ts.map +1 -1
- package/style/IconImage.js +18 -28
- package/style/IconImageCache.d.ts +8 -4
- package/style/IconImageCache.d.ts.map +1 -1
- package/style/IconImageCache.js +13 -11
- package/style/RegularShape.d.ts +0 -12
- package/style/RegularShape.d.ts.map +1 -1
- package/style/RegularShape.js +4 -36
- package/style/Stroke.d.ts +0 -25
- package/style/Stroke.d.ts.map +1 -1
- package/style/Stroke.js +0 -28
- package/style/Style.d.ts +1 -1
- package/style/flat.d.ts +2 -2
- package/style/flat.js +1 -1
- package/tilegrid/TileGrid.d.ts +0 -5
- package/tilegrid/TileGrid.d.ts.map +1 -1
- package/tilegrid/TileGrid.js +0 -8
- package/util.js +1 -1
- package/worker/webgl.js +1 -1
- package/geom/flat/lineoffset.d.ts +0 -45
- package/geom/flat/lineoffset.d.ts.map +0 -1
- package/geom/flat/lineoffset.js +0 -173
- package/source/GeoZarr.d.ts +0 -163
- package/source/GeoZarr.d.ts.map +0 -1
- package/source/GeoZarr.js +0 -472
- package/source/OGCMap.d.ts +0 -180
- package/source/OGCMap.d.ts.map +0 -1
- package/source/OGCMap.js +0 -227
- package/source/ogcMapUtil.d.ts +0 -88
- package/source/ogcMapUtil.d.ts.map +0 -1
- package/source/ogcMapUtil.js +0 -121
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseVector.d.ts","sourceRoot":"","sources":["BaseVector.js"],"names":[],"mappings":";;;;iCAea,CAAC,IACD,CAAC,SAAS,OAAO,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,OAAO,eAAe,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK;oBAI7E,WAAW,SAA9C,OAAQ,YAAY,EAAE,WAAY,EAC0E,gBAAgB,SAA3H,OAAO,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAC,GAAC,OAAO,yBAAyB,EAAE,OAAO,CAAC,WAAW,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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kCAAkC,EAAE,OAAO,GAAC,OAAO,kCAAkC,EAAE,OAAQ;IAIvR;;OAEG;IACH,sBAFW,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC,EA2DhD;IA9CC;;;OAGG;IACH,mBAA2E;IAE3E;;;OAGG;IACH,sBACiE;IAEjE;;;;OAIG;IACH,eAAkB;IAElB;;;;OAIG;IACH,uBAA+B;IAI/B;;;OAGG;IACH,8BAGW;IAEX;;;OAGG;IACH,gCAGW;IA8Bb;;OAEG;IACH,mBAFY,MAAM,GAAC,SAAS,CAI3B;IAED;;OAEG;IACH,kBAFY,OAAO,cAAc,EAAE,aAAa,GAAC,IAAI,GAAC,SAAS,CAM9D;IAED;;;;;OAKG;IACH,YAHY,OAAO,mBAAmB,EAAE,SAAS,GAAC,OAAO,kBAAkB,EAAE,aAAa,GAAC,IAAI,GAAC,SAAS,CAKxG;IAED;;;;OAIG;IACH,oBAHY,OAAO,mBAAmB,EAAE,aAAa,GAAC,SAAS,CAK9D;IAED;;;OAGG;IACH,2BAHY,OAAO,CAKlB;IAED;;;OAGG;IACH,6BAHY,OAAO,CAKlB;IAgBD;;;OAGG;IACH,4BAHW,OAAO,cAAc,EAAE,aAAa,GAAC,IAAI,GAAC,SAAS,QAK7D;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,iBAHW,OAAO,mBAAmB,EAAE,SAAS,GAAC,OAAO,kBAAkB,EAAE,aAAa,GAAC,IAAI,QAS7F;IAED;;;OAGG;IACH,wBAHW,OAAO,GAAC,MAAM,GAAC,MAAM,QAM/B;CACF;kBAvRiB,YAAY"}
|
package/layer/Flow.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export type Options = {
|
|
|
120
120
|
/**
|
|
121
121
|
* Source for this layer.
|
|
122
122
|
*/
|
|
123
|
-
source?: import("../source.js").
|
|
123
|
+
source?: import("../source/DataTile.js").default<import("../DataTile.js").default> | undefined;
|
|
124
124
|
/**
|
|
125
125
|
* Sets the layer as overlay on a map. The map will not manage
|
|
126
126
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
@@ -146,7 +146,7 @@ export type Options = {
|
|
|
146
146
|
* @fires import("../render/Event.js").RenderEvent#prerender
|
|
147
147
|
* @fires import("../render/Event.js").RenderEvent#postrender
|
|
148
148
|
*/
|
|
149
|
-
declare class FlowLayer extends BaseTileLayer<import("../source.js").
|
|
149
|
+
declare class FlowLayer extends BaseTileLayer<import("../source/DataTile.js").default<import("../DataTile.js").default>, FlowLayerRenderer> {
|
|
150
150
|
/**
|
|
151
151
|
* @param {Options} options Flow layer options.
|
|
152
152
|
*/
|
package/layer/Graticule.d.ts
CHANGED
|
@@ -278,11 +278,7 @@ export type Options = {
|
|
|
278
278
|
* @extends {VectorLayer<VectorSource<Feature>>}
|
|
279
279
|
* @api
|
|
280
280
|
*/
|
|
281
|
-
declare class Graticule extends VectorLayer<VectorSource<Feature<import("../geom.js").Geometry
|
|
282
|
-
[x: string]: any;
|
|
283
|
-
}>>, Feature<import("../geom.js").Geometry, {
|
|
284
|
-
[x: string]: any;
|
|
285
|
-
}>> {
|
|
281
|
+
declare class Graticule extends VectorLayer<VectorSource<Feature<import("../geom.js").Geometry>>, Feature<import("../geom.js").Geometry>> {
|
|
286
282
|
/**
|
|
287
283
|
* @param {Options} [options] Options.
|
|
288
284
|
*/
|
package/layer/Graticule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Graticule.d.ts","sourceRoot":"","sources":["Graticule.js"],"names":[],"mappings":";;;;;UA2Ec,KAAK;;;;UACL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAuCG,MAAM,KAAE,MAAM;;;;;;;gCAId,MAAM,KAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9CrC;;;;G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f,eAAe;yBA0BV,qBAAqB;wBAKtB,aAAa;uBAhBd,uBAAuB"}
|
package/layer/Group.d.ts
CHANGED
|
@@ -66,11 +66,7 @@ export type Options = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Child layers.
|
|
68
68
|
*/
|
|
69
|
-
layers?: BaseLayer<
|
|
70
|
-
[x: string]: any;
|
|
71
|
-
}>[] | Collection<BaseLayer<{
|
|
72
|
-
[x: string]: any;
|
|
73
|
-
}>> | undefined;
|
|
69
|
+
layers?: BaseLayer[] | Collection<BaseLayer> | undefined;
|
|
74
70
|
/**
|
|
75
71
|
* Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
76
72
|
*/
|
|
@@ -94,9 +90,7 @@ declare namespace GroupEventType {
|
|
|
94
90
|
* @fires GroupEvent
|
|
95
91
|
* @api
|
|
96
92
|
*/
|
|
97
|
-
declare class LayerGroup extends BaseLayer
|
|
98
|
-
[x: string]: any;
|
|
99
|
-
}> {
|
|
93
|
+
declare class LayerGroup extends BaseLayer {
|
|
100
94
|
/**
|
|
101
95
|
* @param {Options} [options] Layer options.
|
|
102
96
|
*/
|
package/layer/Group.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["Group.js"],"names":[],"mappings":"AAiCA;;;;;GAKG;AACH;IACE;;;OAGG;IACH,kBAHW,cAAc,SACd,SAAS,EAWnB;IANC;;;;OAIG;IACH,OAHU,SAAS,CAGD;CAErB;;;;;6BAGY,MAAM,IACN,OAAO,eAAe,EAAE,WAAW,CAAC,OAAO,eAAe,EAAE,UAAU,EAAE,OAAO,oBAAoB,EAAE,OAAO,EAAE,MAAM,CAAC,GACjI,OAAW,eAAe,EAAE,WAAW,CAAC,OAAO,QAAQ,EAAE,yBAAyB,GAClF,eAAqB,EAAE,OAAO,WAAW,EAAE,WAAW,EAAE,MAAM,CAAC,GAC/D,OAAW,eAAe,EAAE,WAAW,CAAC,UAAU,GAAC,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AI,CAAC,CAEzB;IAEP;;;OAGG;IACH,4BAA6B;IAE7B;;;OAGG;IACH,sBAAuB;IAoBzB;;OAEG;IACH,2BAEC;IAED;;OAEG;IACH,6BA2BC;IAED;;OAEG;IACH,+BAFW,SAAS,QA0BnB;IAED;;OAEG;IACH,4BAFW,UAAU,QAIpB;IAED;;OAEG;IACH,+BAFW,UAAU,QAIpB;IAED;;;OAGG;IACH,yBAKC;IAED;;;OAGG;IACH,4BAOC;IAED;;;;;;;OAOG;IACH,aALa,UAAU,CAAC,OAAO,WAAW,EAAE,OAAO,CAAC,CASnD;IAED;;;;;;;OAOG;IACH,kBALY,UAAU,CAAC,OAAO,WAAW,EAAE,OAAO,CAAC,QAiBlD;CA6EF;uBAxXsB,kBAAkB"}
|
package/layer/Heatmap.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
export default Heatmap;
|
|
2
|
-
export type HeatmapEventTypes = "change:blur" | "change:radius" | "change:gradient";
|
|
3
|
-
/**
|
|
4
|
-
* *
|
|
5
|
-
*/
|
|
6
|
-
export type HeatmapOnSignature<Return> = import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> & import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes | import("./Layer.js").LayerEventType | HeatmapEventTypes, import("../Object").ObjectEvent, Return> & import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> & import("../Observable").CombinedOnSignature<import("../Observable").EventTypes | import("./Base").BaseLayerObjectEventTypes | import("./Layer.js").LayerEventType | HeatmapEventTypes | import("../render/EventType").LayerRenderEventTypes, Return>;
|
|
7
2
|
export type WeightExpression = import("../style/flat.js").NumberExpression | string | ((arg0: import("../Feature.js").default) => number);
|
|
8
|
-
export type Options<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
}>, VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").Vector<FeatureType>> = {
|
|
3
|
+
export type Options<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>, VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<FeatureType>> = {
|
|
11
4
|
/**
|
|
12
5
|
* A CSS class name to set to the layer element.
|
|
13
6
|
*/
|
|
@@ -108,25 +101,11 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike = im
|
|
|
108
101
|
* @extends {BaseVector<FeatureType, VectorSourceType, WebGLVectorLayerRenderer>}
|
|
109
102
|
* @api
|
|
110
103
|
*/
|
|
111
|
-
declare class Heatmap<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
|
|
112
|
-
[x: string]: any;
|
|
113
|
-
}>, VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").Vector<FeatureType>> extends BaseVector<FeatureType, VectorSourceType, WebGLVectorLayerRenderer> {
|
|
104
|
+
declare class Heatmap<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>, VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<FeatureType>> extends BaseVector<FeatureType, VectorSourceType, WebGLVectorLayerRenderer> {
|
|
114
105
|
/**
|
|
115
106
|
* @param {Options<FeatureType, VectorSourceType>} [options] Options.
|
|
116
107
|
*/
|
|
117
108
|
constructor(options?: Options<FeatureType, VectorSourceType>);
|
|
118
|
-
/***
|
|
119
|
-
* @type {HeatmapOnSignature<import("../events").EventsKey>}
|
|
120
|
-
*/
|
|
121
|
-
on: HeatmapOnSignature<import("../events").EventsKey>;
|
|
122
|
-
/***
|
|
123
|
-
* @type {HeatmapOnSignature<import("../events").EventsKey>}
|
|
124
|
-
*/
|
|
125
|
-
once: HeatmapOnSignature<import("../events").EventsKey>;
|
|
126
|
-
/***
|
|
127
|
-
* @type {HeatmapOnSignature<void>}
|
|
128
|
-
*/
|
|
129
|
-
un: HeatmapOnSignature<void>;
|
|
130
109
|
filter_: import("../style/flat.js").BooleanExpression;
|
|
131
110
|
/**
|
|
132
111
|
* @type {import('../style/flat.js').StyleVariables}
|
package/layer/Heatmap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heatmap.d.ts","sourceRoot":"","sources":["Heatmap.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Heatmap.d.ts","sourceRoot":"","sources":["Heatmap.js"],"names":[],"mappings":";+BAkBa,OAAO,kBAAkB,EAAE,gBAAgB,GAAC,MAAM,IAAC,CAAS,IAA+B,EAA/B,OAAO,eAAe,EAAE,OAAO,KAAE,MAAM,CAAA;oBAI5D,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY,mEACiB,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDjE;;;;;;;;;;;;;GAaG;AACH,sBALoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY,mEACiB,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE;IAK/D;;OAEG;IACH,sBAFW,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC,EA6ChD;IAhCC,sDAAqC;IAErC;;;OAGG;IACH,wBAA8C;IAE9C;;;OAGG;IACH,kBAAqB;IAYrB;;OAEG;IACH,gBAAqB;IAOvB;;;;;OAKG;IACH,WAJY,OAAO,kBAAkB,EAAE,gBAAgB,CAQtD;IAED;;;;;OAKG;IACH,eAJY,KAAK,CAAC,MAAM,CAAC,CAMxB;IAED;;;;;OAKG;IACH,aAJY,OAAO,kBAAkB,EAAE,gBAAgB,CAQtD;IAED;;OAEG;IACH,+BAEC;IAED;;;;;OAKG;IACH,cAJW,OAAO,kBAAkB,EAAE,gBAAgB,QAarD;IAED;;;;;OAKG;IACH,oBAJW,KAAK,CAAC,MAAM,CAAC,QAMvB;IAED;;;;;OAKG;IACH,kBAJW,OAAO,kBAAkB,EAAE,gBAAgB,QAarD;IAED;;;;OAIG;IACH,kBAHW,OAAO,kBAAkB,EAAE,iBAAiB,QAOtD;IAED;;;;OAIG;IACH,kBAHW,gBAAgB,QAO1B;IAuHD;;;OAGG;IACH,gCAFW,OAAO,kBAAkB,EAAE,cAAc,QAKnD;IAED;;OAEG;IACH,iCAAoB;CACrB;qCAvWoC,kCAAkC;uBAChD,iBAAiB"}
|
package/layer/Heatmap.js
CHANGED
|
@@ -15,20 +15,6 @@ import {
|
|
|
15
15
|
import WebGLVectorLayerRenderer from '../renderer/webgl/VectorLayer.js';
|
|
16
16
|
import BaseVector from './BaseVector.js';
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @typedef {'change:blur'|'change:radius'|'change:gradient'} HeatmapEventTypes
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
/***
|
|
23
|
-
* @template Return
|
|
24
|
-
* @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
|
|
25
|
-
* import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
|
|
26
|
-
* import("./Layer.js").LayerEventType|HeatmapEventTypes, import("../Object").ObjectEvent, Return> &
|
|
27
|
-
* import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> &
|
|
28
|
-
* import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|
|
|
29
|
-
* import("./Layer.js").LayerEventType|HeatmapEventTypes|import("../render/EventType").LayerRenderEventTypes, Return>} HeatmapOnSignature
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
18
|
/**
|
|
33
19
|
* @typedef {import("../style/flat.js").NumberExpression|string|function(import("../Feature.js").default):number} WeightExpression
|
|
34
20
|
*/
|
|
@@ -114,21 +100,6 @@ class Heatmap extends BaseVector {
|
|
|
114
100
|
delete baseOptions.weight;
|
|
115
101
|
super(baseOptions);
|
|
116
102
|
|
|
117
|
-
/***
|
|
118
|
-
* @type {HeatmapOnSignature<import("../events").EventsKey>}
|
|
119
|
-
*/
|
|
120
|
-
this.on;
|
|
121
|
-
|
|
122
|
-
/***
|
|
123
|
-
* @type {HeatmapOnSignature<import("../events").EventsKey>}
|
|
124
|
-
*/
|
|
125
|
-
this.once;
|
|
126
|
-
|
|
127
|
-
/***
|
|
128
|
-
* @type {HeatmapOnSignature<void>}
|
|
129
|
-
*/
|
|
130
|
-
this.un;
|
|
131
|
-
|
|
132
103
|
this.filter_ = options.filter ?? true;
|
|
133
104
|
|
|
134
105
|
/**
|
package/layer/Layer.d.ts
CHANGED
|
@@ -13,11 +13,7 @@ export type LayerEventType = "sourceready" | "change:source";
|
|
|
13
13
|
* *
|
|
14
14
|
*/
|
|
15
15
|
export type LayerOnSignature<Return> = import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> & import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes | LayerEventType, import("../Object").ObjectEvent, Return> & import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> & import("../Observable").CombinedOnSignature<import("../Observable").EventTypes | import("./Base").BaseLayerObjectEventTypes | LayerEventType | import("../render/EventType").LayerRenderEventTypes, Return>;
|
|
16
|
-
export type Options<SourceType extends import("../source/Source.js").default = import("../source.js").
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
} = {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
}> = {
|
|
16
|
+
export type Options<SourceType extends import("../source/Source.js").default = import("../source/Source.js").default> = {
|
|
21
17
|
/**
|
|
22
18
|
* A CSS class name to set to the layer element.
|
|
23
19
|
*/
|
|
@@ -80,7 +76,9 @@ export type Options<SourceType extends import("../source/Source.js").default = i
|
|
|
80
76
|
/**
|
|
81
77
|
* Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
82
78
|
*/
|
|
83
|
-
properties?:
|
|
79
|
+
properties?: {
|
|
80
|
+
[x: string]: any;
|
|
81
|
+
} | undefined;
|
|
84
82
|
};
|
|
85
83
|
export type State = {
|
|
86
84
|
/**
|
|
@@ -141,7 +139,6 @@ export type State = {
|
|
|
141
139
|
*/
|
|
142
140
|
/**
|
|
143
141
|
* @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
|
|
144
|
-
* @template {Object<string, *>} [Properties=Object<string, *>]
|
|
145
142
|
* @typedef {Object} Options
|
|
146
143
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
147
144
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -166,7 +163,7 @@ export type State = {
|
|
|
166
163
|
* @property {import("../Map.js").default|null} [map] Map.
|
|
167
164
|
* @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
|
|
168
165
|
* HTML element. Will overwrite the default rendering for the layer.
|
|
169
|
-
* @property {
|
|
166
|
+
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
170
167
|
*/
|
|
171
168
|
/**
|
|
172
169
|
* @typedef {Object} State
|
|
@@ -205,19 +202,13 @@ export type State = {
|
|
|
205
202
|
*
|
|
206
203
|
* @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
|
|
207
204
|
* @template {import("../renderer/Layer.js").default} [RendererType=import("../renderer/Layer.js").default]
|
|
208
|
-
* @template {Object<string, *>} [Properties=Object<string, *>]
|
|
209
|
-
* @extends {BaseLayer<NoInfer<Properties>>}
|
|
210
205
|
* @api
|
|
211
206
|
*/
|
|
212
|
-
declare class Layer<SourceType extends import("../source/Source.js").default = import("../source.js").
|
|
213
|
-
[x: string]: any;
|
|
214
|
-
} = {
|
|
215
|
-
[x: string]: any;
|
|
216
|
-
}> extends BaseLayer<NoInfer<Properties>> {
|
|
207
|
+
declare class Layer<SourceType extends import("../source/Source.js").default = import("../source/Source.js").default, RendererType extends import("../renderer/Layer.js").default<any> = import("../renderer/Layer.js").default<any>> extends BaseLayer {
|
|
217
208
|
/**
|
|
218
|
-
* @param {Options<SourceType
|
|
209
|
+
* @param {Options<SourceType>} options Layer options.
|
|
219
210
|
*/
|
|
220
|
-
constructor(options: Options<SourceType
|
|
211
|
+
constructor(options: Options<SourceType>);
|
|
221
212
|
/***
|
|
222
213
|
* @type {LayerOnSignature<import("../events").EventsKey>}
|
|
223
214
|
*/
|
package/layer/Layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["Layer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["Layer.js"],"names":[],"mappings":"AA0hBA;;;;;;GAMG;AACH,mCAJW,KAAK,aACL,OAAO,YAAY,EAAE,KAAK,GACzB,OAAO,CAelB;;6BAjiBY,CAAS,IAA8B,EAA9B,OAAO,WAAW,EAAE,UAAU,KAAE,WAAW;6BAIpD,aAAa,GAAC,eAAe;;;;6BAI7B,MAAM,IACN,OAAO,eAAe,EAAE,WAAW,CAAC,OAAO,eAAe,EAAE,UAAU,EAAE,OAAO,oBAAoB,EAAE,OAAO,EAAE,MAAM,CAAC,GACjI,OAAW,eAAe,EAAE,WAAW,CAAC,OAAO,QAAQ,EAAE,yBAAyB,GAC5E,cAAc,EAAE,OAAO,WAAW,EAAE,WAAW,EAAE,MAAM,CAAC,GAC9D,OAAW,eAAe,EAAE,WAAW,CAAC,OAAO,qBAAqB,EAAE,qBAAqB,EAAE,OAAO,iBAAiB,EAAE,OAAO,EAAE,MAAM,CAAC,GACvI,OAAW,eAAe,EAAE,mBAAmB,CAAC,OAAO,eAAe,EAAE,UAAU,GAAC,OAAO,QAAQ,EAAE,yBAAyB,GAAC,cAAc,GAC5I,OAAa,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,CAAC;oBAIb,UAAU,S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
* @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
|
|
33
|
-
* @template {Object<string, *>} [Properties=Object<string, *>]
|
|
34
33
|
* @typedef {Object} Options
|
|
35
34
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
36
35
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -55,7 +54,7 @@ import LayerProperty from './Property.js';
|
|
|
55
54
|
* @property {import("../Map.js").default|null} [map] Map.
|
|
56
55
|
* @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
|
|
57
56
|
* HTML element. Will overwrite the default rendering for the layer.
|
|
58
|
-
* @property {
|
|
57
|
+
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
59
58
|
*/
|
|
60
59
|
|
|
61
60
|
/**
|
|
@@ -96,13 +95,11 @@ import LayerProperty from './Property.js';
|
|
|
96
95
|
*
|
|
97
96
|
* @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
|
|
98
97
|
* @template {import("../renderer/Layer.js").default} [RendererType=import("../renderer/Layer.js").default]
|
|
99
|
-
* @template {Object<string, *>} [Properties=Object<string, *>]
|
|
100
|
-
* @extends {BaseLayer<NoInfer<Properties>>}
|
|
101
98
|
* @api
|
|
102
99
|
*/
|
|
103
100
|
class Layer extends BaseLayer {
|
|
104
101
|
/**
|
|
105
|
-
* @param {Options<SourceType
|
|
102
|
+
* @param {Options<SourceType>} options Layer options.
|
|
106
103
|
*/
|
|
107
104
|
constructor(options) {
|
|
108
105
|
const baseOptions = Object.assign({}, options);
|
package/layer/Tile.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export default TileLayer;
|
|
|
11
11
|
* @extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer>
|
|
12
12
|
* @api
|
|
13
13
|
*/
|
|
14
|
-
declare class TileLayer<TileSourceType extends import("../source/Tile.js").default = import("../source.js").
|
|
14
|
+
declare class TileLayer<TileSourceType extends import("../source/Tile.js").default = import("../source/Tile.js").default<import("../Tile.js").default>> extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer<TileLayer<import("../source/Tile.js").default<import("../Tile.js").default>> | import("./VectorTile.js").default<import("../source.js").VectorTile<any>, any>>> {
|
|
15
15
|
/**
|
|
16
16
|
* @param {import("./BaseTile.js").Options<TileSourceType>} [options] Tile layer options.
|
|
17
17
|
*/
|
package/layer/Vector.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default VectorLayer;
|
|
2
|
-
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
2
|
+
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>> = {
|
|
3
3
|
/**
|
|
4
4
|
* A CSS class name to set to the layer element.
|
|
5
5
|
*/
|
|
@@ -171,7 +171,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
171
171
|
* @extends {BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorLayerRenderer>}
|
|
172
172
|
* @api
|
|
173
173
|
*/
|
|
174
|
-
declare class VectorLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
174
|
+
declare class VectorLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>> extends BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorLayerRenderer> {
|
|
175
175
|
/**
|
|
176
176
|
* @param {Options<VectorSourceType, FeatureType>} [options] Options.
|
|
177
177
|
*/
|
package/layer/Vector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":";oBAOmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,
|
|
1
|
+
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":";oBAOmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,0BALmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAKhD;;OAEG;IACH,sBAFW,OAAO,CAAC,gBAAgB,EAAE,WAAW,CAAC,EAIhD;CAQF;sCApFqC,mCAAmC;4BAC7C,iBAAiB"}
|
package/layer/VectorImage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default VectorImageLayer;
|
|
2
|
-
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
2
|
+
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>> = {
|
|
3
3
|
/**
|
|
4
4
|
* A CSS class name to set to the layer element.
|
|
5
5
|
*/
|
|
@@ -160,7 +160,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
160
160
|
* @extends {BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorImageLayerRenderer>}
|
|
161
161
|
* @api
|
|
162
162
|
*/
|
|
163
|
-
declare class VectorImageLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
163
|
+
declare class VectorImageLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>> extends BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorImageLayerRenderer> {
|
|
164
164
|
/**
|
|
165
165
|
* @param {Options<VectorSourceType, FeatureType>} [options] Options.
|
|
166
166
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorImage.d.ts","sourceRoot":"","sources":["VectorImage.js"],"names":[],"mappings":";oBAOmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,
|
|
1
|
+
{"version":3,"file":"VectorImage.d.ts","sourceRoot":"","sources":["VectorImage.js"],"names":[],"mappings":";oBAOmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,+BALmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAKhD;;OAEG;IACH,sBAFW,OAAO,CAAC,gBAAgB,EAAE,WAAW,CAAC,EAehD;IANC;;;OAGG;IACH,oBAC2D;IAG7D;;OAEG;IACH,iBAFY,MAAM,CAIjB;CAQF;2CAlG0C,wCAAwC;4BACvD,iBAAiB"}
|
package/layer/VectorTile.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type VectorTileRenderType = "hybrid" | "vector";
|
|
|
8
8
|
* *
|
|
9
9
|
*/
|
|
10
10
|
export type ExtractedFeatureType<T> = T extends import("../source/VectorTile.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never;
|
|
11
|
-
export type Options<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source.js").
|
|
11
|
+
export type Options<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source/VectorTile.js").default<any>, FeatureType extends import("../Feature").FeatureLike = ExtractedFeatureType<VectorTileSourceType>> = {
|
|
12
12
|
/**
|
|
13
13
|
* A CSS class name to set to the layer element.
|
|
14
14
|
*/
|
|
@@ -236,7 +236,7 @@ export type Options<VectorTileSourceType extends import("../source/VectorTile.js
|
|
|
236
236
|
* @extends {BaseVectorLayer<FeatureType, VectorTileSourceType, CanvasVectorTileLayerRenderer>}
|
|
237
237
|
* @api
|
|
238
238
|
*/
|
|
239
|
-
declare class VectorTileLayer<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source.js").
|
|
239
|
+
declare class VectorTileLayer<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source/VectorTile.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorTileSourceType>> extends BaseVectorLayer<FeatureType, VectorTileSourceType, CanvasVectorTileLayerRenderer> {
|
|
240
240
|
/**
|
|
241
241
|
* @param {Options<VectorTileSourceType, FeatureType>} [options] Options.
|
|
242
242
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":";;;;uCASa,MAAM,IACN,OAAO,eAAe,EAAE,WAAW,CAAC,OAAO,eAAe,EAAE,UAAU,EAAE,OAAO,oBAAoB,EAAE,OAAO,EAAE,MAAM,CAAC,GACjI,OAAW,eAAe,EAAE,WAAW,CAAC,OAAO,QAAQ,EAAE,yBAAyB,GAClF,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,OAAO,cAAc,EAAE,MAAM,GAC5B,KAAK,CAAC,WAAW,CAAC,CAO7B;IAED;;OAEG;IACH,iBAFY,oBAAoB,CAI/B;IAED;;;;;OAKG;IACH,cAJY,MAAM,CAMjB;IAED;;;;;OAKG;IACH,6BAJY,OAAO,CAQlB;IAED;;;;;OAKG;IACH,oBAJW,MAAM,QAMhB;IAED;;;;;OAKG;IACH,kDAJW,OAAO,QAMjB;CACF;0CA1QyC,uCAAuC;4BACrD,iBAAiB"}
|
package/layer/WebGLPoints.d.ts
CHANGED
|
@@ -146,9 +146,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
146
146
|
* @fires import("../render/Event.js").RenderEvent#postrender
|
|
147
147
|
* @deprecated Use ol/layer/WebGLVector instead
|
|
148
148
|
*/
|
|
149
|
-
declare class WebGLPointsLayer<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike>> extends Layer<VectorSourceType, WebGLPointsLayerRenderer
|
|
150
|
-
[x: string]: any;
|
|
151
|
-
}> {
|
|
149
|
+
declare class WebGLPointsLayer<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike>> extends Layer<VectorSourceType, WebGLPointsLayerRenderer> {
|
|
152
150
|
/**
|
|
153
151
|
* @param {Options<VectorSourceType>} options Options.
|
|
154
152
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGLPoints.d.ts","sourceRoot":"","sources":["WebGLPoints.js"],"names":[],"mappings":";oBAQuF,gBAAgB,SAA1F,OAAQ,qBAAqB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,WAAW,CAAE;;;;WAExE,OAAO,kBAAkB,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,+BANuF,gBAAgB,SAA1F,OAAQ,qBAAqB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,WAAW,CAAE
|
|
1
|
+
{"version":3,"file":"WebGLPoints.d.ts","sourceRoot":"","sources":["WebGLPoints.js"],"names":[],"mappings":";oBAQuF,gBAAgB,SAA1F,OAAQ,qBAAqB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,WAAW,CAAE;;;;WAExE,OAAO,kBAAkB,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,+BANuF,gBAAgB,SAA1F,OAAQ,qBAAqB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,WAAW,CAAE;IAOpF;;OAEG;IACH,qBAFW,OAAO,CAAC,gBAAgB,CAAC,EA4BnC;IArBC;;;OAGG;IACH,wBAA8C;IAE9C;;;OAGG;IACH,qBAIC;IAED;;;OAGG;IACH,8BAA0D;IAyB5D;;;OAGG;IACH;;aAGC;CACF;qCAtIoC,kCAAkC;kBACrD,YAAY"}
|
package/layer/WebGLTile.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export type Options = {
|
|
|
100
100
|
/**
|
|
101
101
|
* Source for this layer.
|
|
102
102
|
*/
|
|
103
|
-
source?: import("../source.js").
|
|
103
|
+
source?: import("../source/DataTile.js").default<import("../ImageTile.js").default | import("../DataTile.js").default> | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* Array
|
|
106
106
|
* of sources for this layer. Takes precedence over `source`. Can either be an array of sources, or a function that
|
|
@@ -108,7 +108,7 @@ export type Options = {
|
|
|
108
108
|
* {@link module :ol/source.sourcesFromTileGrid} for a helper function to generate sources that are organized in a
|
|
109
109
|
* pyramid following the same pattern as a tile grid. **Note:** All sources must have the same band count and content.
|
|
110
110
|
*/
|
|
111
|
-
sources?: import("../source.js").
|
|
111
|
+
sources?: import("../source/DataTile.js").default<import("../ImageTile.js").default | import("../DataTile.js").default>[] | ((arg0: import("../extent.js").Extent, arg1: number) => Array<SourceType>) | undefined;
|
|
112
112
|
/**
|
|
113
113
|
* Sets the layer as overlay on a map. The map will not manage
|
|
114
114
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
@@ -165,7 +165,7 @@ export type ParsedStyle = {
|
|
|
165
165
|
* @fires import("../render/Event.js").RenderEvent#postrender
|
|
166
166
|
* @api
|
|
167
167
|
*/
|
|
168
|
-
declare class WebGLTileLayer extends BaseTileLayer<import("../source.js").
|
|
168
|
+
declare class WebGLTileLayer extends BaseTileLayer<import("../source/DataTile.js").default<import("../ImageTile.js").default | import("../DataTile.js").default>, WebGLTileLayerRenderer<any>> {
|
|
169
169
|
/**
|
|
170
170
|
* @param {Options} [options] Tile layer options.
|
|
171
171
|
*/
|
package/layer/WebGLTile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGLTile.d.ts","sourceRoot":"","sources":["WebGLTile.js"],"names":[],"mappings":";yBAmBa,OAAO,uBAAuB,EAAE,OAAO,CAAC,OAAO,gBAAgB,EAAE,OAAO,GAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebGLTile.d.ts","sourceRoot":"","sources":["WebGLTile.js"],"names":[],"mappings":";yBAmBa,OAAO,uBAAuB,EAAE,OAAO,CAAC,OAAO,gBAAgB,EAAE,OAAO,GAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA+C/E,OAAO,cAAc,EAAE,MAAM,QAAE,MAAM,KAAE,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBnF,MAAM;;;;oBACN,MAAM;;;;;;;;;;qBAEN,KAAK,CAAC,OAAO,4BAA4B,EAAE,OAAO,CAAC;;AAwLjE;;;;;;;;;;;;GAYG;AACH;IACE;;OAEG;IACH,sBAFW,OAAO,EA0CjB;IAhCC;;;OAGG;IACH,iBAA+B;IAE/B;;;OAGG;IACH,wBAA2B;IAE3B;;;OAGG;IACH,4BAA8B;IAE9B;;;OAGG;IACH,eAAmB;IAEnB;;;OAGG;IACH,wBAAkD;IAMpD;;;;;OAKG;IACH,mBAJW,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,GACL,KAAK,CAAC,UAAU,CAAC,CAW5B;IAED;;;OAGG;IACH,4BAHY,UAAU,CAKrB;IAWD;;OAEG;IACH,4BAkBC;IAED;;;OAGG;IACH,4BAMC;IAED;;OAEG;IACH,wDAUC;IAED;;;;OAIG;IACH,0BAJW,OAAO,QAAQ,EAAE,UAAU,WAC3B,KAAK,CAAC,UAAU,CAAC,GAChB,WAAW,CAYtB;IAED;;;;;;OAMG;IACH,4BANY,OAAO,WAAW,EAAE,UAAU,OAAA,UAC/B,WAAW,GAEV,WAAW,CAuCtB;IAED;;;;;;;OAOG;IACH,gBAFW,KAAK,QAgBf;IAED;;;;OAIG;IACH;;aAGC;CACF;mCA7eM,gCAAgC;0BACb,eAAe"}
|
package/layer/WebGLVector.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export default WebGLVectorLayer;
|
|
|
3
3
|
* *
|
|
4
4
|
*/
|
|
5
5
|
export type ExtractedFeatureType<T> = T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never;
|
|
6
|
-
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
6
|
+
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorSourceType>> = {
|
|
7
7
|
/**
|
|
8
8
|
* A CSS class name to set to the layer element.
|
|
9
9
|
*/
|
|
@@ -138,9 +138,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
138
138
|
* @template {import('../Feature.js').FeatureLike} [FeatureType=ExtractedFeatureType<VectorSourceType>]
|
|
139
139
|
* @extends {Layer<VectorSourceType, WebGLVectorLayerRenderer>}
|
|
140
140
|
*/
|
|
141
|
-
declare class WebGLVectorLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source.js").
|
|
142
|
-
[x: string]: any;
|
|
143
|
-
}> {
|
|
141
|
+
declare class WebGLVectorLayer<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorSourceType>> extends Layer<VectorSourceType, WebGLVectorLayerRenderer> {
|
|
144
142
|
/**
|
|
145
143
|
* @param {Options<VectorSourceType, FeatureType>} [options] Options.
|
|
146
144
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGLVector.d.ts","sourceRoot":"","sources":["WebGLVector.js"],"names":[],"mappings":";;;;iCAOa,CAAC,IACD,CAAC,SAAS,OAAO,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,OAAO,eAAe,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK;oBAI1D,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,
|
|
1
|
+
{"version":3,"file":"WebGLVector.d.ts","sourceRoot":"","sources":["WebGLVector.js"],"names":[],"mappings":";;;;iCAOa,CAAC,IACD,CAAC,SAAS,OAAO,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,OAAO,eAAe,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK;oBAI1D,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqBpC,OAAO,kBAAkB,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5BtD;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH;;;;;;;;;;;;;;GAcG;AACH,+BAJmE,gBAAgB,SAAtE,OAAQ,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAE,+CACb,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAIhD;;OAEG;IACH,sBAFW,OAAO,CAAC,gBAAgB,EAAE,WAAW,CAAC,EAsBhD;IAfC;;;OAGG;IACH,wBAA8C;IAE9C;;OAEG;IACH,eAA2B;IAE3B;;OAEG;IACH,8BAA0D;IAc5D;;;OAGG;IACH,gCAFW,OAAO,kBAAkB,EAAE,cAAc,QAKnD;IAED;;;OAGG;IACH,gBAFW,OAAO,kBAAkB,EAAE,aAAa,QAMlD;CACF;qCAlHoC,kCAAkC;kBACrD,YAAY"}
|
|
@@ -3,7 +3,7 @@ export default WebGLVectorTileLayer;
|
|
|
3
3
|
* *
|
|
4
4
|
*/
|
|
5
5
|
export type ExtractedFeatureType<T> = T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never;
|
|
6
|
-
export type Options<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source.js").
|
|
6
|
+
export type Options<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source/VectorTile.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorTileSourceType>> = {
|
|
7
7
|
/**
|
|
8
8
|
* A CSS class name to set to the layer element.
|
|
9
9
|
*/
|
|
@@ -138,7 +138,7 @@ export type Options<VectorTileSourceType extends import("../source/VectorTile.js
|
|
|
138
138
|
* @template {import('../Feature.js').FeatureLike} [FeatureType=ExtractedFeatureType<VectorTileSourceType>]
|
|
139
139
|
* @extends {BaseTileLayer<VectorTileSourceType, WebGLVectorTileLayerRenderer>}
|
|
140
140
|
*/
|
|
141
|
-
declare class WebGLVectorTileLayer<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source.js").
|
|
141
|
+
declare class WebGLVectorTileLayer<VectorTileSourceType extends import("../source/VectorTile.js").default<FeatureType> = import("../source/VectorTile.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorTileSourceType>> extends BaseTileLayer<VectorTileSourceType, WebGLVectorTileLayerRenderer> {
|
|
142
142
|
/**
|
|
143
143
|
* @param {Options<VectorTileSourceType, FeatureType>} [options] Options.
|
|
144
144
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGLVectorTile.d.ts","sourceRoot":"","sources":["WebGLVectorTile.js"],"names":[],"mappings":";;;;iCAOa,CAAC,IACD,CAAC,SAAS,OAAO,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,OAAO,eAAe,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK;oBAItD,oBAAoB,SAA9E,OAAQ,yBAAyB,EAAE,OAAO,CAAC,WAAW,CAAE,
|
|
1
|
+
{"version":3,"file":"WebGLVectorTile.d.ts","sourceRoot":"","sources":["WebGLVectorTile.js"],"names":[],"mappings":";;;;iCAOa,CAAC,IACD,CAAC,SAAS,OAAO,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,OAAO,eAAe,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK;oBAItD,oBAAoB,SAA9E,OAAQ,yBAAyB,EAAE,OAAO,CAAC,WAAW,CAAE,mDACjB,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqBpC,OAAO,kBAAkB,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5BtD;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH;;;;;;;;;;;;;;GAcG;AACH,mCAJuE,oBAAoB,SAA9E,OAAQ,yBAAyB,EAAE,OAAO,CAAC,WAAW,CAAE,mDACjB,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAIhD;;OAEG;IACH,sBAFW,OAAO,CAAC,oBAAoB,EAAE,WAAW,CAAC,EAsBpD;IAfC;;;OAGG;IACH,wBAA8C;IAE9C;;OAEG;IACH,eAA2B;IAE3B;;OAEG;IACH,8BAA0D;IAe5D;;;OAGG;IACH,gCAFW,OAAO,kBAAkB,EAAE,cAAc,QAKnD;IAED;;;OAGG;IACH,gBAFW,OAAO,kBAAkB,EAAE,aAAa,QAMlD;CACF;yCAnHwC,sCAAsC;0BACrD,eAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ol",
|
|
3
|
-
"version": "10.7.
|
|
3
|
+
"version": "10.7.2",
|
|
4
4
|
"description": "OpenLayers mapping library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"map",
|
|
@@ -24,10 +24,9 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@types/rbush": "4.0.0",
|
|
26
26
|
"earcut": "^3.0.0",
|
|
27
|
-
"geotiff": "^
|
|
27
|
+
"geotiff": "^2.1.3",
|
|
28
28
|
"pbf": "4.0.1",
|
|
29
|
-
"rbush": "^4.0.0"
|
|
30
|
-
"zarrita": "^0.6.0"
|
|
29
|
+
"rbush": "^4.0.0"
|
|
31
30
|
},
|
|
32
31
|
"browserslist": [
|
|
33
32
|
"> 1%",
|