ol 9.2.5-sh.2 → 10.0.1-dev.1722076459273
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 -1
- package/Collection.d.ts.map +1 -1
- package/DataTile.d.ts +15 -1
- package/DataTile.d.ts.map +1 -1
- package/DataTile.js +26 -1
- package/Feature.d.ts +1 -1
- package/Feature.d.ts.map +1 -1
- package/Geolocation.d.ts +2 -2
- package/Geolocation.d.ts.map +1 -1
- package/Geolocation.js +1 -0
- package/Image.d.ts +4 -4
- package/Image.d.ts.map +1 -1
- package/ImageCanvas.d.ts +2 -1
- package/ImageCanvas.d.ts.map +1 -1
- package/ImageCanvas.js +2 -0
- package/ImageTile.d.ts.map +1 -1
- package/ImageTile.js +1 -1
- package/Map.d.ts +5 -4
- package/Map.d.ts.map +1 -1
- package/Map.js +15 -14
- package/MapBrowserEvent.d.ts +4 -2
- package/MapBrowserEvent.d.ts.map +1 -1
- package/MapBrowserEvent.js +4 -0
- package/MapBrowserEventHandler.d.ts +4 -1
- package/MapBrowserEventHandler.d.ts.map +1 -1
- package/MapBrowserEventHandler.js +4 -0
- package/MapBrowserEventType.d.ts +1 -1
- package/MapEvent.d.ts.map +1 -1
- package/MapEventType.d.ts +1 -1
- package/Object.d.ts.map +1 -1
- package/ObjectEventType.d.ts +1 -1
- package/Observable.d.ts +2 -2
- package/Observable.d.ts.map +1 -1
- package/Overlay.d.ts +2 -2
- package/Overlay.d.ts.map +1 -1
- package/Overlay.js +2 -2
- package/README.md +1 -1
- package/Tile.d.ts +10 -30
- package/Tile.d.ts.map +1 -1
- package/Tile.js +6 -79
- package/TileCache.d.ts +2 -1
- package/TileCache.d.ts.map +1 -1
- package/TileCache.js +4 -0
- package/TileQueue.d.ts +3 -2
- package/TileQueue.d.ts.map +1 -1
- package/TileQueue.js +7 -4
- package/VectorRenderTile.d.ts +8 -13
- package/VectorRenderTile.d.ts.map +1 -1
- package/VectorRenderTile.js +19 -24
- package/VectorTile.d.ts +6 -6
- package/VectorTile.d.ts.map +1 -1
- package/VectorTile.js +5 -4
- package/View.d.ts +1 -1
- package/View.d.ts.map +1 -1
- package/array.d.ts +2 -2
- package/array.d.ts.map +1 -1
- package/asserts.d.ts.map +1 -1
- package/centerconstraint.d.ts.map +1 -1
- package/color.d.ts.map +1 -1
- package/color.js +2 -2
- package/console.d.ts +1 -1
- package/console.d.ts.map +1 -1
- package/control/Attribution.d.ts.map +1 -1
- package/control/Attribution.js +5 -12
- package/control/Control.d.ts.map +1 -1
- package/control/Control.js +4 -6
- package/control/FullScreen.d.ts +1 -1
- package/control/FullScreen.d.ts.map +1 -1
- package/control/FullScreen.js +1 -0
- package/control/MousePosition.d.ts +1 -1
- package/control/MousePosition.d.ts.map +1 -1
- package/control/MousePosition.js +1 -0
- package/control/OverviewMap.d.ts.map +1 -1
- package/control/OverviewMap.js +16 -13
- package/control/Rotate.d.ts +4 -1
- package/control/Rotate.d.ts.map +1 -1
- package/control/Rotate.js +3 -0
- package/control/ScaleLine.d.ts +3 -3
- package/control/ScaleLine.d.ts.map +1 -1
- package/control/ZoomSlider.d.ts.map +1 -1
- package/control/ZoomSlider.js +1 -0
- package/control/ZoomToExtent.d.ts.map +1 -1
- package/control/defaults.d.ts.map +1 -1
- package/coordinate.d.ts +1 -1
- package/coordinate.d.ts.map +1 -1
- package/css.d.ts.map +1 -1
- package/dist/ol.d.ts +10 -8
- package/dist/ol.d.ts.map +1 -1
- package/dist/ol.js +1 -3
- package/dist/ol.js.map +1 -1
- package/dom.d.ts +0 -5
- package/dom.d.ts.map +1 -1
- package/dom.js +1 -9
- package/events/SnapEvent.d.ts.map +1 -1
- package/events/Target.d.ts.map +1 -1
- package/events/Target.js +1 -0
- package/events/condition.d.ts +2 -2
- package/events/condition.d.ts.map +1 -1
- package/events/condition.js +1 -1
- package/events.d.ts.map +1 -1
- package/events.js +6 -4
- package/expr/cpu.d.ts +1 -1
- package/expr/cpu.d.ts.map +1 -1
- package/expr/cpu.js +2 -16
- package/expr/expression.d.ts +8 -15
- package/expr/expression.d.ts.map +1 -1
- package/expr/expression.js +388 -508
- package/expr/gpu.d.ts +3 -3
- package/expr/gpu.d.ts.map +1 -1
- package/expr/gpu.js +1 -14
- package/extent.d.ts +2 -2
- package/extent.d.ts.map +1 -1
- package/featureloader.d.ts +6 -6
- package/featureloader.d.ts.map +1 -1
- package/featureloader.js +3 -3
- package/format/EsriJSON.d.ts +9 -5
- package/format/EsriJSON.d.ts.map +1 -1
- package/format/EsriJSON.js +7 -0
- package/format/Feature.d.ts +12 -12
- package/format/Feature.d.ts.map +1 -1
- package/format/Feature.js +7 -5
- package/format/GML2.d.ts.map +1 -1
- package/format/GML2.js +7 -9
- package/format/GML3.d.ts +2 -1
- package/format/GML3.d.ts.map +1 -1
- package/format/GML3.js +23 -31
- package/format/GML32.d.ts.map +1 -1
- package/format/GML32.js +1 -0
- package/format/GMLBase.d.ts.map +1 -1
- package/format/GMLBase.js +3 -0
- package/format/GPX.d.ts.map +1 -1
- package/format/GPX.js +3 -0
- package/format/GeoJSON.d.ts +17 -13
- package/format/GeoJSON.d.ts.map +1 -1
- package/format/GeoJSON.js +17 -14
- package/format/IGC.d.ts +1 -1
- package/format/IGC.d.ts.map +1 -1
- package/format/IGC.js +2 -0
- package/format/IIIFInfo.d.ts.map +1 -1
- package/format/JSONFeature.d.ts +15 -11
- package/format/JSONFeature.d.ts.map +1 -1
- package/format/JSONFeature.js +17 -11
- package/format/KML.d.ts +6 -6
- package/format/KML.d.ts.map +1 -1
- package/format/KML.js +5 -1
- package/format/MVT.d.ts +15 -13
- package/format/MVT.d.ts.map +1 -1
- package/format/MVT.js +15 -14
- package/format/OSMXML.d.ts.map +1 -1
- package/format/OSMXML.js +1 -0
- package/format/OWS.d.ts.map +1 -1
- package/format/OWS.js +1 -0
- package/format/Polyline.d.ts +6 -3
- package/format/Polyline.d.ts.map +1 -1
- package/format/Polyline.js +6 -0
- package/format/TextFeature.d.ts +9 -5
- package/format/TextFeature.d.ts.map +1 -1
- package/format/TextFeature.js +8 -0
- package/format/TopoJSON.d.ts +1 -1
- package/format/TopoJSON.d.ts.map +1 -1
- package/format/TopoJSON.js +2 -0
- package/format/WFS.d.ts.map +1 -1
- package/format/WFS.js +3 -0
- package/format/WKB.d.ts +9 -5
- package/format/WKB.d.ts.map +1 -1
- package/format/WKB.js +8 -0
- package/format/WKT.d.ts.map +1 -1
- package/format/WKT.js +6 -0
- package/format/WMSCapabilities.d.ts.map +1 -1
- package/format/WMSCapabilities.js +1 -0
- package/format/WMSGetFeatureInfo.d.ts.map +1 -1
- package/format/WMSGetFeatureInfo.js +1 -0
- package/format/WMTSCapabilities.d.ts.map +1 -1
- package/format/WMTSCapabilities.js +1 -0
- package/format/XMLFeature.d.ts +11 -6
- package/format/XMLFeature.d.ts.map +1 -1
- package/format/XMLFeature.js +8 -0
- package/format/filter/Bbox.d.ts.map +1 -1
- package/format/filter/Comparison.d.ts.map +1 -1
- package/format/filter/ComparisonBinary.d.ts.map +1 -1
- package/format/filter/Contains.d.ts.map +1 -1
- package/format/filter/DWithin.d.ts.map +1 -1
- package/format/filter/Disjoint.d.ts.map +1 -1
- package/format/filter/During.d.ts.map +1 -1
- package/format/filter/EqualTo.d.ts.map +1 -1
- package/format/filter/Filter.d.ts.map +1 -1
- package/format/filter/GreaterThan.d.ts.map +1 -1
- package/format/filter/GreaterThanOrEqualTo.d.ts.map +1 -1
- package/format/filter/Intersects.d.ts.map +1 -1
- package/format/filter/IsBetween.d.ts.map +1 -1
- package/format/filter/IsLike.d.ts.map +1 -1
- package/format/filter/IsNull.d.ts.map +1 -1
- package/format/filter/LessThan.d.ts.map +1 -1
- package/format/filter/LessThanOrEqualTo.d.ts.map +1 -1
- package/format/filter/LogicalNary.d.ts.map +1 -1
- package/format/filter/Not.d.ts.map +1 -1
- package/format/filter/NotEqualTo.d.ts.map +1 -1
- package/format/filter/ResourceId.d.ts.map +1 -1
- package/format/filter/Spatial.d.ts.map +1 -1
- package/format/filter/Within.d.ts.map +1 -1
- package/format/filter.d.ts.map +1 -1
- package/functions.d.ts +2 -2
- package/functions.d.ts.map +1 -1
- package/functions.js +6 -5
- package/geom/Circle.d.ts +10 -3
- package/geom/Circle.d.ts.map +1 -1
- package/geom/Circle.js +13 -0
- package/geom/Geometry.d.ts +2 -2
- package/geom/GeometryCollection.d.ts +6 -3
- package/geom/GeometryCollection.d.ts.map +1 -1
- package/geom/GeometryCollection.js +13 -0
- package/geom/LineString.d.ts +9 -5
- package/geom/LineString.d.ts.map +1 -1
- package/geom/LineString.js +7 -0
- package/geom/LinearRing.d.ts +8 -4
- package/geom/LinearRing.d.ts.map +1 -1
- package/geom/LinearRing.js +7 -0
- package/geom/MultiLineString.d.ts +8 -4
- package/geom/MultiLineString.d.ts.map +1 -1
- package/geom/MultiLineString.js +7 -0
- package/geom/MultiPoint.d.ts +6 -3
- package/geom/MultiPoint.d.ts.map +1 -1
- package/geom/MultiPoint.js +6 -0
- package/geom/MultiPolygon.d.ts +8 -4
- package/geom/MultiPolygon.d.ts.map +1 -1
- package/geom/MultiPolygon.js +8 -0
- package/geom/Point.d.ts +4 -2
- package/geom/Point.d.ts.map +1 -1
- package/geom/Point.js +7 -0
- package/geom/Polygon.d.ts +8 -4
- package/geom/Polygon.d.ts.map +1 -1
- package/geom/Polygon.js +8 -0
- package/geom/SimpleGeometry.d.ts +2 -1
- package/geom/SimpleGeometry.d.ts.map +1 -1
- package/geom/SimpleGeometry.js +6 -0
- package/geom/flat/area.d.ts.map +1 -1
- package/geom/flat/area.js +9 -7
- package/geom/flat/center.d.ts.map +1 -1
- package/geom/flat/closest.d.ts.map +1 -1
- package/geom/flat/contains.d.ts.map +1 -1
- package/geom/flat/deflate.d.ts.map +1 -1
- package/geom/flat/flip.d.ts.map +1 -1
- package/geom/flat/geodesic.d.ts.map +1 -1
- package/geom/flat/inflate.d.ts.map +1 -1
- package/geom/flat/interiorpoint.d.ts.map +1 -1
- package/geom/flat/interpolate.d.ts.map +1 -1
- package/geom/flat/intersectsextent.d.ts.map +1 -1
- package/geom/flat/length.d.ts.map +1 -1
- package/geom/flat/linechunk.d.ts.map +1 -1
- package/geom/flat/orient.d.ts.map +1 -1
- package/geom/flat/reverse.d.ts.map +1 -1
- package/geom/flat/segments.d.ts +1 -1
- package/geom/flat/segments.d.ts.map +1 -1
- package/geom/flat/simplify.d.ts.map +1 -1
- package/geom/flat/straightchunk.d.ts.map +1 -1
- package/geom/flat/textpath.d.ts.map +1 -1
- package/geom/flat/topology.d.ts.map +1 -1
- package/geom/flat/transform.d.ts.map +1 -1
- package/interaction/DblClickDragZoom.d.ts.map +1 -1
- package/interaction/DblClickDragZoom.js +1 -0
- package/interaction/DoubleClickZoom.d.ts.map +1 -1
- package/interaction/DoubleClickZoom.js +1 -0
- package/interaction/DragAndDrop.d.ts +4 -3
- package/interaction/DragAndDrop.d.ts.map +1 -1
- package/interaction/DragAndDrop.js +2 -0
- package/interaction/DragBox.d.ts +3 -3
- package/interaction/DragBox.d.ts.map +1 -1
- package/interaction/DragBox.js +6 -2
- package/interaction/DragPan.d.ts +6 -4
- package/interaction/DragPan.d.ts.map +1 -1
- package/interaction/DragPan.js +6 -1
- package/interaction/DragRotate.d.ts +3 -3
- package/interaction/DragRotate.d.ts.map +1 -1
- package/interaction/DragRotate.js +5 -2
- package/interaction/DragRotateAndZoom.d.ts +2 -2
- package/interaction/DragRotateAndZoom.d.ts.map +1 -1
- package/interaction/DragRotateAndZoom.js +4 -1
- package/interaction/DragZoom.d.ts +3 -3
- package/interaction/DragZoom.d.ts.map +1 -1
- package/interaction/DragZoom.js +3 -2
- package/interaction/Draw.d.ts +8 -7
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Draw.js +9 -5
- package/interaction/Extent.d.ts +4 -3
- package/interaction/Extent.d.ts.map +1 -1
- package/interaction/Extent.js +6 -1
- package/interaction/Interaction.d.ts +1 -1
- package/interaction/Interaction.d.ts.map +1 -1
- package/interaction/KeyboardPan.d.ts +2 -2
- package/interaction/KeyboardPan.d.ts.map +1 -1
- package/interaction/KeyboardPan.js +2 -1
- package/interaction/KeyboardZoom.d.ts +2 -2
- package/interaction/KeyboardZoom.d.ts.map +1 -1
- package/interaction/KeyboardZoom.js +2 -1
- package/interaction/Link.d.ts +1 -1
- package/interaction/Link.d.ts.map +1 -1
- package/interaction/Link.js +4 -0
- package/interaction/Modify.d.ts +13 -10
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Modify.js +11 -3
- package/interaction/MouseWheelZoom.d.ts +3 -3
- package/interaction/MouseWheelZoom.d.ts.map +1 -1
- package/interaction/MouseWheelZoom.js +2 -1
- package/interaction/PinchRotate.d.ts.map +1 -1
- package/interaction/PinchRotate.js +3 -0
- package/interaction/PinchZoom.d.ts.map +1 -1
- package/interaction/PinchZoom.js +3 -0
- package/interaction/Pointer.d.ts.map +1 -1
- package/interaction/Pointer.js +1 -0
- package/interaction/Select.d.ts +14 -14
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +8 -6
- package/interaction/Snap.d.ts +3 -2
- package/interaction/Snap.d.ts.map +1 -1
- package/interaction/Snap.js +3 -0
- package/interaction/Translate.d.ts +11 -10
- package/interaction/Translate.d.ts.map +1 -1
- package/interaction/Translate.js +9 -4
- package/interaction/defaults.d.ts.map +1 -1
- package/layer/Base.d.ts +1 -1
- package/layer/Base.d.ts.map +1 -1
- package/layer/Base.js +1 -0
- package/layer/BaseImage.d.ts.map +1 -1
- package/layer/BaseTile.d.ts +22 -5
- package/layer/BaseTile.d.ts.map +1 -1
- package/layer/BaseTile.js +23 -3
- package/layer/BaseVector.d.ts.map +1 -1
- package/layer/BaseVector.js +3 -0
- package/layer/Graticule.d.ts +2 -1
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Graticule.js +1 -0
- package/layer/Group.d.ts +2 -2
- package/layer/Group.d.ts.map +1 -1
- package/layer/Group.js +3 -0
- package/layer/Heatmap.d.ts +8 -3
- package/layer/Heatmap.d.ts.map +1 -1
- package/layer/Heatmap.js +18 -7
- package/layer/Image.d.ts.map +1 -1
- package/layer/Image.js +4 -0
- package/layer/Layer.d.ts +4 -4
- package/layer/Layer.d.ts.map +1 -1
- package/layer/Layer.js +7 -8
- package/layer/Tile.d.ts +5 -2
- package/layer/Tile.d.ts.map +1 -1
- package/layer/Tile.js +6 -1
- package/layer/Vector.d.ts.map +1 -1
- package/layer/Vector.js +3 -0
- package/layer/VectorImage.d.ts +1 -1
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorImage.js +3 -0
- package/layer/VectorTile.d.ts +32 -7
- package/layer/VectorTile.d.ts.map +1 -1
- package/layer/VectorTile.js +38 -6
- package/layer/WebGLPoints.d.ts +1 -2
- package/layer/WebGLPoints.d.ts.map +1 -1
- package/layer/WebGLPoints.js +3 -0
- package/layer/WebGLTile.d.ts +9 -12
- package/layer/WebGLTile.d.ts.map +1 -1
- package/layer/WebGLTile.js +20 -21
- package/loadingstrategy.d.ts.map +1 -1
- package/math.d.ts.map +1 -1
- package/net.d.ts.map +1 -1
- package/obj.d.ts.map +1 -1
- package/ol.css +4 -0
- package/package.json +4 -4
- package/pixel.d.ts.map +1 -1
- package/proj/Projection.d.ts +1 -1
- package/proj/Projection.d.ts.map +1 -1
- package/proj/Units.d.ts +1 -1
- package/proj/epsg3857.d.ts.map +1 -1
- package/proj/epsg4326.d.ts.map +1 -1
- package/proj/proj4.d.ts.map +1 -1
- package/proj.d.ts.map +1 -1
- package/render/Box.d.ts.map +1 -1
- package/render/Box.js +1 -0
- package/render/Event.d.ts.map +1 -1
- package/render/EventType.d.ts +2 -2
- package/render/Feature.d.ts +6 -4
- package/render/Feature.d.ts.map +1 -1
- package/render/Feature.js +2 -0
- package/render/canvas/Builder.d.ts.map +1 -1
- package/render/canvas/Builder.js +2 -0
- package/render/canvas/BuilderGroup.d.ts.map +1 -1
- package/render/canvas/Executor.d.ts +6 -27
- package/render/canvas/Executor.d.ts.map +1 -1
- package/render/canvas/Executor.js +7 -13
- package/render/canvas/ExecutorGroup.d.ts +4 -5
- package/render/canvas/ExecutorGroup.d.ts.map +1 -1
- package/render/canvas/ExecutorGroup.js +2 -1
- package/render/canvas/ImageBuilder.d.ts +2 -1
- package/render/canvas/ImageBuilder.d.ts.map +1 -1
- package/render/canvas/ImageBuilder.js +4 -0
- package/render/canvas/Immediate.d.ts +24 -12
- package/render/canvas/Immediate.d.ts.map +1 -1
- package/render/canvas/Immediate.js +14 -0
- package/render/canvas/Instruction.d.ts.map +1 -1
- package/render/canvas/LineStringBuilder.d.ts.map +1 -1
- package/render/canvas/LineStringBuilder.js +4 -0
- package/render/canvas/PolygonBuilder.d.ts.map +1 -1
- package/render/canvas/PolygonBuilder.js +4 -0
- package/render/canvas/TextBuilder.d.ts +4 -2
- package/render/canvas/TextBuilder.d.ts.map +1 -1
- package/render/canvas/TextBuilder.js +4 -0
- package/render/canvas/ZIndexContext.d.ts +2 -1
- package/render/canvas/ZIndexContext.d.ts.map +1 -1
- package/render/canvas/ZIndexContext.js +1 -0
- package/render/canvas/hitdetect.d.ts +1 -1
- package/render/canvas/hitdetect.d.ts.map +1 -1
- package/render/canvas/style.d.ts +3 -3
- package/render/canvas/style.d.ts.map +1 -1
- package/render/canvas/style.js +6 -5
- package/render/canvas.d.ts +1 -1
- package/render/canvas.d.ts.map +1 -1
- package/render/canvas.js +2 -1
- package/render/webgl/MixedGeometryBatch.d.ts +4 -1
- package/render/webgl/MixedGeometryBatch.d.ts.map +1 -1
- package/render/webgl/MixedGeometryBatch.js +4 -0
- package/render/webgl/VectorStyleRenderer.d.ts +56 -30
- package/render/webgl/VectorStyleRenderer.d.ts.map +1 -1
- package/render/webgl/VectorStyleRenderer.js +39 -0
- package/render/webgl/renderinstructions.d.ts +4 -4
- package/render/webgl/utils.d.ts +1 -1
- package/render/webgl/utils.d.ts.map +1 -1
- package/render.d.ts.map +1 -1
- package/renderer/Composite.d.ts +3 -2
- package/renderer/Composite.d.ts.map +1 -1
- package/renderer/Composite.js +10 -4
- package/renderer/Layer.d.ts +22 -29
- package/renderer/Layer.d.ts.map +1 -1
- package/renderer/Layer.js +33 -37
- package/renderer/Map.d.ts +1 -1
- package/renderer/Map.d.ts.map +1 -1
- package/renderer/canvas/ImageLayer.d.ts +6 -4
- package/renderer/canvas/ImageLayer.d.ts.map +1 -1
- package/renderer/canvas/ImageLayer.js +12 -9
- package/renderer/canvas/Layer.d.ts +4 -9
- package/renderer/canvas/Layer.d.ts.map +1 -1
- package/renderer/canvas/Layer.js +1 -6
- package/renderer/canvas/TileLayer.d.ts +105 -41
- package/renderer/canvas/TileLayer.d.ts.map +1 -1
- package/renderer/canvas/TileLayer.js +545 -329
- package/renderer/canvas/VectorImageLayer.d.ts +6 -3
- package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorImageLayer.js +10 -3
- package/renderer/canvas/VectorLayer.d.ts +6 -3
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorLayer.js +8 -0
- package/renderer/canvas/VectorTileLayer.d.ts +16 -14
- package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.js +78 -53
- package/renderer/vector.d.ts.map +1 -1
- package/renderer/webgl/Layer.d.ts +1 -6
- package/renderer/webgl/Layer.d.ts.map +1 -1
- package/renderer/webgl/Layer.js +2 -6
- package/renderer/webgl/PointsLayer.d.ts +23 -8
- package/renderer/webgl/PointsLayer.d.ts.map +1 -1
- package/renderer/webgl/PointsLayer.js +22 -1
- package/renderer/webgl/TileLayer.d.ts +16 -5
- package/renderer/webgl/TileLayer.d.ts.map +1 -1
- package/renderer/webgl/TileLayer.js +18 -0
- package/renderer/webgl/TileLayerBase.d.ts +7 -16
- package/renderer/webgl/TileLayerBase.d.ts.map +1 -1
- package/renderer/webgl/TileLayerBase.js +69 -84
- package/renderer/webgl/VectorLayer.d.ts +32 -8
- package/renderer/webgl/VectorLayer.d.ts.map +1 -1
- package/renderer/webgl/VectorLayer.js +53 -0
- package/renderer/webgl/VectorTileLayer.d.ts +34 -29
- package/renderer/webgl/VectorTileLayer.d.ts.map +1 -1
- package/renderer/webgl/VectorTileLayer.js +27 -0
- package/renderer/webgl/worldUtil.d.ts.map +1 -1
- package/reproj/DataTile.d.ts.map +1 -1
- package/reproj/DataTile.js +121 -119
- package/reproj/Image.d.ts +2 -1
- package/reproj/Image.d.ts.map +1 -1
- package/reproj/Image.js +4 -2
- package/reproj/Tile.d.ts.map +1 -1
- package/reproj/Tile.js +16 -19
- package/reproj/Triangulation.d.ts.map +1 -1
- package/reproj.d.ts +1 -1
- package/reproj.d.ts.map +1 -1
- package/resolution.d.ts.map +1 -1
- package/resolutionconstraint.d.ts.map +1 -1
- package/rotationconstraint.d.ts.map +1 -1
- package/size.d.ts.map +1 -1
- package/source/BingMaps.d.ts +3 -3
- package/source/BingMaps.d.ts.map +1 -1
- package/source/BingMaps.js +1 -2
- package/source/CartoDB.d.ts +2 -2
- package/source/CartoDB.d.ts.map +1 -1
- package/source/CartoDB.js +1 -1
- package/source/Cluster.d.ts +5 -5
- package/source/Cluster.d.ts.map +1 -1
- package/source/Cluster.js +5 -2
- package/source/DataTile.d.ts +51 -22
- package/source/DataTile.d.ts.map +1 -1
- package/source/DataTile.js +67 -9
- package/source/GeoTIFF.d.ts +4 -7
- package/source/GeoTIFF.d.ts.map +1 -1
- package/source/GeoTIFF.js +4 -3
- package/source/Google.d.ts +2 -1
- package/source/Google.d.ts.map +1 -1
- package/source/Google.js +4 -2
- package/source/IIIF.d.ts +1 -1
- package/source/IIIF.js +1 -1
- package/source/Image.d.ts +3 -2
- package/source/Image.d.ts.map +1 -1
- package/source/Image.js +1 -0
- package/source/ImageArcGISRest.d.ts.map +1 -1
- package/source/ImageArcGISRest.js +4 -0
- package/source/ImageCanvas.d.ts +2 -1
- package/source/ImageCanvas.d.ts.map +1 -1
- package/source/ImageCanvas.js +1 -0
- package/source/ImageMapGuide.d.ts.map +1 -1
- package/source/ImageMapGuide.js +4 -0
- package/source/ImageStatic.d.ts.map +1 -1
- package/source/ImageStatic.js +1 -0
- package/source/ImageTile.d.ts +102 -0
- package/source/ImageTile.d.ts.map +1 -0
- package/source/ImageTile.js +206 -0
- package/source/ImageWMS.d.ts.map +1 -1
- package/source/ImageWMS.js +4 -0
- package/source/OGCMapTile.d.ts +2 -2
- package/source/OGCMapTile.js +1 -1
- package/source/OGCVectorTile.d.ts +4 -4
- package/source/OGCVectorTile.d.ts.map +1 -1
- package/source/OGCVectorTile.js +2 -2
- package/source/OSM.d.ts +2 -7
- package/source/OSM.d.ts.map +1 -1
- package/source/OSM.js +1 -3
- package/source/Raster.d.ts +41 -26
- package/source/Raster.d.ts.map +1 -1
- package/source/Raster.js +83 -102
- package/source/Source.d.ts +1 -1
- package/source/Source.d.ts.map +1 -1
- package/source/Source.js +5 -14
- package/source/StadiaMaps.d.ts +2 -2
- package/source/StadiaMaps.d.ts.map +1 -1
- package/source/StadiaMaps.js +2 -18
- package/source/Tile.d.ts +7 -36
- package/source/Tile.d.ts.map +1 -1
- package/source/Tile.js +9 -69
- package/source/TileArcGISRest.d.ts +2 -2
- package/source/TileArcGISRest.d.ts.map +1 -1
- package/source/TileArcGISRest.js +2 -1
- package/source/TileDebug.d.ts.map +1 -1
- package/source/TileDebug.js +0 -1
- package/source/TileEventType.d.ts +1 -1
- package/source/TileImage.d.ts +9 -12
- package/source/TileImage.d.ts.map +1 -1
- package/source/TileImage.js +21 -43
- package/source/TileJSON.d.ts +2 -2
- package/source/TileJSON.d.ts.map +1 -1
- package/source/TileJSON.js +1 -1
- package/source/TileWMS.d.ts +2 -2
- package/source/TileWMS.d.ts.map +1 -1
- package/source/TileWMS.js +3 -4
- package/source/UTFGrid.d.ts +5 -3
- package/source/UTFGrid.d.ts.map +1 -1
- package/source/UTFGrid.js +7 -8
- package/source/UrlTile.d.ts +16 -13
- package/source/UrlTile.d.ts.map +1 -1
- package/source/UrlTile.js +13 -7
- package/source/Vector.d.ts +10 -10
- package/source/Vector.d.ts.map +1 -1
- package/source/Vector.js +8 -5
- package/source/VectorEventType.d.ts +1 -1
- package/source/VectorTile.d.ts +8 -20
- package/source/VectorTile.d.ts.map +1 -1
- package/source/VectorTile.js +16 -85
- package/source/WMTS.d.ts +3 -3
- package/source/WMTS.d.ts.map +1 -1
- package/source/WMTS.js +5 -4
- package/source/XYZ.d.ts +14 -17
- package/source/XYZ.d.ts.map +1 -1
- package/source/XYZ.js +8 -8
- package/source/Zoomify.d.ts +5 -4
- package/source/Zoomify.d.ts.map +1 -1
- package/source/Zoomify.js +5 -2
- package/source/arcgisRest.d.ts +4 -4
- package/source/arcgisRest.d.ts.map +1 -1
- package/source/arcgisRest.js +5 -5
- package/source/mapguide.d.ts +3 -3
- package/source/mapguide.d.ts.map +1 -1
- package/source/mapguide.js +11 -8
- package/source/ogcTileUtil.d.ts +2 -2
- package/source/ogcTileUtil.d.ts.map +1 -1
- package/source/ogcTileUtil.js +7 -7
- package/source/static.d.ts +3 -3
- package/source/static.d.ts.map +1 -1
- package/source/static.js +7 -7
- package/source/wms.d.ts +2 -2
- package/source/wms.d.ts.map +1 -1
- package/source/wms.js +16 -19
- package/source.d.ts +1 -0
- package/source.d.ts.map +1 -1
- package/source.js +1 -0
- package/sphere.d.ts +1 -1
- package/structs/LRUCache.d.ts.map +1 -1
- package/structs/PriorityQueue.d.ts.map +1 -1
- package/structs/RBush.d.ts +10 -32
- package/structs/RBush.d.ts.map +1 -1
- package/structs/RBush.js +9 -12
- package/style/Circle.d.ts +2 -1
- package/style/Circle.d.ts.map +1 -1
- package/style/Circle.js +2 -1
- package/style/Fill.d.ts +3 -3
- package/style/Fill.d.ts.map +1 -1
- package/style/Fill.js +1 -1
- package/style/Icon.d.ts +8 -5
- package/style/Icon.d.ts.map +1 -1
- package/style/Icon.js +21 -0
- package/style/IconImage.d.ts.map +1 -1
- package/style/IconImage.js +3 -2
- package/style/IconImageCache.d.ts.map +1 -1
- package/style/Image.d.ts +3 -3
- package/style/Image.d.ts.map +1 -1
- package/style/RegularShape.d.ts +11 -5
- package/style/RegularShape.d.ts.map +1 -1
- package/style/RegularShape.js +23 -5
- package/style/Stroke.d.ts.map +1 -1
- package/style/Style.d.ts +5 -5
- package/style/Style.d.ts.map +1 -1
- package/style/Style.js +2 -2
- package/style/Text.d.ts +2 -2
- package/style/Text.d.ts.map +1 -1
- package/style/flat.d.ts.map +1 -1
- package/style/webgl.d.ts.map +1 -1
- package/tilecoord.d.ts +7 -0
- package/tilecoord.d.ts.map +1 -1
- package/tilecoord.js +11 -1
- package/tilegrid/TileGrid.d.ts +1 -1
- package/tilegrid/TileGrid.d.ts.map +1 -1
- package/tilegrid/WMTS.d.ts.map +1 -1
- package/tilegrid/WMTS.js +1 -1
- package/tileurlfunction.d.ts +3 -7
- package/tileurlfunction.d.ts.map +1 -1
- package/tileurlfunction.js +14 -47
- package/transform.d.ts +15 -15
- package/transform.d.ts.map +1 -1
- package/uri.d.ts +23 -3
- package/uri.d.ts.map +1 -1
- package/uri.js +75 -0
- package/util.d.ts.map +1 -1
- package/util.js +1 -1
- package/vec/mat4.d.ts.map +1 -1
- package/webgl/BaseTileRepresentation.d.ts +3 -3
- package/webgl/BaseTileRepresentation.d.ts.map +1 -1
- package/webgl/BaseTileRepresentation.js +9 -2
- package/webgl/Buffer.d.ts.map +1 -1
- package/webgl/Helper.d.ts.map +1 -1
- package/webgl/Helper.js +1 -0
- package/webgl/PostProcessingPass.d.ts +48 -12
- package/webgl/PostProcessingPass.d.ts.map +1 -1
- package/webgl/PostProcessingPass.js +42 -6
- package/webgl/RenderTarget.d.ts.map +1 -1
- package/webgl/ShaderBuilder.d.ts +1 -1
- package/webgl/TileGeometry.d.ts.map +1 -1
- package/webgl/TileGeometry.js +4 -1
- package/webgl/TileTexture.d.ts.map +1 -1
- package/webgl/TileTexture.js +14 -8
- package/webgl/styleparser.d.ts.map +1 -1
- package/webgl/styleparser.js +54 -66
- package/webgl.d.ts.map +1 -1
- package/worker/webgl.js +1 -1
- package/xml.d.ts.map +1 -1
- package/xml.js +27 -39
- package/source/SentinelHub.d.ts +0 -507
- package/source/SentinelHub.d.ts.map +0 -1
- package/source/SentinelHub.js +0 -616
- package/structs/LinkedList.d.ts +0 -130
- package/structs/LinkedList.d.ts.map +0 -1
- package/structs/LinkedList.js +0 -259
package/reproj/Image.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["Image.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["Image.js"],"names":[],"mappings":";2BAwBa,CAAS,IAA6B,EAA7B,OAAO,cAAc,EAAE,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,KAAI,OAAO,aAAa,EAAE,OAAO;AADpG;;GAEG;AAEH;;;;GAIG;AACH;IACE;;;;;;;;;OASG;IACH,wBATW,OAAO,uBAAuB,EAAE,OAAO,cACvC,OAAO,uBAAuB,EAAE,OAAO,gBACvC,OAAO,cAAc,EAAE,MAAM,oBAC7B,MAAM,cACN,MAAM,oBACN,YAAY,eAEZ,OAAO,EAmHjB;IA3DC;;;OAGG;IACH,oBAA6B;IAE7B;;;OAGG;IACH,yBAAuC;IAEvC;;;OAGG;IACH,uBAAmC;IAEnC;;;OAGG;IACH,0BAAyC;IAEzC;;;OAGG;IACH,sBAAiC;IAEjC;;;OAGG;IACH,qBAA+B;IAE/B;;;OAGG;IACH,0BAAyC;IAEzC;;;OAGG;IACH,qBAA+B;IAE/B;;;OAGG;IACH,gBAAmB;IAEnB;;;OAGG;IACH,2BAA8B;IAchC;;;OAGG;IACH,qBAHY,iBAAiB,CAK5B;IAED;;OAEG;IACH,iBAFY,OAAO,uBAAuB,EAAE,OAAO,CAIlD;IAED;;OAEG;IACH,mBA4BC;IAkCD;;OAEG;IACH,wBAOC;CACF;yBA7PwB,aAAa"}
|
package/reproj/Image.js
CHANGED
|
@@ -158,6 +158,7 @@ class ReprojImage extends ImageWrapper {
|
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Clean up.
|
|
161
|
+
* @override
|
|
161
162
|
*/
|
|
162
163
|
disposeInternal() {
|
|
163
164
|
if (this.state == ImageState.LOADING) {
|
|
@@ -168,6 +169,7 @@ class ReprojImage extends ImageWrapper {
|
|
|
168
169
|
|
|
169
170
|
/**
|
|
170
171
|
* @return {HTMLCanvasElement} Image.
|
|
172
|
+
* @override
|
|
171
173
|
*/
|
|
172
174
|
getImage() {
|
|
173
175
|
return this.canvas_;
|
|
@@ -215,6 +217,7 @@ class ReprojImage extends ImageWrapper {
|
|
|
215
217
|
|
|
216
218
|
/**
|
|
217
219
|
* Load not yet loaded URI.
|
|
220
|
+
* @override
|
|
218
221
|
*/
|
|
219
222
|
load() {
|
|
220
223
|
if (this.state == ImageState.IDLE) {
|
|
@@ -228,7 +231,7 @@ class ReprojImage extends ImageWrapper {
|
|
|
228
231
|
this.sourceListenerKey_ = listen(
|
|
229
232
|
this.sourceImage_,
|
|
230
233
|
EventType.CHANGE,
|
|
231
|
-
|
|
234
|
+
(e) => {
|
|
232
235
|
const sourceState = this.sourceImage_.getState();
|
|
233
236
|
if (
|
|
234
237
|
sourceState == ImageState.LOADED ||
|
|
@@ -238,7 +241,6 @@ class ReprojImage extends ImageWrapper {
|
|
|
238
241
|
this.reproject_();
|
|
239
242
|
}
|
|
240
243
|
},
|
|
241
|
-
this,
|
|
242
244
|
);
|
|
243
245
|
this.sourceImage_.load();
|
|
244
246
|
}
|
package/reproj/Tile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["Tile.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["Tile.js"],"names":[],"mappings":";2BAoBa,CAAS,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,KAAI,CAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC;;;;;UAK7E,OAAO,iBAAiB,EAAE,OAAO;;;;YACjC,MAAM;;AAPpB;;GAEG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH;IACE;;;;;;;;;;;;;;OAcG;IACH,wBAdW,OAAO,uBAAuB,EAAE,OAAO,kBACvC,OAAO,yBAAyB,EAAE,OAAO,cACzC,OAAO,uBAAuB,EAAE,OAAO,kBACvC,OAAO,yBAAyB,EAAE,OAAO,aACzC,OAAO,iBAAiB,EAAE,SAAS,oBACnC,OAAO,iBAAiB,EAAE,SAAS,cACnC,MAAM,UACN,MAAM,mBACN,YAAY,8HAuNtB;IAjMC;;;OAGG;IACH,qBAAmE;IAEnE;;;OAGG;IACH,oBAA6B;IAE7B;;;OAGG;IACH,gBAAqB;IAErB;;;OAGG;IACH,gBAAmB;IAEnB;;;OAGG;IACH,wBAAqC;IAErC;;;OAGG;IACH,wBAAqC;IAErC;;;OAGG;IACH,0BAAwE;IAExE;;;OAGG;IACH,qBAAsB;IAEtB;;;OAGG;IACH,6BAAgC;IAEhC;;;OAGG;IACH,iBAAiB;IAEjB;;;OAGG;IACH,oBAEa;IAiDb;;;OAGG;IACH,uBAOC;IAqEH;;;OAGG;IACH,YAFY,iBAAiB,CAI5B;IAED;;OAEG;IACH,mBAwDC;IAmDD;;OAEG;IACH,yBAGC;CAcF;iBA1YgB,YAAY"}
|
package/reproj/Tile.js
CHANGED
|
@@ -331,6 +331,7 @@ class ReprojTile extends Tile {
|
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
333
|
* Load not yet loaded URI.
|
|
334
|
+
* @override
|
|
334
335
|
*/
|
|
335
336
|
load() {
|
|
336
337
|
if (this.state == TileState.IDLE) {
|
|
@@ -345,26 +346,21 @@ class ReprojTile extends Tile {
|
|
|
345
346
|
if (state == TileState.IDLE || state == TileState.LOADING) {
|
|
346
347
|
leftToLoad++;
|
|
347
348
|
|
|
348
|
-
const sourceListenKey = listen(
|
|
349
|
-
tile
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
) {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
if (leftToLoad === 0) {
|
|
361
|
-
this.unlistenSources_();
|
|
362
|
-
this.reproject_();
|
|
363
|
-
}
|
|
349
|
+
const sourceListenKey = listen(tile, EventType.CHANGE, (e) => {
|
|
350
|
+
const state = tile.getState();
|
|
351
|
+
if (
|
|
352
|
+
state == TileState.LOADED ||
|
|
353
|
+
state == TileState.ERROR ||
|
|
354
|
+
state == TileState.EMPTY
|
|
355
|
+
) {
|
|
356
|
+
unlistenByKey(sourceListenKey);
|
|
357
|
+
leftToLoad--;
|
|
358
|
+
if (leftToLoad === 0) {
|
|
359
|
+
this.unlistenSources_();
|
|
360
|
+
this.reproject_();
|
|
364
361
|
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
);
|
|
362
|
+
}
|
|
363
|
+
});
|
|
368
364
|
this.sourcesListenerKeys_.push(sourceListenKey);
|
|
369
365
|
}
|
|
370
366
|
});
|
|
@@ -392,6 +388,7 @@ class ReprojTile extends Tile {
|
|
|
392
388
|
|
|
393
389
|
/**
|
|
394
390
|
* Remove from the cache due to expiry
|
|
391
|
+
* @override
|
|
395
392
|
*/
|
|
396
393
|
release() {
|
|
397
394
|
if (this.canvas_) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Triangulation.d.ts","sourceRoot":"","sources":["Triangulation.js"],"names":[],"mappings":";;;;;;;;YAqBc,
|
|
1
|
+
{"version":3,"file":"Triangulation.d.ts","sourceRoot":"","sources":["Triangulation.js"],"names":[],"mappings":";;;;;;;;YAqBc,KAAK,CAAC,OAAO,kBAAkB,EAAE,UAAU,CAAC;;;;YAC5C,KAAK,CAAC,OAAO,kBAAkB,EAAE,UAAU,CAAC;;AAsB1D;;;;GAIG;AACH;IACE;;;;;;;OAOG;IACH,wBAPW,OAAO,uBAAuB,EAAE,OAAO,cACvC,OAAO,uBAAuB,EAAE,OAAO,gBACvC,OAAO,cAAc,EAAE,MAAM,mBAC7B,OAAO,cAAc,EAAE,MAAM,kBAC7B,MAAM,yBACL,MAAM,OAAA,EAkMjB;IAxLC;;;OAGG;IACH,oBAA6B;IAE7B;;;OAGG;IACH,oBAA6B;IAM7B;;;;OAIG;IACH,sBAMC;IAED;;;OAGG;IACH,yBAAuC;IAEvC;;;OAGG;IACH,+BAA6D;IAE7D;;;OAGG;IACH,mBAAoB;IAEpB;;;;OAIG;IACH,wBAA4B;IAE5B;;;OAGG;IACH,0BAIqE;IAErE;;;OAGG;IACH,0BAEQ;IAER;;;OAGG;IACH,0BAEQ;IA4GV;;;;;;;;;OASG;IACH,qBAKC;IAED;;;;;;;;;;;;;;;OAeG;IACH,iBA4LC;IAED;;;;OAIG;IACH,yBAFY,OAAO,cAAc,EAAE,MAAM,CAaxC;IAED;;OAEG;IACH,gBAFY,KAAK,CAAC,QAAQ,CAAC,CAI1B;CACF"}
|
package/reproj.d.ts
CHANGED
package/reproj.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reproj.d.ts","sourceRoot":"","sources":["reproj.js"],"names":[],"mappings":"AA2FA;;;;;;;;;;;GAWG;AACH,sDANW,OAAO,sBAAsB,EAAE,OAAO,cACtC,OAAO,sBAAsB,EAAE,OAAO,gBACtC,OAAO,iBAAiB,EAAE,UAAU,oBACpC,MAAM,GACL,MAAM,CAyCjB;AAED;;;;;;;;;;;GAWG;AACH,4DANW,OAAO,sBAAsB,EAAE,OAAO,cACtC,OAAO,sBAAsB,EAAE,OAAO,gBACtC,OAAO,aAAa,EAAE,MAAM,oBAC5B,MAAM,GACL,MAAM,CA6BjB;AAED;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,8BAhBW,MAAM,UACN,MAAM,cACN,MAAM,oBACN,MAAM,gBACN,OAAO,aAAa,EAAE,MAAM,oBAC5B,MAAM,gBACN,OAAO,aAAa,EAAE,MAAM,iBAC5B,OAAO,2BAA2B,EAAE,OAAO,WAC3C,
|
|
1
|
+
{"version":3,"file":"reproj.d.ts","sourceRoot":"","sources":["reproj.js"],"names":[],"mappings":"AA2FA;;;;;;;;;;;GAWG;AACH,sDANW,OAAO,sBAAsB,EAAE,OAAO,cACtC,OAAO,sBAAsB,EAAE,OAAO,gBACtC,OAAO,iBAAiB,EAAE,UAAU,oBACpC,MAAM,GACL,MAAM,CAyCjB;AAED;;;;;;;;;;;GAWG;AACH,4DANW,OAAO,sBAAsB,EAAE,OAAO,cACtC,OAAO,sBAAsB,EAAE,OAAO,gBACtC,OAAO,aAAa,EAAE,MAAM,oBAC5B,MAAM,GACL,MAAM,CA6BjB;AAED;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,8BAhBW,MAAM,UACN,MAAM,cACN,MAAM,oBACN,MAAM,gBACN,OAAO,aAAa,EAAE,MAAM,oBAC5B,MAAM,gBACN,OAAO,aAAa,EAAE,MAAM,iBAC5B,OAAO,2BAA2B,EAAE,OAAO,WAC3C,KAAK,CAAC,WAAW,CAAC,UAClB,MAAM,6IAKL,iBAAiB,CAuR5B;AArdD;;GAEG;AACH,yBAFU,KAAK,CAAC,iBAAiB,CAAC,CAEL;;;;;YAqKf,OAAO,aAAa,EAAE,MAAM;;;;;;;;WAE5B,OAAO,eAAe,EAAE,SAAS"}
|
package/resolution.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolution.d.ts","sourceRoot":"","sources":["resolution.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AAEH;;;GAGG;AACH,+CAHW,cAAc,GACb,MAAM,CAOjB;6BAZY,MAAM,GAAC,
|
|
1
|
+
{"version":3,"file":"resolution.d.ts","sourceRoot":"","sources":["resolution.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AAEH;;;GAGG;AACH,+CAHW,cAAc,GACb,MAAM,CAOjB;6BAZY,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolutionconstraint.d.ts","sourceRoot":"","sources":["resolutionconstraint.js"],"names":[],"mappings":"AAgEA;;;;;;GAMG;AACH,qDANW,
|
|
1
|
+
{"version":3,"file":"resolutionconstraint.d.ts","sourceRoot":"","sources":["resolutionconstraint.js"],"names":[],"mappings":"AAgEA;;;;;;GAMG;AACH,qDANW,KAAK,CAAC,MAAM,CAAC,6HAIZ,IAAI,CAoDf;AAED;;;;;;;;GAQG;AACH,yCARW,MAAM,iBACN,MAAM,iKAKL,IAAI,CA4Df;AAED;;;;;;;GAOG;AACH,sDAPW,MAAM,iBACN,MAAM,6HAIL,IAAI,CA0Cf;mBAxOY,CAAS,IAAkB,EAAlB,CAAC,MAAM,GAAC,SAAS,CAAC,EAAE,IAAM,EAAN,MAAM,EAAE,IAAwB,EAAxB,OAAO,WAAW,EAAE,IAAI,EAAE,IAAQ,EAAR,OAAO,YAAC,KAAG,CAAC,MAAM,GAAC,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rotationconstraint.d.ts","sourceRoot":"","sources":["rotationconstraint.js"],"names":[],"mappings":"AAKA;;GAEG;AAEH;;;GAGG;AACH,kCAHW,MAAM,GAAC,SAAS,GACf,MAAM,GAAC,SAAS,CAO3B;AAED;;;GAGG;AACH,+BAHW,MAAM,GAAC,SAAS,GACf,MAAM,GAAC,SAAS,CAO3B;AAED;;;GAGG;AACH,iCAHW,MAAM,GACL,IAAI,CAsBf;AAED;;;GAGG;AACH,kEAFY,IAAI,CAqBf;
|
|
1
|
+
{"version":3,"file":"rotationconstraint.d.ts","sourceRoot":"","sources":["rotationconstraint.js"],"names":[],"mappings":"AAKA;;GAEG;AAEH;;;GAGG;AACH,kCAHW,MAAM,GAAC,SAAS,GACf,MAAM,GAAC,SAAS,CAO3B;AAED;;;GAGG;AACH,+BAHW,MAAM,GAAC,SAAS,GACf,MAAM,GAAC,SAAS,CAO3B;AAED;;;GAGG;AACH,iCAHW,MAAM,GACL,IAAI,CAsBf;AAED;;;GAGG;AACH,kEAFY,IAAI,CAqBf;mBA1EY,CAAS,IAAkB,EAAlB,CAAC,MAAM,GAAC,SAAS,CAAC,EAAE,IAAQ,EAAR,OAAO,YAAC,KAAG,CAAC,MAAM,GAAC,SAAS,CAAC"}
|
package/size.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["size.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AACH,
|
|
1
|
+
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["size.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AACH,6BALW,IAAI,OACJ,MAAM,4BAEL,IAAI,CASf;AAED;;;;GAIG;AACH,8BAHW,IAAI,GACH,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,4BALW,IAAI,SACJ,MAAM,4BAEL,IAAI,CASf;AAED;;;;;;;;GAQG;AACH,6BALW,MAAM,GAAC,IAAI,4BAEV,IAAI,CAcf;;;;mBAjEY,KAAK,CAAC,MAAM,CAAC"}
|
package/source/BingMaps.d.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @param {import('../tilecoord.js').TileCoord} tileCoord Tile coord.
|
|
3
3
|
* @return {string} Quad key.
|
|
4
4
|
*/
|
|
5
|
-
export function quadKey(tileCoord: import(
|
|
5
|
+
export function quadKey(tileCoord: import("../tilecoord.js").TileCoord): string;
|
|
6
6
|
export default BingMaps;
|
|
7
7
|
export type Options = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Deprecated. Use the cacheSize option on the layer instead.
|
|
10
10
|
*/
|
|
11
11
|
cacheSize?: number | undefined;
|
|
12
12
|
/**
|
|
@@ -149,7 +149,7 @@ export type CoverageArea = {
|
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
151
151
|
* @typedef {Object} Options
|
|
152
|
-
* @property {number} [cacheSize]
|
|
152
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
153
153
|
* @property {boolean} [hidpi=false] If `true` hidpi tiles will be requested.
|
|
154
154
|
* @property {string} [culture='en-us'] Culture code.
|
|
155
155
|
* @property {string} key Bing Maps API key. Get yours at https://www.bingmapsportal.com/.
|
package/source/BingMaps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BingMaps.d.ts","sourceRoot":"","sources":["BingMaps.js"],"names":[],"mappings":"AAWA;;;GAGG;AACH,mCAHW,OAAO,iBAAiB,EAAE,SAAS,GAClC,MAAM,CAoBjB;;;;;;;;;;;;;;;;;;SAkBa,MAAM;;;;gBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBN,MAAM;;;;uBACN,MAAM;;;;8BACN,MAAM;;;;kBACN,
|
|
1
|
+
{"version":3,"file":"BingMaps.d.ts","sourceRoot":"","sources":["BingMaps.js"],"names":[],"mappings":"AAWA;;;GAGG;AACH,mCAHW,OAAO,iBAAiB,EAAE,SAAS,GAClC,MAAM,CAoBjB;;;;;;;;;;;;;;;;;;SAkBa,MAAM;;;;gBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBN,MAAM;;;;uBACN,MAAM;;;;8BACN,MAAM;;;;kBACN,KAAK,CAAC,WAAW,CAAC;;;;;;eAKlB,KAAK,CAAC,QAAQ,CAAC;;;;;;iBAKf,MAAM;;;;gBACN,MAAM;;;;aACN,MAAM;;;;aACN,MAAM;;;;cACN,MAAM;;;;wBACN,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;mBAMb,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;aAMnB,MAAM;;;;aACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,CAAC;;AA/D3B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH;;;;;;GAMG;AAEH;;;GAGG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAkEjB;IA/CC;;;OAGG;IACH,eAAmB;IAEnB;;;OAGG;IACH,iBAAyE;IAEzE;;;OAGG;IACH,iBAAoE;IAEpE;;;OAGG;IACH,gBAA0B;IAE1B;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,0BAAiD;IAenD;;;;;OAKG;IACH,aAHY,MAAM,CAKjB;IAED;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED;;OAEG;IACH,wCAFW,+BAA+B,QA4HzC;CACF;sBAzUqB,gBAAgB"}
|
package/source/BingMaps.js
CHANGED
|
@@ -46,7 +46,7 @@ const TOS_ATTRIBUTION =
|
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* @typedef {Object} Options
|
|
49
|
-
* @property {number} [cacheSize]
|
|
49
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
50
50
|
* @property {boolean} [hidpi=false] If `true` hidpi tiles will be requested.
|
|
51
51
|
* @property {string} [culture='en-us'] Culture code.
|
|
52
52
|
* @property {string} key Bing Maps API key. Get yours at https://www.bingmapsportal.com/.
|
|
@@ -126,7 +126,6 @@ class BingMaps extends TileImage {
|
|
|
126
126
|
cacheSize: options.cacheSize,
|
|
127
127
|
crossOrigin: 'anonymous',
|
|
128
128
|
interpolate: options.interpolate,
|
|
129
|
-
opaque: true,
|
|
130
129
|
projection: getProjection('EPSG:3857'),
|
|
131
130
|
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
|
132
131
|
state: 'loading',
|
package/source/CartoDB.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type Options = {
|
|
|
5
5
|
*/
|
|
6
6
|
attributions?: import("./Source.js").AttributionLike | undefined;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Deprecated. Use the cacheSize option on the layer instead.
|
|
9
9
|
*/
|
|
10
10
|
cacheSize?: number | undefined;
|
|
11
11
|
/**
|
|
@@ -75,7 +75,7 @@ export type CartoDBLayerInfo = {
|
|
|
75
75
|
/**
|
|
76
76
|
* @typedef {Object} Options
|
|
77
77
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
78
|
-
* @property {number} [cacheSize]
|
|
78
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
79
79
|
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
80
80
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
81
81
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
package/source/CartoDB.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartoDB.d.ts","sourceRoot":"","sources":["CartoDB.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;iBAac,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuBnC,MAAM;;;;aACN;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC;;AA/B7B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAwCjB;IAzBC;;;OAGG;IACH,iBAA+B;IAE/B;;;OAGG;IACH,eAA+B;IAE/B;;;OAGG;IACH,gBAAmC;IAEnC;;;OAGG;IACH,uBAAwB;IAK1B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"CartoDB.d.ts","sourceRoot":"","sources":["CartoDB.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;iBAac,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuBnC,MAAM;;;;aACN;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC;;AA/B7B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAwCjB;IAzBC;;;OAGG;IACH,iBAA+B;IAE/B;;;OAGG;IACH,eAA+B;IAE/B;;;OAGG;IACH,gBAAmC;IAEnC;;;OAGG;IACH,uBAAwB;IAK1B;;;;OAIG;IACH,aAHY,GAAO,CAKlB;IAED;;;;;OAKG;IACH,gCAGC;IAED;;;;;;OAMG;IACH,6BAGC;IAED;;;OAGG;IACH,uBAqBC;IAED;;;;;;OAMG;IACH,4BAmBC;IAED;;;OAGG;IACH,yBAEC;IAED;;;;OAIG;IACH,uBAUC;CACF;gBApMe,UAAU"}
|
package/source/CartoDB.js
CHANGED
|
@@ -7,7 +7,7 @@ import XYZ from './XYZ.js';
|
|
|
7
7
|
/**
|
|
8
8
|
* @typedef {Object} Options
|
|
9
9
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
10
|
-
* @property {number} [cacheSize]
|
|
10
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
11
11
|
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
12
12
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
13
13
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
package/source/Cluster.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
18
18
|
*/
|
|
19
19
|
minDistance?: number | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* Function that takes
|
|
21
|
+
* Function that takes a {@link module :ol/Feature~Feature} as argument and returns a
|
|
22
22
|
* {@link module :ol/geom/Point~Point} as cluster calculation point for the feature. When a
|
|
23
23
|
* feature should not be considered for clustering, the function should return
|
|
24
24
|
* `null`. The default, which works when the underlying source contains point
|
|
@@ -31,7 +31,7 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
31
31
|
* See {@link module :ol/geom/Polygon~Polygon#getInteriorPoint} for a way to get a cluster
|
|
32
32
|
* calculation point for polygons.
|
|
33
33
|
*/
|
|
34
|
-
geometryFunction?: ((arg0: FeatureType) => (Point)) | undefined;
|
|
34
|
+
geometryFunction?: ((arg0: FeatureType) => (Point | null)) | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Function that takes the cluster's center {@link module :ol/geom/Point~Point} and an array
|
|
37
37
|
* of {@link module :ol/Feature~Feature} included in this cluster. Must return a
|
|
@@ -66,8 +66,8 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
66
66
|
* By default no minimum distance is guaranteed. This config can be used to avoid
|
|
67
67
|
* overlapping icons. As a tradoff, the cluster feature's position will no longer be
|
|
68
68
|
* the center of all its features.
|
|
69
|
-
* @property {function(FeatureType):(Point)} [geometryFunction]
|
|
70
|
-
* Function that takes
|
|
69
|
+
* @property {function(FeatureType):(Point|null)} [geometryFunction]
|
|
70
|
+
* Function that takes a {@link module:ol/Feature~Feature} as argument and returns a
|
|
71
71
|
* {@link module:ol/geom/Point~Point} as cluster calculation point for the feature. When a
|
|
72
72
|
* feature should not be considered for clustering, the function should return
|
|
73
73
|
* `null`. The default, which works when the underlying source contains point
|
|
@@ -142,7 +142,7 @@ declare class Cluster<FeatureType extends import("../Feature.js").FeatureLike> e
|
|
|
142
142
|
* @return {Point} Cluster calculation point.
|
|
143
143
|
* @protected
|
|
144
144
|
*/
|
|
145
|
-
protected geometryFunction: (arg0: FeatureType) => (Point);
|
|
145
|
+
protected geometryFunction: (arg0: FeatureType) => (Point | null);
|
|
146
146
|
/**
|
|
147
147
|
* @type {function(Point, Array<FeatureType>):Feature}
|
|
148
148
|
* @private
|
package/source/Cluster.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cluster.d.ts","sourceRoot":"","sources":["Cluster.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cluster.d.ts","sourceRoot":"","sources":["Cluster.js"],"names":[],"mappings":";oBAmBmD,WAAW,SAAjD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAU3B,WAAW,KAAE,CAAC,KAAK,GAAC,IAAI,CAAC;;;;;;;;;;;;;;4BAazB,KAAK,QAAE,KAAK,CAAC,WAAW,CAAC,KAAE,OAAO;;;;;;;;;;AAxBzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH;;;;;;;;;;;;GAYG;AACH,sBAHmD,WAAW,SAAjD,OAAQ,eAAe,EAAE,WAAY;IAIhD;;OAEG;IACH,wDAwEC;IAjEC;;;OAGG;IACH,sBAHU,MAAM,GAAC,SAAS,CAGC;IAE3B;;;OAGG;IACH,oBAHU,MAAM,CAGsD;IAEtE;;;OAGG;IACH,uBAHU,MAAM,CAG2B;IAE3C;;;OAGG;IACH,8BAHU,MAAM,CAGW;IAE3B;;;OAGG;IACH,oBAHU,KAAK,CAAC,OAAO,CAAC,CAGN;IAElB;;;;OAIG;IACH,mDAxFgC,CAAC,KAAK,GAAC,IAAI,CAAC,CAiGzC;IAEH;;;OAGG;IACH,6BAAiD;IAEjD;;;OAGG;IACH,kBAHU,YAAY,CAAC,WAAW,CAAC,GAAC,IAAI,CAGtB;IAElB;;OAEG;IACH,sBAA4C;IAiB9C;;;;OAIG;IACH,eAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,aAHY,YAAY,CAAC,WAAW,CAAC,GAAC,IAAI,CAKzC;IAgBD;;;;OAIG;IACH,sBAHW,MAAM,QAKhB;IAED;;;;;OAKG;IACH,4BAHW,MAAM,QAKhB;IAED;;;;OAIG;IACH,kBAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,kBAHW,YAAY,CAAC,WAAW,CAAC,GAAC,IAAI,QAYxC;IAYD;;;;OAIG;IACH,yBAHW,MAAM,eACN,MAAM,QAahB;IAED;;OAEG;IACH,0BAkCC;IAED;;;;;OAKG;IACH,kCALW,KAAK,CAAC,WAAW,CAAC,UAClB,OAAO,cAAc,EAAE,MAAM,GAC5B,OAAO,CA2BlB;CACF;kBAxUiB,kBAAkB;oBADhB,eAAe;yBAEV,aAAa"}
|
package/source/Cluster.js
CHANGED
|
@@ -27,8 +27,8 @@ import {getUid} from '../util.js';
|
|
|
27
27
|
* By default no minimum distance is guaranteed. This config can be used to avoid
|
|
28
28
|
* overlapping icons. As a tradoff, the cluster feature's position will no longer be
|
|
29
29
|
* the center of all its features.
|
|
30
|
-
* @property {function(FeatureType):(Point)} [geometryFunction]
|
|
31
|
-
* Function that takes
|
|
30
|
+
* @property {function(FeatureType):(Point|null)} [geometryFunction]
|
|
31
|
+
* Function that takes a {@link module:ol/Feature~Feature} as argument and returns a
|
|
32
32
|
* {@link module:ol/geom/Point~Point} as cluster calculation point for the feature. When a
|
|
33
33
|
* feature should not be considered for clustering, the function should return
|
|
34
34
|
* `null`. The default, which works when the underlying source contains point
|
|
@@ -151,6 +151,7 @@ class Cluster extends VectorSource {
|
|
|
151
151
|
* Remove all features from the source.
|
|
152
152
|
* @param {boolean} [fast] Skip dispatching of {@link module:ol/source/VectorEventType~VectorEventType#removefeature} events.
|
|
153
153
|
* @api
|
|
154
|
+
* @override
|
|
154
155
|
*/
|
|
155
156
|
clear(fast) {
|
|
156
157
|
this.features.length = 0;
|
|
@@ -179,6 +180,7 @@ class Cluster extends VectorSource {
|
|
|
179
180
|
* @param {import("../extent.js").Extent} extent Extent.
|
|
180
181
|
* @param {number} resolution Resolution.
|
|
181
182
|
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
183
|
+
* @override
|
|
182
184
|
*/
|
|
183
185
|
loadFeatures(extent, resolution, projection) {
|
|
184
186
|
this.source?.loadFeatures(extent, resolution, projection);
|
|
@@ -234,6 +236,7 @@ class Cluster extends VectorSource {
|
|
|
234
236
|
|
|
235
237
|
/**
|
|
236
238
|
* Handle the source changing.
|
|
239
|
+
* @override
|
|
237
240
|
*/
|
|
238
241
|
refresh() {
|
|
239
242
|
this.clear();
|
package/source/DataTile.d.ts
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
export default DataTileSource;
|
|
2
|
+
export type CrossOriginAttribute = "anonymous" | "use-credentials";
|
|
3
|
+
export type LoaderOptions = {
|
|
4
|
+
/**
|
|
5
|
+
* An abort controller signal.
|
|
6
|
+
*/
|
|
7
|
+
signal: AbortSignal;
|
|
8
|
+
/**
|
|
9
|
+
* The cross-origin attribute for images.
|
|
10
|
+
*/
|
|
11
|
+
crossOrigin?: CrossOriginAttribute | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The maximum y coordinate at the given z level. Will be undefined if the
|
|
14
|
+
* underlying tile grid does not have a known extent.
|
|
15
|
+
*/
|
|
16
|
+
maxY?: number | undefined;
|
|
17
|
+
};
|
|
2
18
|
/**
|
|
3
19
|
* Data tile loading function. The function is called with z, x, and y tile coordinates and
|
|
4
20
|
* returns {@link import ("../DataTile.js").Data data} for a tile or a promise for the same.
|
|
5
21
|
*/
|
|
6
|
-
export type Loader = (arg0: number, arg1: number, arg2: number) => (import("../DataTile.js").Data | Promise<import("../DataTile.js").Data>);
|
|
22
|
+
export type Loader = (arg0: number, arg1: number, arg2: number, arg3: LoaderOptions) => (import("../DataTile.js").Data | Promise<import("../DataTile.js").Data>);
|
|
7
23
|
export type Options = {
|
|
8
24
|
/**
|
|
9
25
|
* Data loader. Called with z, x, and y tile coordinates.
|
|
@@ -50,10 +66,6 @@ export type Options = {
|
|
|
50
66
|
* Tile grid.
|
|
51
67
|
*/
|
|
52
68
|
tileGrid?: import("../tilegrid.js").TileGrid | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Whether the layer is opaque.
|
|
55
|
-
*/
|
|
56
|
-
opaque?: boolean | undefined;
|
|
57
69
|
/**
|
|
58
70
|
* The source state.
|
|
59
71
|
*/
|
|
@@ -75,11 +87,29 @@ export type Options = {
|
|
|
75
87
|
* the nearest neighbor is used when resampling.
|
|
76
88
|
*/
|
|
77
89
|
interpolate?: boolean | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* The crossOrigin property to pass to loaders for image data.
|
|
92
|
+
*/
|
|
93
|
+
crossOrigin?: CrossOriginAttribute | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Key for use in caching tiles.
|
|
96
|
+
*/
|
|
97
|
+
key?: string | undefined;
|
|
78
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* @typedef {'anonymous'|'use-credentials'} CrossOriginAttribute
|
|
101
|
+
*/
|
|
102
|
+
/**
|
|
103
|
+
* @typedef {Object} LoaderOptions
|
|
104
|
+
* @property {AbortSignal} signal An abort controller signal.
|
|
105
|
+
* @property {CrossOriginAttribute} [crossOrigin] The cross-origin attribute for images.
|
|
106
|
+
* @property {number} [maxY] The maximum y coordinate at the given z level. Will be undefined if the
|
|
107
|
+
* underlying tile grid does not have a known extent.
|
|
108
|
+
*/
|
|
79
109
|
/**
|
|
80
110
|
* Data tile loading function. The function is called with z, x, and y tile coordinates and
|
|
81
111
|
* returns {@link import("../DataTile.js").Data data} for a tile or a promise for the same.
|
|
82
|
-
* @typedef {function(number, number, number) : (import("../DataTile.js").Data|Promise<import("../DataTile.js").Data>)} Loader
|
|
112
|
+
* @typedef {function(number, number, number, LoaderOptions) : (import("../DataTile.js").Data|Promise<import("../DataTile.js").Data>)} Loader
|
|
83
113
|
*/
|
|
84
114
|
/**
|
|
85
115
|
* @typedef {Object} Options
|
|
@@ -98,22 +128,25 @@ export type Options = {
|
|
|
98
128
|
* @property {number} [maxResolution] Optional tile grid resolution at level zero. Not used if `tileGrid` is provided.
|
|
99
129
|
* @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Tile projection.
|
|
100
130
|
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
|
|
101
|
-
* @property {boolean} [opaque=false] Whether the layer is opaque.
|
|
102
131
|
* @property {import("./Source.js").State} [state] The source state.
|
|
103
132
|
* @property {boolean} [wrapX=false] Render tiles beyond the antimeridian.
|
|
104
133
|
* @property {number} [transition] Transition time when fading in new tiles (in milliseconds).
|
|
105
134
|
* @property {number} [bandCount=4] Number of bands represented in the data.
|
|
106
135
|
* @property {boolean} [interpolate=false] Use interpolated values when resampling. By default,
|
|
107
136
|
* the nearest neighbor is used when resampling.
|
|
137
|
+
* @property {CrossOriginAttribute} [crossOrigin='anonymous'] The crossOrigin property to pass to loaders for image data.
|
|
138
|
+
* @property {string} [key] Key for use in caching tiles.
|
|
108
139
|
*/
|
|
109
140
|
/**
|
|
110
141
|
* @classdesc
|
|
111
142
|
* A source for typed array data tiles.
|
|
112
143
|
*
|
|
113
144
|
* @fires import("./Tile.js").TileSourceEvent
|
|
145
|
+
* @template {import("../Tile.js").default} [TileType=DataTile]
|
|
146
|
+
* @extends TileSource<TileType>
|
|
114
147
|
* @api
|
|
115
148
|
*/
|
|
116
|
-
declare class DataTileSource extends TileSource {
|
|
149
|
+
declare class DataTileSource<TileType extends import("../Tile.js").default = DataTile> extends TileSource<TileType> {
|
|
117
150
|
/**
|
|
118
151
|
* @param {Options} options DataTile source options.
|
|
119
152
|
*/
|
|
@@ -161,13 +194,18 @@ declare class DataTileSource extends TileSource {
|
|
|
161
194
|
* @type {!Object<string, import("../TileCache.js").default>}
|
|
162
195
|
*/
|
|
163
196
|
private tileCacheForProjection_;
|
|
197
|
+
/**
|
|
198
|
+
* @private
|
|
199
|
+
* @type {CrossOriginAttribute}
|
|
200
|
+
*/
|
|
201
|
+
private crossOrigin_;
|
|
164
202
|
/**
|
|
165
203
|
* Set the source tile sizes. The length of the array is expected to match the number of
|
|
166
204
|
* levels in the tile grid.
|
|
167
205
|
* @protected
|
|
168
206
|
* @param {Array<import('../size.js').Size>} tileSizes An array of tile sizes.
|
|
169
207
|
*/
|
|
170
|
-
protected setTileSizes(tileSizes: Array<import(
|
|
208
|
+
protected setTileSizes(tileSizes: Array<import("../size.js").Size>): void;
|
|
171
209
|
/**
|
|
172
210
|
* Get the source tile size at the given zoom level. This may be different than the rendered tile
|
|
173
211
|
* size.
|
|
@@ -175,7 +213,7 @@ declare class DataTileSource extends TileSource {
|
|
|
175
213
|
* @param {number} z Tile zoom level.
|
|
176
214
|
* @return {import('../size.js').Size} The source tile size.
|
|
177
215
|
*/
|
|
178
|
-
protected getTileSize(z: number): import(
|
|
216
|
+
protected getTileSize(z: number): import("../size.js").Size;
|
|
179
217
|
/**
|
|
180
218
|
* @param {Loader} loader The data loader.
|
|
181
219
|
* @protected
|
|
@@ -187,18 +225,9 @@ declare class DataTileSource extends TileSource {
|
|
|
187
225
|
* @param {number} y Tile coordinate y.
|
|
188
226
|
* @param {import("../proj/Projection.js").default} targetProj The output projection.
|
|
189
227
|
* @param {import("../proj/Projection.js").default} sourceProj The input projection.
|
|
190
|
-
* @return {!
|
|
228
|
+
* @return {!TileType} Tile.
|
|
191
229
|
*/
|
|
192
|
-
getReprojTile_(z: number, x: number, y: number, targetProj: import("../proj/Projection.js").default, sourceProj: import("../proj/Projection.js").default):
|
|
193
|
-
/**
|
|
194
|
-
* @param {number} z Tile coordinate z.
|
|
195
|
-
* @param {number} x Tile coordinate x.
|
|
196
|
-
* @param {number} y Tile coordinate y.
|
|
197
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
198
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
199
|
-
* @return {!DataTile} Tile.
|
|
200
|
-
*/
|
|
201
|
-
getTile(z: number, x: number, y: number, pixelRatio: number, projection: import("../proj/Projection.js").default): DataTile;
|
|
230
|
+
getReprojTile_(z: number, x: number, y: number, targetProj: import("../proj/Projection.js").default, sourceProj: import("../proj/Projection.js").default): TileType;
|
|
202
231
|
/**
|
|
203
232
|
* Sets the tile grid to use when reprojecting the tiles to the given
|
|
204
233
|
* projection instead of the default tile grid for the projection.
|
|
@@ -213,6 +242,6 @@ declare class DataTileSource extends TileSource {
|
|
|
213
242
|
*/
|
|
214
243
|
setTileGridForProjection(projection: import("../proj.js").ProjectionLike, tilegrid: import("../tilegrid/TileGrid.js").default): void;
|
|
215
244
|
}
|
|
216
|
-
import TileSource from './Tile.js';
|
|
217
245
|
import DataTile from '../DataTile.js';
|
|
246
|
+
import TileSource from './Tile.js';
|
|
218
247
|
//# sourceMappingURL=DataTile.d.ts.map
|
package/source/DataTile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":";mCAsBa,WAAW,GAAC,iBAAiB;;;;;YAK5B,WAAW;;;;;;;;;;;;;;;qBASZ,CAAS,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAa,EAAb,aAAa,KAAI,CAAC,OAAO,gBAAgB,EAAE,IAAI,GAAC,OAAO,CAAC,OAAO,gBAAgB,EAAE,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBvH,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjCjD;;GAEG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;GAQG;AACH,6BAJ6C,QAAQ,SAAxC,OAAQ,YAAY,EAAE,OAAQ;IAKzC;;OAEG;IACH,qBAFW,OAAO,EAsFjB;IAxDC;;;OAGG;IACH,gBAAgE;IAEhE;;;OAGG;IACH,kBAAmE;IAEnE;;;OAGG;IACH,mBAAsB;IAEtB;;;OAGG;IACH,yBAA0B;IAE1B;;OAEG;IACH,gBAA6B;IAwN/B;;;OAGG;IACH,yBAFW,OAAO,oBAAoB,EAAE,OAAO,QAsB9C;IAzOC;;OAEG;IACH,WAFU,MAAM,CAEwD;IAExE;;;OAGG;IACH,+BAAgC;IAEhC;;;OAGG;IACH,gCAAiC;IAEjC;;;OAGG;IACH,qBAAsD;IAGxD;;;;;OAKG;IACH,kCAFW,KAAK,CAAC,OAAO,YAAY,EAAE,IAAI,CAAC,QAI1C;IAED;;;;;;OAMG;IACH,yBAHW,MAAM,GACL,OAAO,YAAY,EAAE,IAAI,CAWpC;IAgBD;;;OAGG;IACH,4BAHW,MAAM,QAKhB;IAED;;;;;;;OAOG;IACH,kBAPW,MAAM,KACN,MAAM,KACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,cACvC,OAAO,uBAAuB,EAAE,OAAO,GACrC,QAAQ,CAqDpB;IAyHD;;;;;;;;;;;OAWG;IACH,qCAJW,OAAO,YAAY,EAAE,cAAc,YACnC,OAAO,yBAAyB,EAAE,OAAO,QAWnD;CA8CF;qBA1coB,gBAAgB;uBAKK,WAAW"}
|