ol 9.2.5-sh.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +11 -16
- package/VectorRenderTile.d.ts.map +1 -1
- package/VectorRenderTile.js +19 -24
- package/VectorTile.d.ts +20 -17
- package/VectorTile.d.ts.map +1 -1
- package/VectorTile.js +14 -10
- 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 +10 -10
- package/featureloader.d.ts.map +1 -1
- package/featureloader.js +6 -6
- package/format/EsriJSON.d.ts +9 -12
- package/format/EsriJSON.d.ts.map +1 -1
- package/format/EsriJSON.js +7 -0
- package/format/Feature.d.ts +14 -14
- package/format/Feature.d.ts.map +1 -1
- package/format/Feature.js +8 -6
- 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 +25 -17
- 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 -31
- package/format/JSONFeature.d.ts.map +1 -1
- package/format/JSONFeature.js +20 -16
- 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 +19 -20
- 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 -14
- package/format/TextFeature.d.ts.map +1 -1
- package/format/TextFeature.js +8 -0
- package/format/TopoJSON.d.ts +1 -8
- 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 -15
- 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 +9 -8
- 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 +15 -12
- 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 -15
- 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 +7 -6
- package/layer/BaseVector.d.ts.map +1 -1
- package/layer/BaseVector.js +9 -4
- package/layer/Graticule.d.ts +5 -3
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Graticule.js +2 -1
- 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 +16 -10
- package/layer/Heatmap.d.ts.map +1 -1
- package/layer/Heatmap.js +25 -12
- 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 +6 -3
- package/layer/Tile.d.ts.map +1 -1
- package/layer/Tile.js +7 -2
- package/layer/Vector.d.ts +19 -9
- package/layer/Vector.d.ts.map +1 -1
- package/layer/Vector.js +15 -5
- package/layer/VectorImage.d.ts +9 -7
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorImage.js +9 -4
- package/layer/VectorTile.d.ts +50 -15
- package/layer/VectorTile.d.ts.map +1 -1
- package/layer/VectorTile.js +51 -12
- 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 +106 -42
- package/renderer/canvas/TileLayer.d.ts.map +1 -1
- package/renderer/canvas/TileLayer.js +546 -330
- package/renderer/canvas/VectorImageLayer.d.ts +7 -4
- package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorImageLayer.js +10 -3
- package/renderer/canvas/VectorLayer.d.ts +7 -4
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorLayer.js +8 -0
- package/renderer/canvas/VectorTileLayer.d.ts +18 -16
- package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.js +79 -54
- 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 +9 -9
- package/source/OGCVectorTile.d.ts.map +1 -1
- package/source/OGCVectorTile.js +4 -4
- 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 +21 -21
- package/source/Vector.d.ts.map +1 -1
- package/source/Vector.js +16 -13
- package/source/VectorEventType.d.ts +1 -1
- package/source/VectorTile.d.ts +13 -24
- package/source/VectorTile.d.ts.map +1 -1
- package/source/VectorTile.js +19 -87
- 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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ol/source/ImageTile
|
|
3
|
+
*/
|
|
4
|
+
import DataTileSource from './DataTile.js';
|
|
5
|
+
import {expandUrl, pickUrl, renderXYZTemplate} from '../uri.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Image tile loading function. The function is called with z, x, and y tile coordinates and
|
|
9
|
+
* returns an {@link import("../DataTile.js").ImageLike image} or a promise for the same.
|
|
10
|
+
*
|
|
11
|
+
* @typedef {function(number, number, number, import("./DataTile.js").LoaderOptions):(import("../DataTile.js").ImageLike|Promise<import("../DataTile.js").ImageLike>)} Loader
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @typedef {function(number, number, number, import("./DataTile.js").LoaderOptions):string} UrlGetter
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {string | Array<string> | UrlGetter} UrlLike
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @typedef {Object} Options
|
|
24
|
+
* @property {UrlLike} [url] The image URL template. In addition to a single URL template, an array of URL templates or a function
|
|
25
|
+
* can be provided. If a function is provided, it will be called with z, x, y tile coordinates and loader options and should
|
|
26
|
+
* return a URL.
|
|
27
|
+
* @property {Loader} [loader] Data loader. Called with z, x, and y tile coordinates.
|
|
28
|
+
* Returns an {@link import("../DataTile.js").ImageLike image} for a tile or a promise for the same.
|
|
29
|
+
* The promise should not resolve until the image is loaded. If the `url` option is provided, a loader will be created.
|
|
30
|
+
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
31
|
+
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
|
32
|
+
* @property {number} [maxZoom=42] Optional max zoom level. Not used if `tileGrid` is provided.
|
|
33
|
+
* @property {number} [minZoom=0] Optional min zoom level. Not used if `tileGrid` is provided.
|
|
34
|
+
* @property {number|import("../size.js").Size} [tileSize=[256, 256]] The pixel width and height of the source tiles.
|
|
35
|
+
* This may be different than the rendered pixel size if a `tileGrid` is provided.
|
|
36
|
+
* @property {number} [gutter=0] The size in pixels of the gutter around data tiles to ignore.
|
|
37
|
+
* This allows artifacts of rendering at tile edges to be ignored.
|
|
38
|
+
* Supported data should be wider and taller than the tile size by a value of `2 x gutter`.
|
|
39
|
+
* @property {number} [maxResolution] Optional tile grid resolution at level zero. Not used if `tileGrid` is provided.
|
|
40
|
+
* @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Tile projection.
|
|
41
|
+
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
|
|
42
|
+
* @property {import("./Source.js").State} [state] The source state.
|
|
43
|
+
* @property {boolean} [wrapX=true] Render tiles beyond the antimeridian.
|
|
44
|
+
* @property {number} [transition] Transition time when fading in new tiles (in miliseconds).
|
|
45
|
+
* @property {boolean} [interpolate=true] Use interpolated values when resampling.
|
|
46
|
+
* @property {import('./DataTile.js').CrossOriginAttribute} [crossOrigin='anonymous'] The crossOrigin property to pass to loaders for image data.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
const loadError = new Error('Image failed to load');
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @param {string} template The image url template.
|
|
53
|
+
* @param {number} z The tile z coordinate.
|
|
54
|
+
* @param {number} x The tile x coordinate.
|
|
55
|
+
* @param {number} y The tile y coordinate.
|
|
56
|
+
* @param {import('./DataTile.js').LoaderOptions} options The loader options.
|
|
57
|
+
* @return {Promise<HTMLImageElement>} Resolves with a loaded image.
|
|
58
|
+
*/
|
|
59
|
+
function loadImage(template, z, x, y, options) {
|
|
60
|
+
return new Promise((resolve, reject) => {
|
|
61
|
+
const image = new Image();
|
|
62
|
+
image.crossOrigin = options.crossOrigin ?? null;
|
|
63
|
+
image.addEventListener('load', () => resolve(image));
|
|
64
|
+
image.addEventListener('error', () => reject(loadError));
|
|
65
|
+
image.src = renderXYZTemplate(template, z, x, y, options.maxY);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @param {Array<string>} templates The url templates.
|
|
71
|
+
* @return {Loader} The image loader.
|
|
72
|
+
*/
|
|
73
|
+
function makeLoaderFromTemplates(templates) {
|
|
74
|
+
return function (z, x, y, options) {
|
|
75
|
+
const template = pickUrl(templates, z, x, y);
|
|
76
|
+
return loadImage(template, z, x, y, options);
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @param {UrlGetter} getter The url getter.
|
|
82
|
+
* @return {Loader} The image loader.
|
|
83
|
+
*/
|
|
84
|
+
function makeLoaderFromGetter(getter) {
|
|
85
|
+
return function (z, x, y, options) {
|
|
86
|
+
const url = getter(z, x, y, options);
|
|
87
|
+
return loadImage(url, z, x, y, options);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @param {UrlLike} url The URL-like option.
|
|
93
|
+
* @return {Loader} The tile loader.
|
|
94
|
+
*/
|
|
95
|
+
function makeLoaderFromUrlLike(url) {
|
|
96
|
+
/**
|
|
97
|
+
* @type {Loader}
|
|
98
|
+
*/
|
|
99
|
+
let loader;
|
|
100
|
+
|
|
101
|
+
if (Array.isArray(url)) {
|
|
102
|
+
loader = makeLoaderFromTemplates(url);
|
|
103
|
+
} else if (typeof url === 'string') {
|
|
104
|
+
const urls = expandUrl(url);
|
|
105
|
+
loader = makeLoaderFromTemplates(urls);
|
|
106
|
+
} else if (typeof url === 'function') {
|
|
107
|
+
loader = makeLoaderFromGetter(url);
|
|
108
|
+
} else {
|
|
109
|
+
throw new Error(
|
|
110
|
+
'The url option must be a single template, an array of templates, or a function for getting a URL',
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
return loader;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
let keyCount = 0;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param {UrlLike} url The URL-like option.
|
|
120
|
+
* @return {string} A key for the URL.
|
|
121
|
+
*/
|
|
122
|
+
function keyFromUrlLike(url) {
|
|
123
|
+
if (Array.isArray(url)) {
|
|
124
|
+
return url.join('\n');
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (typeof url === 'string') {
|
|
128
|
+
return url;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
++keyCount;
|
|
132
|
+
return 'url-function-key-' + keyCount;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @classdesc
|
|
137
|
+
* A source for typed array data tiles.
|
|
138
|
+
*
|
|
139
|
+
* @extends DataTileSource<import("../ImageTile.js").default>
|
|
140
|
+
* @fires import("./Tile.js").TileSourceEvent
|
|
141
|
+
* @api
|
|
142
|
+
*/
|
|
143
|
+
class ImageTileSource extends DataTileSource {
|
|
144
|
+
/**
|
|
145
|
+
* @param {Options} [options] DataTile source options.
|
|
146
|
+
*/
|
|
147
|
+
constructor(options) {
|
|
148
|
+
options = options || {};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @type {Loader}
|
|
152
|
+
*/
|
|
153
|
+
let loader = options.loader;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @type {string}
|
|
157
|
+
*/
|
|
158
|
+
let key;
|
|
159
|
+
|
|
160
|
+
if (options.url) {
|
|
161
|
+
loader = makeLoaderFromUrlLike(options.url);
|
|
162
|
+
key = keyFromUrlLike(options.url);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @type {import('./Source.js').State}
|
|
167
|
+
*/
|
|
168
|
+
const state = !loader ? 'loading' : options.state;
|
|
169
|
+
|
|
170
|
+
const wrapX = options.wrapX === undefined ? true : options.wrapX;
|
|
171
|
+
|
|
172
|
+
super({
|
|
173
|
+
loader: loader,
|
|
174
|
+
key: key,
|
|
175
|
+
attributions: options.attributions,
|
|
176
|
+
attributionsCollapsible: options.attributionsCollapsible,
|
|
177
|
+
maxZoom: options.maxZoom,
|
|
178
|
+
minZoom: options.minZoom,
|
|
179
|
+
tileSize: options.tileSize,
|
|
180
|
+
gutter: options.gutter,
|
|
181
|
+
maxResolution: options.maxResolution,
|
|
182
|
+
projection: options.projection,
|
|
183
|
+
tileGrid: options.tileGrid,
|
|
184
|
+
state: state,
|
|
185
|
+
wrapX: wrapX,
|
|
186
|
+
transition: options.transition,
|
|
187
|
+
interpolate: options.interpolate !== false,
|
|
188
|
+
crossOrigin: options.crossOrigin,
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @param {UrlLike} url The new URL.
|
|
194
|
+
* @api
|
|
195
|
+
*/
|
|
196
|
+
setUrl(url) {
|
|
197
|
+
const loader = makeLoaderFromUrlLike(url);
|
|
198
|
+
this.setLoader(loader);
|
|
199
|
+
this.setKey(keyFromUrlLike(url));
|
|
200
|
+
if (this.getState() !== 'ready') {
|
|
201
|
+
this.setState('ready');
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export default ImageTileSource;
|
package/source/ImageWMS.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageWMS.d.ts","sourceRoot":"","sources":["ImageWMS.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4Bc,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;AAlBjD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;GAMG;AACH;IACE;;OAEG;IACH,2CAmEC;IAzDC;;;OAGG;IACH,qBACgE;IAEhE;;;OAGG;IACH,aAAuB;IAEvB;;;OAGG;IACH,2BAG8B;IAE9B;;;OAGG;IACH,gBAAgD;IAEhD;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,eAAgE;IAEhE;;;OAGG;IACH,0BAA0B;IAE1B;;;OAGG;IACH,eAA+D;IAE/D;;;OAGG;IACH,0BAA6B;IAG/B;;;;;;;;;;;;;OAaG;IACH,8BAVW,OAAO,kBAAkB,EAAE,UAAU,cACrC,MAAM,cACN,OAAO,YAAY,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"ImageWMS.d.ts","sourceRoot":"","sources":["ImageWMS.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4Bc,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;AAlBjD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;GAMG;AACH;IACE;;OAEG;IACH,2CAmEC;IAzDC;;;OAGG;IACH,qBACgE;IAEhE;;;OAGG;IACH,aAAuB;IAEvB;;;OAGG;IACH,2BAG8B;IAE9B;;;OAGG;IACH,gBAAgD;IAEhD;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,eAAgE;IAEhE;;;OAGG;IACH,0BAA0B;IAE1B;;;OAGG;IACH,eAA+D;IAE/D;;;OAGG;IACH,0BAA6B;IAG/B;;;;;;;;;;;;;OAaG;IACH,8BAVW,OAAO,kBAAkB,EAAE,UAAU,cACrC,MAAM,cACN,OAAO,YAAY,EAAE,cAAc,UACnC,GAAO,GAIN,MAAM,GAAC,SAAS,CA0B3B;IAED;;;;;;;;;;;;;OAaG;IACH,6DAHY,MAAM,GAAC,SAAS,CAc3B;IAED;;;;;OAKG;IACH,iBAEC;IAoCD;;;;OAIG;IACH,wBAHY,OAAO,aAAa,EAAE,YAAY,CAK7C;IAED;;;;OAIG;IACH,UAHY,MAAM,GAAC,SAAS,CAK3B;IAED;;;;OAIG;IACH,wCAHW,OAAO,aAAa,EAAE,YAAY,QAM5C;IAED;;;;OAIG;IACH,YAHW,MAAM,GAAC,SAAS,QAS1B;IAED;;;;OAIG;IACH,gCAGC;CASF;wBAxRmD,YAAY"}
|
package/source/ImageWMS.js
CHANGED
|
@@ -196,6 +196,7 @@ class ImageWMS extends ImageSource {
|
|
|
196
196
|
* @param {number} pixelRatio Pixel ratio.
|
|
197
197
|
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
198
198
|
* @return {import("../Image.js").default} Single image.
|
|
199
|
+
* @override
|
|
199
200
|
*/
|
|
200
201
|
getImageInternal(extent, resolution, pixelRatio, projection) {
|
|
201
202
|
if (this.url_ === undefined) {
|
|
@@ -274,6 +275,9 @@ class ImageWMS extends ImageSource {
|
|
|
274
275
|
this.changed();
|
|
275
276
|
}
|
|
276
277
|
|
|
278
|
+
/**
|
|
279
|
+
* @override
|
|
280
|
+
*/
|
|
277
281
|
changed() {
|
|
278
282
|
this.image = null;
|
|
279
283
|
super.changed();
|
package/source/OGCMapTile.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type Options = {
|
|
|
25
25
|
*/
|
|
26
26
|
attributions?: import("./Source.js").AttributionLike | undefined;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Deprecated. Use the cacheSize option on the layer instead.
|
|
29
29
|
*/
|
|
30
30
|
cacheSize?: number | undefined;
|
|
31
31
|
/**
|
|
@@ -79,7 +79,7 @@ export type Options = {
|
|
|
79
79
|
* will be derived from the `crs` of the `tileMatrixSet`. You can override this by supplying
|
|
80
80
|
* a projection to the constructor.
|
|
81
81
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
82
|
-
* @property {number} [cacheSize]
|
|
82
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
83
83
|
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
84
84
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
85
85
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
package/source/OGCMapTile.js
CHANGED
|
@@ -16,7 +16,7 @@ import {error as logError} from '../console.js';
|
|
|
16
16
|
* will be derived from the `crs` of the `tileMatrixSet`. You can override this by supplying
|
|
17
17
|
* a projection to the constructor.
|
|
18
18
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
19
|
-
* @property {number} [cacheSize]
|
|
19
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
20
20
|
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
21
21
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
22
22
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default OGCVectorTile;
|
|
2
|
-
export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
2
|
+
export type Options<FeatureType extends import("../Feature.js").FeatureLike = import("../render/Feature.js").default> = {
|
|
3
3
|
/**
|
|
4
4
|
* URL to the OGC Vector Tileset endpoint.
|
|
5
5
|
*/
|
|
@@ -10,9 +10,9 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
10
10
|
*/
|
|
11
11
|
context?: any;
|
|
12
12
|
/**
|
|
13
|
-
* Feature
|
|
13
|
+
* Feature format for tiles. Used and required by the default.
|
|
14
14
|
*/
|
|
15
|
-
format
|
|
15
|
+
format?: import("../format/Feature.js").default<FeatureType> | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* The content type for the tiles (e.g. "application/vnd.mapbox-vector-tile"). If not provided,
|
|
18
18
|
* the source will try to find a link with rel="item" that uses a vector type supported by the configured format.
|
|
@@ -27,7 +27,7 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
27
27
|
*/
|
|
28
28
|
attributionsCollapsible?: boolean | undefined;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Deprecated. Use the cacheSize option on the layer instead.
|
|
31
31
|
*/
|
|
32
32
|
cacheSize?: number | undefined;
|
|
33
33
|
/**
|
|
@@ -70,17 +70,17 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
70
70
|
collections?: string[] | undefined;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
|
-
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
73
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
74
74
|
* @typedef {Object} Options
|
|
75
75
|
* @property {string} url URL to the OGC Vector Tileset endpoint.
|
|
76
76
|
* @property {Object} [context] A lookup of values to use in the tile URL template. The `{tileMatrix}`
|
|
77
77
|
* (zoom level), `{tileRow}`, and `{tileCol}` variables in the URL will always be provided by the source.
|
|
78
|
-
* @property {import("../format/Feature.js").default<
|
|
78
|
+
* @property {import("../format/Feature.js").default<FeatureType>} [format] Feature format for tiles. Used and required by the default.
|
|
79
79
|
* @property {string} [mediaType] The content type for the tiles (e.g. "application/vnd.mapbox-vector-tile"). If not provided,
|
|
80
80
|
* the source will try to find a link with rel="item" that uses a vector type supported by the configured format.
|
|
81
81
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
82
82
|
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
|
83
|
-
* @property {number} [cacheSize]
|
|
83
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
84
84
|
* @property {boolean} [overlaps=true] This source may have overlapping geometries. Setting this
|
|
85
85
|
* to `false` (e.g. for sources with polygons that represent administrative
|
|
86
86
|
* boundaries or TopoJSON sources) allows the renderer to optimise fill and
|
|
@@ -112,10 +112,10 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
|
112
112
|
* which of the advertised media types is used. If you need to force the use of a particular media type, you can
|
|
113
113
|
* provide the `mediaType` option.
|
|
114
114
|
* @api
|
|
115
|
-
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
115
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
116
116
|
* @extends {VectorTileSource<FeatureType>}
|
|
117
117
|
*/
|
|
118
|
-
declare class OGCVectorTile<FeatureType extends import("../Feature.js").FeatureLike> extends VectorTileSource<FeatureType> {
|
|
118
|
+
declare class OGCVectorTile<FeatureType extends import("../Feature.js").FeatureLike = import("../render/Feature.js").default> extends VectorTileSource<FeatureType> {
|
|
119
119
|
/**
|
|
120
120
|
* @param {Options<FeatureType>} options OGC vector tile options.
|
|
121
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OGCVectorTile.d.ts","sourceRoot":"","sources":["OGCVectorTile.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OGCVectorTile.d.ts","sourceRoot":"","sources":["OGCVectorTile.js"],"names":[],"mappings":";oBASoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;SAEpC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAaN,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhBjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH;;;;;;;;;;;;;;GAcG;AACH,4BAHoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAIhD;;OAEG;IACH,qBAFW,OAAO,CAAC,WAAW,CAAC,EA6B9B;IAED;;;OAGG;IACH,2BAIC;IAED;;;OAGG;IACH,qBAGC;CACF;6BAtG4B,iBAAiB"}
|
package/source/OGCVectorTile.js
CHANGED
|
@@ -7,17 +7,17 @@ import {getTileSetInfo} from './ogcTileUtil.js';
|
|
|
7
7
|
import {error as logError} from '../console.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
10
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
11
11
|
* @typedef {Object} Options
|
|
12
12
|
* @property {string} url URL to the OGC Vector Tileset endpoint.
|
|
13
13
|
* @property {Object} [context] A lookup of values to use in the tile URL template. The `{tileMatrix}`
|
|
14
14
|
* (zoom level), `{tileRow}`, and `{tileCol}` variables in the URL will always be provided by the source.
|
|
15
|
-
* @property {import("../format/Feature.js").default<
|
|
15
|
+
* @property {import("../format/Feature.js").default<FeatureType>} [format] Feature format for tiles. Used and required by the default.
|
|
16
16
|
* @property {string} [mediaType] The content type for the tiles (e.g. "application/vnd.mapbox-vector-tile"). If not provided,
|
|
17
17
|
* the source will try to find a link with rel="item" that uses a vector type supported by the configured format.
|
|
18
18
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
19
19
|
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
|
20
|
-
* @property {number} [cacheSize]
|
|
20
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
21
21
|
* @property {boolean} [overlaps=true] This source may have overlapping geometries. Setting this
|
|
22
22
|
* to `false` (e.g. for sources with polygons that represent administrative
|
|
23
23
|
* boundaries or TopoJSON sources) allows the renderer to optimise fill and
|
|
@@ -50,7 +50,7 @@ import {error as logError} from '../console.js';
|
|
|
50
50
|
* which of the advertised media types is used. If you need to force the use of a particular media type, you can
|
|
51
51
|
* provide the `mediaType` option.
|
|
52
52
|
* @api
|
|
53
|
-
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
53
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
54
54
|
* @extends {VectorTileSource<FeatureType>}
|
|
55
55
|
*/
|
|
56
56
|
class OGCVectorTile extends VectorTileSource {
|
package/source/OSM.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type Options = {
|
|
|
13
13
|
*/
|
|
14
14
|
attributions?: import("./Source.js").AttributionLike | undefined;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Deprecated. Use the cacheSize option on the layer instead.
|
|
17
17
|
*/
|
|
18
18
|
cacheSize?: number | undefined;
|
|
19
19
|
/**
|
|
@@ -31,10 +31,6 @@ export type Options = {
|
|
|
31
31
|
* Max zoom.
|
|
32
32
|
*/
|
|
33
33
|
maxZoom?: number | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the layer is opaque.
|
|
36
|
-
*/
|
|
37
|
-
opaque?: boolean | undefined;
|
|
38
34
|
/**
|
|
39
35
|
* Maximum allowed reprojection error (in pixels).
|
|
40
36
|
* Higher values can increase reprojection performance, but decrease precision.
|
|
@@ -72,14 +68,13 @@ export type Options = {
|
|
|
72
68
|
/**
|
|
73
69
|
* @typedef {Object} Options
|
|
74
70
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
75
|
-
* @property {number} [cacheSize]
|
|
71
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
76
72
|
* @property {null|string} [crossOrigin='anonymous'] The `crossOrigin` attribute for loaded images. Note that
|
|
77
73
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
78
74
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
|
79
75
|
* @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
|
|
80
76
|
* linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
|
|
81
77
|
* @property {number} [maxZoom=19] Max zoom.
|
|
82
|
-
* @property {boolean} [opaque=true] Whether the layer is opaque.
|
|
83
78
|
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
|
84
79
|
* Higher values can increase reprojection performance, but decrease precision.
|
|
85
80
|
* @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
package/source/OSM.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OSM.d.ts","sourceRoot":"","sources":["OSM.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,0BAHU,MAAM,CAME
|
|
1
|
+
{"version":3,"file":"OSM.d.ts","sourceRoot":"","sources":["OSM.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,0BAHU,MAAM,CAME;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;GAIG;AACH;IACE;;OAEG;IACH,2CAgCC;CACF;gBApFe,UAAU"}
|
package/source/OSM.js
CHANGED
|
@@ -19,14 +19,13 @@ export const ATTRIBUTION =
|
|
|
19
19
|
/**
|
|
20
20
|
* @typedef {Object} Options
|
|
21
21
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
22
|
-
* @property {number} [cacheSize]
|
|
22
|
+
* @property {number} [cacheSize] Deprecated. Use the cacheSize option on the layer instead.
|
|
23
23
|
* @property {null|string} [crossOrigin='anonymous'] The `crossOrigin` attribute for loaded images. Note that
|
|
24
24
|
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
25
25
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
|
26
26
|
* @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
|
|
27
27
|
* linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
|
|
28
28
|
* @property {number} [maxZoom=19] Max zoom.
|
|
29
|
-
* @property {boolean} [opaque=true] Whether the layer is opaque.
|
|
30
29
|
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
|
31
30
|
* Higher values can increase reprojection performance, but decrease precision.
|
|
32
31
|
* @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
|
@@ -79,7 +78,6 @@ class OSM extends XYZ {
|
|
|
79
78
|
crossOrigin: crossOrigin,
|
|
80
79
|
interpolate: options.interpolate,
|
|
81
80
|
maxZoom: options.maxZoom !== undefined ? options.maxZoom : 19,
|
|
82
|
-
opaque: options.opaque !== undefined ? options.opaque : true,
|
|
83
81
|
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
|
84
82
|
tileLoadFunction: options.tileLoadFunction,
|
|
85
83
|
transition: options.transition,
|
package/source/Raster.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {Uint8ClampedArray} data Image data.
|
|
3
|
-
* @param {number} width Number of columns.
|
|
4
|
-
* @param {number} height Number of rows.
|
|
5
|
-
* @return {ImageData} Image data.
|
|
6
|
-
*/
|
|
7
|
-
export function newImageData(data: Uint8ClampedArray, width: number, height: number): ImageData;
|
|
8
1
|
/**
|
|
9
2
|
* @typedef {function(Error, ImageData, (Object|Array<Object>)): void} JobCallback
|
|
10
3
|
*/
|
|
@@ -31,25 +24,41 @@ export class Processor extends Disposable {
|
|
|
31
24
|
* @param {ProcessorOptions} config Configuration.
|
|
32
25
|
*/
|
|
33
26
|
constructor(config: ProcessorOptions);
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
/**
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
private imageOps_;
|
|
32
|
+
/**
|
|
33
|
+
* @type {Array<Worker>}
|
|
34
|
+
* @private
|
|
35
|
+
*/
|
|
36
|
+
private workers_;
|
|
36
37
|
/**
|
|
37
38
|
* @type {Array<Job>}
|
|
38
39
|
* @private
|
|
39
40
|
*/
|
|
40
|
-
private
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
private queue_;
|
|
42
|
+
/**
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @private
|
|
45
|
+
*/
|
|
46
|
+
private maxQueueLength_;
|
|
47
|
+
/**
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
private running_;
|
|
43
52
|
/**
|
|
44
53
|
* @type {Object<number, any>}
|
|
45
54
|
* @private
|
|
46
55
|
*/
|
|
47
|
-
private
|
|
56
|
+
private dataLookup_;
|
|
48
57
|
/**
|
|
49
|
-
* @type {Job}
|
|
58
|
+
* @type {Job|null}
|
|
50
59
|
* @private
|
|
51
60
|
*/
|
|
52
|
-
private
|
|
61
|
+
private job_;
|
|
53
62
|
/**
|
|
54
63
|
* Run operation on input data.
|
|
55
64
|
* @param {Array<ImageData>} inputs Array of image data.
|
|
@@ -64,22 +73,22 @@ export class Processor extends Disposable {
|
|
|
64
73
|
* Add a job to the queue.
|
|
65
74
|
* @param {Job} job The job.
|
|
66
75
|
*/
|
|
67
|
-
|
|
76
|
+
enqueue_(job: Job): void;
|
|
68
77
|
/**
|
|
69
78
|
* Dispatch a job.
|
|
70
79
|
*/
|
|
71
|
-
|
|
80
|
+
dispatch_(): void;
|
|
72
81
|
/**
|
|
73
82
|
* Handle messages from the worker.
|
|
74
83
|
* @param {number} index The worker index.
|
|
75
84
|
* @param {MessageEvent} event The message event.
|
|
76
85
|
*/
|
|
77
|
-
|
|
86
|
+
onWorkerMessage_(index: number, event: MessageEvent): void;
|
|
78
87
|
/**
|
|
79
88
|
* Resolve a job. If there are no more worker threads, the processor callback
|
|
80
89
|
* will be called.
|
|
81
90
|
*/
|
|
82
|
-
|
|
91
|
+
resolveJob_(): void;
|
|
83
92
|
}
|
|
84
93
|
/**
|
|
85
94
|
* @typedef {'pixel' | 'image'} RasterOperationType
|
|
@@ -208,8 +217,8 @@ export type Operation = (arg0: (Array<Array<number>> | Array<ImageData>), arg1:
|
|
|
208
217
|
/**
|
|
209
218
|
* Raster operation type. Supported values are `'pixel'` and `'image'`.
|
|
210
219
|
*/
|
|
211
|
-
export type RasterOperationType =
|
|
212
|
-
export type RasterSourceEventTypes = import("./Image.js").ImageSourceEventTypes |
|
|
220
|
+
export type RasterOperationType = "pixel" | "image";
|
|
221
|
+
export type RasterSourceEventTypes = import("./Image.js").ImageSourceEventTypes | "beforeoperations" | "afteroperations";
|
|
213
222
|
export type Options = {
|
|
214
223
|
/**
|
|
215
224
|
* Input
|
|
@@ -332,8 +341,11 @@ declare class RasterSource extends ImageSource {
|
|
|
332
341
|
* @type {Array<import("../layer/Layer.js").default>}
|
|
333
342
|
*/
|
|
334
343
|
private layers_;
|
|
335
|
-
/**
|
|
336
|
-
|
|
344
|
+
/**
|
|
345
|
+
* @private
|
|
346
|
+
* @type {boolean}
|
|
347
|
+
*/
|
|
348
|
+
private useResolutions_;
|
|
337
349
|
/**
|
|
338
350
|
* @private
|
|
339
351
|
* @type {import("../TileQueue.js").default}
|
|
@@ -354,8 +366,9 @@ declare class RasterSource extends ImageSource {
|
|
|
354
366
|
/**
|
|
355
367
|
* The most recently rendered revision.
|
|
356
368
|
* @type {number}
|
|
369
|
+
* @private
|
|
357
370
|
*/
|
|
358
|
-
renderedRevision_
|
|
371
|
+
private renderedRevision_;
|
|
359
372
|
/**
|
|
360
373
|
* @private
|
|
361
374
|
* @type {import("../Map.js").FrameState}
|
|
@@ -390,8 +403,9 @@ declare class RasterSource extends ImageSource {
|
|
|
390
403
|
* @param {number} pixelRatio Pixel ratio.
|
|
391
404
|
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
392
405
|
* @return {import("../ImageCanvas.js").default} Single image.
|
|
406
|
+
* @override
|
|
393
407
|
*/
|
|
394
|
-
getImage(extent: import("../extent.js").Extent, resolution: number, pixelRatio: number, projection: import("../proj/Projection.js").default): import("../ImageCanvas.js").default;
|
|
408
|
+
override getImage(extent: import("../extent.js").Extent, resolution: number, pixelRatio: number, projection: import("../proj/Projection.js").default): import("../ImageCanvas.js").default;
|
|
395
409
|
/**
|
|
396
410
|
* Start processing source data.
|
|
397
411
|
* @private
|
|
@@ -409,8 +423,9 @@ declare class RasterSource extends ImageSource {
|
|
|
409
423
|
/**
|
|
410
424
|
* @param {import("../proj/Projection").default} [projection] Projection.
|
|
411
425
|
* @return {Array<number>|null} Resolutions.
|
|
426
|
+
* @override
|
|
412
427
|
*/
|
|
413
|
-
getResolutions(projection?: import("../proj/Projection.js").default | undefined): Array<number> | null;
|
|
428
|
+
override getResolutions(projection?: import("../proj/Projection.js").default | undefined): Array<number> | null;
|
|
414
429
|
}
|
|
415
430
|
import ImageSource from './Image.js';
|
|
416
431
|
//# sourceMappingURL=Raster.d.ts.map
|
package/source/Raster.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Raster.d.ts","sourceRoot":"","sources":["Raster.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Raster.d.ts","sourceRoot":"","sources":["Raster.js"],"names":[],"mappings":"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"}
|