ol 10.2.2-pr.1 → 10.3.1-dev.1732965160769
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/Feature.d.ts +2 -2
- package/Feature.d.ts.map +1 -1
- package/Geolocation.d.ts +1 -1
- package/Geolocation.d.ts.map +1 -1
- package/Image.d.ts +3 -3
- package/Image.d.ts.map +1 -1
- package/ImageCanvas.d.ts +1 -1
- package/ImageCanvas.d.ts.map +1 -1
- package/ImageTile.d.ts +1 -1
- package/ImageTile.d.ts.map +1 -1
- package/Map.d.ts +7 -7
- package/Map.d.ts.map +1 -1
- package/Map.js +1 -1
- package/MapBrowserEvent.d.ts +1 -1
- package/MapBrowserEvent.d.ts.map +1 -1
- package/MapBrowserEventHandler.d.ts +1 -1
- package/MapBrowserEventHandler.d.ts.map +1 -1
- package/MapEvent.d.ts +1 -1
- package/MapEvent.d.ts.map +1 -1
- package/Object.d.ts +4 -4
- package/Object.d.ts.map +1 -1
- package/Overlay.d.ts +1 -1
- package/Overlay.d.ts.map +1 -1
- package/Tile.d.ts +1 -1
- package/Tile.d.ts.map +1 -1
- package/TileCache.d.ts +1 -1
- package/TileRange.d.ts +1 -1
- package/TileRange.d.ts.map +1 -1
- package/VectorRenderTile.d.ts.map +1 -1
- package/VectorTile.d.ts +1 -1
- package/VectorTile.d.ts.map +1 -1
- package/View.d.ts +24 -24
- package/View.d.ts.map +1 -1
- package/array.d.ts +2 -2
- package/array.d.ts.map +1 -1
- package/centerconstraint.d.ts +1 -1
- package/centerconstraint.d.ts.map +1 -1
- package/control/Attribution.d.ts +1 -1
- package/control/Attribution.d.ts.map +1 -1
- package/control/Control.d.ts.map +1 -1
- package/control/Control.js +3 -1
- package/control/FullScreen.d.ts +1 -1
- package/control/FullScreen.d.ts.map +1 -1
- package/control/MousePosition.d.ts +1 -1
- package/control/MousePosition.d.ts.map +1 -1
- package/control/OverviewMap.d.ts +1 -1
- package/control/OverviewMap.d.ts.map +1 -1
- package/control/Rotate.d.ts +1 -1
- package/control/Rotate.d.ts.map +1 -1
- package/control/ScaleLine.d.ts +1 -1
- package/control/ScaleLine.d.ts.map +1 -1
- package/control/Zoom.d.ts +1 -1
- package/control/Zoom.d.ts.map +1 -1
- package/control/ZoomSlider.d.ts +1 -1
- package/control/ZoomSlider.d.ts.map +1 -1
- package/control/ZoomToExtent.d.ts +1 -1
- package/control/ZoomToExtent.d.ts.map +1 -1
- package/control/defaults.d.ts +1 -1
- package/control/defaults.d.ts.map +1 -1
- package/coordinate.d.ts +6 -6
- package/coordinate.d.ts.map +1 -1
- package/dist/ol.d.ts +6 -0
- package/dist/ol.d.ts.map +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/dom.d.ts +1 -1
- package/dom.d.ts.map +1 -1
- package/events/Target.d.ts +1 -1
- package/events/Target.d.ts.map +1 -1
- package/events/condition.d.ts.map +1 -1
- package/events.d.ts +1 -1
- package/events.d.ts.map +1 -1
- package/expr/expression.d.ts.map +1 -1
- package/expr/gpu.d.ts +10 -13
- package/expr/gpu.d.ts.map +1 -1
- package/expr/gpu.js +16 -19
- package/extent.d.ts +13 -13
- package/extent.d.ts.map +1 -1
- package/format/EsriJSON.d.ts +5 -5
- package/format/EsriJSON.d.ts.map +1 -1
- package/format/Feature.d.ts +11 -11
- package/format/Feature.d.ts.map +1 -1
- package/format/GML2.d.ts.map +1 -1
- package/format/GML3.d.ts +1 -1
- package/format/GML3.d.ts.map +1 -1
- package/format/GMLBase.d.ts +1 -1
- package/format/GMLBase.d.ts.map +1 -1
- package/format/GPX.d.ts +1 -1
- package/format/GPX.d.ts.map +1 -1
- package/format/GeoJSON.d.ts +5 -5
- package/format/GeoJSON.d.ts.map +1 -1
- package/format/IGC.d.ts +1 -1
- package/format/IGC.d.ts.map +1 -1
- package/format/IIIFInfo.d.ts +3 -3
- package/format/IIIFInfo.d.ts.map +1 -1
- package/format/JSONFeature.d.ts +9 -9
- package/format/JSONFeature.d.ts.map +1 -1
- package/format/KML.d.ts +1 -1
- package/format/KML.d.ts.map +1 -1
- package/format/MVT.d.ts +2 -2
- package/format/MVT.d.ts.map +1 -1
- package/format/Polyline.d.ts +8 -8
- package/format/Polyline.d.ts.map +1 -1
- package/format/TextFeature.d.ts +10 -10
- package/format/TextFeature.d.ts.map +1 -1
- package/format/TopoJSON.d.ts +1 -1
- package/format/TopoJSON.d.ts.map +1 -1
- package/format/WFS.d.ts +2 -2
- package/format/WFS.d.ts.map +1 -1
- package/format/WKB.d.ts +5 -5
- package/format/WKB.d.ts.map +1 -1
- package/format/WKT.d.ts +1 -1
- package/format/WKT.d.ts.map +1 -1
- package/format/WMSGetFeatureInfo.d.ts +1 -1
- package/format/WMSGetFeatureInfo.d.ts.map +1 -1
- package/format/XMLFeature.d.ts +13 -13
- package/format/XMLFeature.d.ts.map +1 -1
- package/format/filter/Bbox.d.ts +1 -1
- package/format/filter/Bbox.d.ts.map +1 -1
- package/format/filter/ComparisonBinary.d.ts +1 -1
- package/format/filter/ComparisonBinary.d.ts.map +1 -1
- package/format/filter/Contains.d.ts +1 -1
- package/format/filter/Contains.d.ts.map +1 -1
- package/format/filter/DWithin.d.ts +1 -1
- package/format/filter/DWithin.d.ts.map +1 -1
- package/format/filter/Disjoint.d.ts +1 -1
- package/format/filter/Disjoint.d.ts.map +1 -1
- package/format/filter/EqualTo.d.ts +1 -1
- package/format/filter/EqualTo.d.ts.map +1 -1
- package/format/filter/Intersects.d.ts +1 -1
- package/format/filter/Intersects.d.ts.map +1 -1
- package/format/filter/IsLike.d.ts +1 -1
- package/format/filter/IsLike.d.ts.map +1 -1
- package/format/filter/NotEqualTo.d.ts +1 -1
- package/format/filter/NotEqualTo.d.ts.map +1 -1
- package/format/filter/Spatial.d.ts +1 -1
- package/format/filter/Spatial.d.ts.map +1 -1
- package/format/filter/Within.d.ts +1 -1
- package/format/filter/Within.d.ts.map +1 -1
- package/format/filter.d.ts +9 -9
- package/format/filter.d.ts.map +1 -1
- package/geom/Circle.d.ts +2 -2
- package/geom/Circle.d.ts.map +1 -1
- package/geom/Geometry.d.ts +4 -4
- package/geom/Geometry.d.ts.map +1 -1
- package/geom/LineString.d.ts +4 -4
- package/geom/LineString.d.ts.map +1 -1
- package/geom/LinearRing.d.ts +2 -2
- package/geom/LinearRing.d.ts.map +1 -1
- package/geom/MultiLineString.d.ts +3 -3
- package/geom/MultiLineString.d.ts.map +1 -1
- package/geom/MultiPoint.d.ts +2 -2
- package/geom/MultiPoint.d.ts.map +1 -1
- package/geom/MultiPolygon.d.ts +3 -3
- package/geom/MultiPolygon.d.ts.map +1 -1
- package/geom/Point.d.ts +1 -1
- package/geom/Point.d.ts.map +1 -1
- package/geom/Polygon.d.ts +6 -6
- package/geom/Polygon.d.ts.map +1 -1
- package/geom/SimpleGeometry.d.ts +2 -2
- package/geom/SimpleGeometry.d.ts.map +1 -1
- package/geom/flat/closest.d.ts +3 -3
- package/geom/flat/closest.d.ts.map +1 -1
- package/geom/flat/deflate.d.ts +2 -2
- package/geom/flat/deflate.d.ts.map +1 -1
- package/geom/flat/flip.d.ts +1 -1
- package/geom/flat/flip.d.ts.map +1 -1
- package/geom/flat/inflate.d.ts +3 -3
- package/geom/flat/inflate.d.ts.map +1 -1
- package/geom/flat/interiorpoint.d.ts +1 -1
- package/geom/flat/interiorpoint.d.ts.map +1 -1
- package/geom/flat/interpolate.d.ts +1 -1
- package/geom/flat/interpolate.d.ts.map +1 -1
- package/geom/flat/orient.d.ts +4 -4
- package/geom/flat/orient.d.ts.map +1 -1
- package/geom/flat/simplify.d.ts +1 -1
- package/geom/flat/simplify.d.ts.map +1 -1
- package/geom/flat/textpath.d.ts.map +1 -1
- package/geom/flat/transform.d.ts +4 -4
- package/geom/flat/transform.d.ts.map +1 -1
- package/interaction/DblClickDragZoom.d.ts +1 -1
- package/interaction/DblClickDragZoom.d.ts.map +1 -1
- package/interaction/DoubleClickZoom.d.ts +1 -1
- package/interaction/DoubleClickZoom.d.ts.map +1 -1
- package/interaction/DragAndDrop.d.ts +2 -2
- package/interaction/DragAndDrop.d.ts.map +1 -1
- package/interaction/DragBox.d.ts +1 -1
- package/interaction/DragBox.d.ts.map +1 -1
- package/interaction/DragPan.d.ts +1 -1
- package/interaction/DragPan.d.ts.map +1 -1
- package/interaction/DragRotate.d.ts +1 -1
- package/interaction/DragRotate.d.ts.map +1 -1
- package/interaction/DragRotateAndZoom.d.ts +1 -1
- package/interaction/DragRotateAndZoom.d.ts.map +1 -1
- package/interaction/DragZoom.d.ts +1 -1
- package/interaction/DragZoom.d.ts.map +1 -1
- package/interaction/Draw.d.ts +1 -1
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Extent.d.ts +1 -1
- package/interaction/Extent.d.ts.map +1 -1
- package/interaction/Interaction.d.ts +3 -3
- package/interaction/Interaction.d.ts.map +1 -1
- package/interaction/KeyboardPan.d.ts +1 -1
- package/interaction/KeyboardPan.d.ts.map +1 -1
- package/interaction/KeyboardZoom.d.ts +1 -1
- package/interaction/KeyboardZoom.d.ts.map +1 -1
- package/interaction/Link.d.ts +1 -1
- package/interaction/Link.d.ts.map +1 -1
- package/interaction/Modify.d.ts +2 -2
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Modify.js +3 -0
- package/interaction/MouseWheelZoom.d.ts +1 -1
- package/interaction/MouseWheelZoom.d.ts.map +1 -1
- package/interaction/PinchRotate.d.ts +1 -1
- package/interaction/PinchRotate.d.ts.map +1 -1
- package/interaction/PinchZoom.d.ts +1 -1
- package/interaction/PinchZoom.d.ts.map +1 -1
- package/interaction/Pointer.d.ts +1 -1
- package/interaction/Pointer.d.ts.map +1 -1
- package/interaction/Select.d.ts +1 -1
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Snap.d.ts +3 -3
- package/interaction/Snap.d.ts.map +1 -1
- package/interaction/Translate.d.ts +1 -1
- package/interaction/Translate.d.ts.map +1 -1
- package/interaction/defaults.d.ts +1 -1
- package/interaction/defaults.d.ts.map +1 -1
- package/layer/Base.d.ts +4 -4
- package/layer/Base.d.ts.map +1 -1
- package/layer/BaseImage.d.ts +1 -1
- package/layer/BaseImage.d.ts.map +1 -1
- package/layer/BaseTile.d.ts +8 -1
- package/layer/BaseTile.d.ts.map +1 -1
- package/layer/BaseTile.js +2 -0
- package/layer/BaseVector.d.ts +7 -2
- package/layer/BaseVector.d.ts.map +1 -1
- package/layer/BaseVector.js +9 -0
- package/layer/Flow.d.ts.map +1 -1
- package/layer/Graticule.d.ts +1 -1
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Group.d.ts +1 -1
- package/layer/Group.d.ts.map +1 -1
- package/layer/Heatmap.d.ts +1 -1
- package/layer/Heatmap.d.ts.map +1 -1
- package/layer/Heatmap.js +3 -3
- package/layer/Image.d.ts +1 -1
- package/layer/Image.d.ts.map +1 -1
- package/layer/Layer.d.ts +6 -2
- package/layer/Layer.d.ts.map +1 -1
- package/layer/Layer.js +9 -3
- package/layer/Tile.d.ts +1 -1
- package/layer/Tile.d.ts.map +1 -1
- package/layer/Vector.d.ts +1 -1
- package/layer/Vector.d.ts.map +1 -1
- package/layer/VectorImage.d.ts +1 -1
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorTile.d.ts +1 -1
- package/layer/VectorTile.d.ts.map +1 -1
- package/layer/WebGLPoints.d.ts +17 -4
- package/layer/WebGLPoints.d.ts.map +1 -1
- package/layer/WebGLPoints.js +8 -4
- package/layer/WebGLTile.d.ts.map +1 -1
- package/layer/WebGLTile.js +0 -1
- package/layer/WebGLVector.d.ts +173 -0
- package/layer/WebGLVector.d.ts.map +1 -0
- package/layer/WebGLVector.js +120 -0
- package/net.d.ts +1 -1
- package/net.d.ts.map +1 -1
- package/obj.d.ts.map +1 -1
- package/package.json +1 -1
- package/proj/epsg3857.d.ts +2 -2
- package/proj/epsg3857.d.ts.map +1 -1
- package/proj/proj4.d.ts.map +1 -1
- package/proj.d.ts +5 -5
- package/proj.d.ts.map +1 -1
- package/render/Event.d.ts +1 -1
- package/render/Event.d.ts.map +1 -1
- package/render/Feature.d.ts +2 -2
- package/render/Feature.d.ts.map +1 -1
- package/render/VectorContext.d.ts +13 -17
- package/render/VectorContext.d.ts.map +1 -1
- package/render/canvas/Executor.d.ts +3 -3
- package/render/canvas/Executor.d.ts.map +1 -1
- package/render/canvas/ExecutorGroup.d.ts +2 -2
- package/render/canvas/ExecutorGroup.d.ts.map +1 -1
- package/render/canvas/Immediate.d.ts +1 -1
- package/render/canvas/Immediate.d.ts.map +1 -1
- package/render/canvas/hitdetect.d.ts +1 -1
- package/render/canvas/hitdetect.d.ts.map +1 -1
- package/render/canvas.d.ts.map +1 -1
- package/render/webgl/MixedGeometryBatch.d.ts +2 -2
- package/render/webgl/MixedGeometryBatch.d.ts.map +1 -1
- package/render/webgl/VectorStyleRenderer.d.ts +3 -2
- package/render/webgl/VectorStyleRenderer.d.ts.map +1 -1
- package/render/webgl/VectorStyleRenderer.js +4 -2
- package/render/webgl/utils.d.ts +2 -2
- package/render/webgl/utils.d.ts.map +1 -1
- package/render.d.ts +1 -1
- package/render.d.ts.map +1 -1
- package/renderer/Map.d.ts.map +1 -1
- package/renderer/canvas/ImageLayer.d.ts.map +1 -1
- package/renderer/canvas/Layer.d.ts +1 -1
- package/renderer/canvas/Layer.d.ts.map +1 -1
- package/renderer/canvas/TileLayer.d.ts +1 -1
- package/renderer/canvas/TileLayer.d.ts.map +1 -1
- package/renderer/canvas/TileLayer.js +25 -16
- package/renderer/canvas/VectorLayer.d.ts +2 -2
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.d.ts +1 -1
- package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.js +2 -2
- package/renderer/vector.d.ts +1 -1
- package/renderer/vector.d.ts.map +1 -1
- package/renderer/webgl/FlowLayer.d.ts +1 -1
- package/renderer/webgl/FlowLayer.d.ts.map +1 -1
- package/renderer/webgl/Layer.d.ts +1 -1
- package/renderer/webgl/Layer.d.ts.map +1 -1
- package/renderer/webgl/PointsLayer.d.ts.map +1 -1
- package/renderer/webgl/PointsLayer.js +2 -2
- package/renderer/webgl/TileLayerBase.d.ts +1 -1
- package/renderer/webgl/TileLayerBase.d.ts.map +1 -1
- package/renderer/webgl/VectorLayer.d.ts +12 -0
- package/renderer/webgl/VectorLayer.d.ts.map +1 -1
- package/renderer/webgl/VectorLayer.js +19 -7
- package/renderer/webgl/VectorTileLayer.d.ts +16 -0
- package/renderer/webgl/VectorTileLayer.d.ts.map +1 -1
- package/renderer/webgl/VectorTileLayer.js +11 -0
- package/reproj/Tile.d.ts +1 -1
- package/reproj/Tile.d.ts.map +1 -1
- package/reproj/Triangulation.d.ts +1 -1
- package/reproj/Triangulation.d.ts.map +1 -1
- package/reproj/glreproj.d.ts +2 -2
- package/reproj/glreproj.d.ts.map +1 -1
- package/reproj.d.ts +1 -1
- package/reproj.d.ts.map +1 -1
- package/resolutionconstraint.d.ts +3 -3
- package/resolutionconstraint.d.ts.map +1 -1
- package/rotationconstraint.d.ts +1 -1
- package/rotationconstraint.d.ts.map +1 -1
- package/size.d.ts +3 -3
- package/size.d.ts.map +1 -1
- package/source/Cluster.d.ts +1 -1
- package/source/Cluster.d.ts.map +1 -1
- package/source/DataTile.d.ts +1 -1
- package/source/DataTile.d.ts.map +1 -1
- package/source/IIIF.d.ts +1 -1
- package/source/IIIF.d.ts.map +1 -1
- package/source/ImageArcGISRest.d.ts +1 -1
- package/source/ImageArcGISRest.d.ts.map +1 -1
- package/source/ImageCanvas.d.ts +1 -1
- package/source/ImageCanvas.d.ts.map +1 -1
- package/source/ImageTile.d.ts +1 -1
- package/source/ImageTile.d.ts.map +1 -1
- package/source/ImageWMS.d.ts +2 -2
- package/source/ImageWMS.d.ts.map +1 -1
- package/source/OSM.d.ts +1 -1
- package/source/OSM.d.ts.map +1 -1
- package/source/Raster.d.ts +1 -1
- package/source/Raster.d.ts.map +1 -1
- package/source/SentinelHub.d.ts +2 -2
- package/source/SentinelHub.d.ts.map +1 -1
- package/source/SentinelHub.js +6 -14
- package/source/Source.d.ts +1 -1
- package/source/Source.d.ts.map +1 -1
- package/source/Tile.d.ts +1 -1
- package/source/Tile.d.ts.map +1 -1
- package/source/TileArcGISRest.d.ts +1 -1
- package/source/TileArcGISRest.d.ts.map +1 -1
- package/source/TileDebug.d.ts +1 -1
- package/source/TileDebug.d.ts.map +1 -1
- package/source/TileWMS.d.ts +2 -2
- package/source/TileWMS.d.ts.map +1 -1
- package/source/UTFGrid.d.ts +2 -2
- package/source/UTFGrid.d.ts.map +1 -1
- package/source/UrlTile.d.ts +1 -1
- package/source/UrlTile.d.ts.map +1 -1
- package/source/Vector.d.ts +6 -6
- package/source/Vector.d.ts.map +1 -1
- package/source/VectorTile.d.ts.map +1 -1
- package/source/WMTS.js +1 -1
- package/source/XYZ.d.ts +1 -1
- package/source/XYZ.d.ts.map +1 -1
- package/source/Zoomify.d.ts +1 -1
- package/source/Zoomify.d.ts.map +1 -1
- package/source/ogcTileUtil.d.ts +2 -2
- package/source/ogcTileUtil.d.ts.map +1 -1
- package/source/wms.d.ts +1 -1
- package/source/wms.d.ts.map +1 -1
- package/sphere.d.ts +4 -4
- package/sphere.d.ts.map +1 -1
- package/string.d.ts +1 -1
- package/string.d.ts.map +1 -1
- package/structs/LRUCache.d.ts +2 -2
- package/structs/LRUCache.d.ts.map +1 -1
- package/structs/RBush.d.ts +2 -2
- package/structs/RBush.d.ts.map +1 -1
- package/style/Circle.d.ts +1 -1
- package/style/Circle.d.ts.map +1 -1
- package/style/Fill.d.ts +1 -1
- package/style/Fill.d.ts.map +1 -1
- package/style/Icon.d.ts +1 -1
- package/style/Icon.d.ts.map +1 -1
- package/style/IconImage.d.ts +1 -1
- package/style/IconImage.d.ts.map +1 -1
- package/style/IconImageCache.d.ts +1 -1
- package/style/IconImageCache.d.ts.map +1 -1
- package/style/Image.d.ts.map +1 -1
- package/style/RegularShape.d.ts.map +1 -1
- package/style/RegularShape.js +2 -4
- package/style/Stroke.d.ts +1 -1
- package/style/Stroke.d.ts.map +1 -1
- package/style/Style.d.ts +1 -1
- package/style/Style.d.ts.map +1 -1
- package/style/Text.d.ts +1 -1
- package/style/Text.d.ts.map +1 -1
- package/style/flat.d.ts +8 -0
- package/style/flat.js +7 -0
- package/style/webgl.d.ts +0 -7
- package/style/webgl.d.ts.map +1 -1
- package/style/webgl.js +0 -2
- package/tilecoord.d.ts +1 -1
- package/tilecoord.d.ts.map +1 -1
- package/tilegrid/TileGrid.d.ts +8 -9
- package/tilegrid/TileGrid.d.ts.map +1 -1
- package/tilegrid/WMTS.d.ts +1 -1
- package/tilegrid/WMTS.d.ts.map +1 -1
- package/tilegrid.d.ts +3 -3
- package/tilegrid.d.ts.map +1 -1
- package/uri.d.ts +1 -1
- package/uri.d.ts.map +1 -1
- package/util.d.ts.map +1 -1
- package/util.js +1 -1
- package/vec/mat4.d.ts +4 -4
- package/vec/mat4.d.ts.map +1 -1
- package/webgl/Buffer.d.ts +1 -1
- package/webgl/Buffer.d.ts.map +1 -1
- package/webgl/Canvas.d.ts +3 -3
- package/webgl/Canvas.d.ts.map +1 -1
- package/webgl/Helper.d.ts +7 -7
- package/webgl/Helper.d.ts.map +1 -1
- package/webgl/PaletteTexture.d.ts +1 -1
- package/webgl/PaletteTexture.d.ts.map +1 -1
- package/webgl/PostProcessingPass.d.ts +1 -1
- package/webgl/PostProcessingPass.d.ts.map +1 -1
- package/webgl/RenderTarget.d.ts +1 -1
- package/webgl/RenderTarget.d.ts.map +1 -1
- package/webgl/ShaderBuilder.js +15 -15
- package/webgl/styleparser.d.ts +3 -2
- package/webgl/styleparser.d.ts.map +1 -1
- package/webgl/styleparser.js +57 -23
- package/xml.d.ts +11 -11
- package/xml.d.ts.map +1 -1
package/proj.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @param {boolean} [disable = true] Disable console info about `useGeographic()`
|
|
3
3
|
*/
|
|
4
|
-
export function disableCoordinateWarning(disable?: boolean
|
|
4
|
+
export function disableCoordinateWarning(disable?: boolean): void;
|
|
5
5
|
/**
|
|
6
6
|
* @param {Array<number>} input Input coordinate array.
|
|
7
7
|
* @param {Array<number>} [output] Output array of coordinate values.
|
|
8
8
|
* @return {Array<number>} Output coordinate array (new array, same coordinate
|
|
9
9
|
* values).
|
|
10
10
|
*/
|
|
11
|
-
export function cloneTransform(input: Array<number>, output?: number
|
|
11
|
+
export function cloneTransform(input: Array<number>, output?: Array<number>): Array<number>;
|
|
12
12
|
/**
|
|
13
13
|
* @param {Array<number>} input Input coordinate array.
|
|
14
14
|
* @param {Array<number>} [output] Output array of coordinate values.
|
|
15
15
|
* @return {Array<number>} Input coordinate array (same array as input).
|
|
16
16
|
*/
|
|
17
|
-
export function identityTransform(input: Array<number>, output?: number
|
|
17
|
+
export function identityTransform(input: Array<number>, output?: Array<number>): Array<number>;
|
|
18
18
|
/**
|
|
19
19
|
* Add a Projection object to the list of supported projections that can be
|
|
20
20
|
* looked up by their code.
|
|
@@ -57,7 +57,7 @@ export function get(projectionLike: ProjectionLike): Projection | null;
|
|
|
57
57
|
* @return {number} Point resolution.
|
|
58
58
|
* @api
|
|
59
59
|
*/
|
|
60
|
-
export function getPointResolution(projection: ProjectionLike, resolution: number, point: import("./coordinate.js").Coordinate, units?: import("./proj/Units.js").Units
|
|
60
|
+
export function getPointResolution(projection: ProjectionLike, resolution: number, point: import("./coordinate.js").Coordinate, units?: import("./proj/Units.js").Units): number;
|
|
61
61
|
/**
|
|
62
62
|
* Registers transformation functions that don't alter coordinates. Those allow
|
|
63
63
|
* to transform between projections with equal meaning.
|
|
@@ -202,7 +202,7 @@ export function transform(coordinate: import("./coordinate.js").Coordinate, sour
|
|
|
202
202
|
* @return {import("./extent.js").Extent} The transformed extent.
|
|
203
203
|
* @api
|
|
204
204
|
*/
|
|
205
|
-
export function transformExtent(extent: import("./extent.js").Extent, source: ProjectionLike, destination: ProjectionLike, stops?: number
|
|
205
|
+
export function transformExtent(extent: import("./extent.js").Extent, source: ProjectionLike, destination: ProjectionLike, stops?: number): import("./extent.js").Extent;
|
|
206
206
|
/**
|
|
207
207
|
* Transforms the given point to the destination projection.
|
|
208
208
|
*
|
package/proj.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proj.d.ts","sourceRoot":"","sources":["proj.js"],"names":[],"mappings":"AAgIA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"proj.d.ts","sourceRoot":"","sources":["proj.js"],"names":[],"mappings":"AAgIA;;GAEG;AACH,mDAFW,OAAO,QAKjB;AAED;;;;;GAKG;AACH,sCALW,KAAK,CAAC,MAAM,CAAC,WACb,KAAK,CAAC,MAAM,CAAC,GACZ,KAAK,CAAC,MAAM,CAAC,CAaxB;AAED;;;;GAIG;AACH,yCAJW,KAAK,CAAC,MAAM,CAAC,WACb,KAAK,CAAC,MAAM,CAAC,GACZ,KAAK,CAAC,MAAM,CAAC,CAUxB;AAED;;;;;;GAMG;AACH,0CAHW,UAAU,QAMpB;AAED;;GAEG;AACH,4CAFW,KAAK,CAAC,UAAU,CAAC,QAI3B;AAED;;;;;;;;GAQG;AACH,oCANW,cAAc,GAGb,UAAU,GAAC,IAAI,CAkB1B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,+CARW,cAAc,cACd,MAAM,SACN,OAAO,iBAAiB,EAAE,UAAU,UACpC,OAAO,iBAAiB,EAAE,KAAK,GAE9B,MAAM,CAwDjB;AAED;;;;;;GAMG;AACH,sDAHW,KAAK,CAAC,UAAU,CAAC,QAY3B;AAED;;;;;;;;;;;;GAYG;AACH,sDATW,KAAK,CAAC,UAAU,CAAC,gBAEjB,KAAK,CAAC,UAAU,CAAC,oBAEjB,iBAAiB,oBAEjB,iBAAiB,QAe3B;AAED;;GAEG;AACH,4CAGC;AAED;;;;GAIG;AACH,6CAJW,UAAU,GAAC,MAAM,GAAC,SAA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;AACH,8CAHW,cAAc,QAKxB;AAED;;;GAGG;AACH,4CAEC;AAED;;;;GAIG;AACH,qCAHY,UAAU,GAAC,IAAI,CAK1B;AAED;;;;;GAKG;AACH,sCAEC;AAED;;;;;;GAMG;AACH,6CAJW,KAAK,CAAC,MAAM,CAAC,oBACb,cAAc,GACb,KAAK,CAAC,MAAM,CAAC,CAOxB;AAED;;;;;;GAMG;AACH,+CAJW,KAAK,CAAC,MAAM,CAAC,kBACb,cAAc,GACb,KAAK,CAAC,MAAM,CAAC,CAoBxB;AAED;;;;;;GAMG;AACH,qCAJW,OAAO,aAAa,EAAE,MAAM,oBAC5B,cAAc,GACb,OAAO,aAAa,EAAE,MAAM,CAOvC;AAED;;;;;;GAMG;AACH,uCAJW,OAAO,aAAa,EAAE,MAAM,kBAC5B,cAAc,GACb,OAAO,aAAa,EAAE,MAAM,CAOvC;AAED;;;;;;;GAOG;AACH,6CAJW,MAAM,oBACN,cAAc,GACb,MAAM,CAWjB;AAED;;;;;;;GAOG;AACH,+CAJW,MAAM,kBACN,cAAc,GACb,MAAM,CAWjB;AAED;;;;;;;;;GASG;AACH,0DALW,UAAU,YACV,UAAU,aACV,CAAS,IAAoC,EAApC,OAAO,iBAAiB,EAAE,UAAU,KAAG,OAAO,iBAAiB,EAAE,UAAU,GACnF,CAAS,IAAoC,EAApC,OAAO,iBAAiB,EAAE,UAAU,KAAG,OAAO,iBAAiB,EAAE,UAAU,CA0B/F;AAED;;;;GAIG;AACH,kCAaC;;;;;6BAtwBY,UAAU,GAAC,MAAM,GAAC,SAAS;;;;;aAM1B,iBAAiB;;;;aACjB,iBAAiB;;;;;;;;wCAoBpB,KAAK,CAAC,MAAM,CAAC,iGAIZ,KAAK,CAAC,MAAM,CAAC;uBA9DF,sBAAsB;gCAOf,iBAAiB"}
|
package/render/Event.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare class RenderEvent extends Event {
|
|
|
7
7
|
* @param {import("../Map.js").FrameState} [frameState] Frame state.
|
|
8
8
|
* @param {?(CanvasRenderingContext2D|WebGLRenderingContext)} [context] Context.
|
|
9
9
|
*/
|
|
10
|
-
constructor(type: any, inversePixelTransform?:
|
|
10
|
+
constructor(type: any, inversePixelTransform?: import("../transform.js").Transform, frameState?: import("../Map.js").FrameState, context?: (CanvasRenderingContext2D | WebGLRenderingContext) | null);
|
|
11
11
|
/**
|
|
12
12
|
* Transform from CSS pixels (relative to the top-left corner of the map viewport)
|
|
13
13
|
* to rendered pixels on this event's `context`. Only available when a Canvas renderer is used, null otherwise.
|
package/render/Event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["Event.js"],"names":[],"mappings":";AAMA;IACE;;;;;;OAMG;IACH,
|
|
1
|
+
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["Event.js"],"names":[],"mappings":";AAMA;IACE;;;;;;OAMG;IACH,+CALW,OAAO,iBAAiB,EAAE,SAAS,eAEnC,OAAO,WAAW,EAAE,UAAU,YAC7B,CAAC,wBAAwB,GAAC,qBAAqB,CAAC,OAAA,EA4B3D;IAvBC;;;;;OAKG;IACH,uBAHU,OAAO,iBAAiB,EAAE,SAAS,GAAC,SAAS,CAGL;IAElD;;;;OAIG;IACH,YAHU,OAAO,WAAW,EAAE,UAAU,GAAC,SAAS,CAGtB;IAE5B;;;;;;OAMG;IACH,SAHU,wBAAwB,GAAC,qBAAqB,GAAC,SAAS,CAG5C;CAEzB;kBArCiB,oBAAoB"}
|
package/render/Feature.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export function toGeometry(renderFeature: RenderFeature): Point | MultiPoint | L
|
|
|
16
16
|
* geometry, and id copied over.
|
|
17
17
|
* @api
|
|
18
18
|
*/
|
|
19
|
-
export function toFeature(renderFeature: RenderFeature, geometryName?: string
|
|
19
|
+
export function toFeature(renderFeature: RenderFeature, geometryName?: string): Feature;
|
|
20
20
|
export default RenderFeature;
|
|
21
21
|
/**
|
|
22
22
|
* The geometry type. One of `'Point'`, `'LineString'`, `'LinearRing'`,
|
|
@@ -158,7 +158,7 @@ declare class RenderFeature {
|
|
|
158
158
|
* @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
|
|
159
159
|
* @return {RenderFeature} Simplified geometry.
|
|
160
160
|
*/
|
|
161
|
-
simplifyTransformed(squaredTolerance: number, transform?: import("../proj.js").TransformFunction
|
|
161
|
+
simplifyTransformed(squaredTolerance: number, transform?: import("../proj.js").TransformFunction): RenderFeature;
|
|
162
162
|
/**
|
|
163
163
|
* Get the feature properties.
|
|
164
164
|
* @return {Object<string, *>} Feature properties.
|
package/render/Feature.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["Feature.js"],"names":[],"mappings":"AAqdA;;;;;;;GAOG;AACH,0CANW,aAAa,GAEZ,KAAK,GAAC,UAAU,GAAC,UAAU,GAAC,eAAe,GAAC,OAAO,GAAC,YAAY,CA6B3E;AAED;;;;;;;;GAQG;AACH,yCAPW,aAAa,
|
|
1
|
+
{"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["Feature.js"],"names":[],"mappings":"AAqdA;;;;;;;GAOG;AACH,0CANW,aAAa,GAEZ,KAAK,GAAC,UAAU,GAAC,UAAU,GAAC,eAAe,GAAC,OAAO,GAAC,YAAY,CA6B3E;AAED;;;;;;;;GAQG;AACH,yCAPW,aAAa,iBACb,MAAM,GAEL,OAAO,CAkBlB;;;;;;mBAveY,OAAO,GAAG,YAAY,GAAG,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,iBAAiB;AAUjG;;;;GAIG;AACH;IACE;;;;;;;;OAQG;IACH,kBARW,IAAI,mBACJ,KAAK,CAAC,MAAM,CAAC,QAEb,KAAK,CAAC,MAAM,CAAC,UACb,MAAM;;WAEN,MAAM,GAAC,MAAM,GAAC,SAAS,EAyEjC;IAtEC;;OAEG;IACH,eAFU,OAAO,mBAAmB,EAAE,aAAa,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E,cAAc,QA2B7C;IAED;;;;;;OAMG;IACH,4BAFW,OAAO,YAAY,EAAE,iBAAiB,QAIhD;IAED;;OAEG;IACH,SAFY,aAAa,CAWxB;IAED;;OAEG;IACH,WAFY,KAAK,CAAC,MAAM,CAAC,GAAC,IAAI,CAI7B;IAED;;;OAGG;IACH,6BAFY,aAAa,CAqExB;IAGH;;OAEG;IACH,0BAxNc,KAAK,CAAC,MAAM,CAAC,CAwNe;CALzC;sBAlcM,YAAY;2BAAZ,YAAY;2BAAZ,YAAY;gCAAZ,YAAY;wBAAZ,YAAY;6BAAZ,YAAY;oBARC,eAAe"}
|
|
@@ -18,7 +18,7 @@ declare class VectorContext {
|
|
|
18
18
|
* @param {Function} hitDetectionRenderer Renderer.
|
|
19
19
|
* @param {number} [index] Render order index.
|
|
20
20
|
*/
|
|
21
|
-
drawCustom(geometry: import("../geom/SimpleGeometry.js").default, feature: import("../Feature.js").FeatureLike, renderer: Function, hitDetectionRenderer: Function, index?: number
|
|
21
|
+
drawCustom(geometry: import("../geom/SimpleGeometry.js").default, feature: import("../Feature.js").FeatureLike, renderer: Function, hitDetectionRenderer: Function, index?: number): void;
|
|
22
22
|
/**
|
|
23
23
|
* Render a geometry.
|
|
24
24
|
*
|
|
@@ -36,61 +36,61 @@ declare class VectorContext {
|
|
|
36
36
|
* @param {import("../Feature.js").default} feature Feature.
|
|
37
37
|
* @param {number} [index] Render order index.
|
|
38
38
|
*/
|
|
39
|
-
drawCircle(circleGeometry: import("../geom/Circle.js").default, feature: import("../Feature.js").default, index?: number
|
|
39
|
+
drawCircle(circleGeometry: import("../geom/Circle.js").default, feature: import("../Feature.js").default, index?: number): void;
|
|
40
40
|
/**
|
|
41
41
|
* @param {import("../Feature.js").default} feature Feature.
|
|
42
42
|
* @param {import("../style/Style.js").default} style Style.
|
|
43
43
|
* @param {number} [index] Render order index.
|
|
44
44
|
*/
|
|
45
|
-
drawFeature(feature: import("../Feature.js").default, style: import("../style/Style.js").default, index?: number
|
|
45
|
+
drawFeature(feature: import("../Feature.js").default, style: import("../style/Style.js").default, index?: number): void;
|
|
46
46
|
/**
|
|
47
47
|
* @param {import("../geom/GeometryCollection.js").default} geometryCollectionGeometry Geometry collection.
|
|
48
48
|
* @param {import("../Feature.js").default} feature Feature.
|
|
49
49
|
* @param {number} [index] Render order index.
|
|
50
50
|
*/
|
|
51
|
-
drawGeometryCollection(geometryCollectionGeometry: import("../geom/GeometryCollection.js").default, feature: import("../Feature.js").default, index?: number
|
|
51
|
+
drawGeometryCollection(geometryCollectionGeometry: import("../geom/GeometryCollection.js").default, feature: import("../Feature.js").default, index?: number): void;
|
|
52
52
|
/**
|
|
53
53
|
* @param {import("../geom/LineString.js").default|import("./Feature.js").default} lineStringGeometry Line string geometry.
|
|
54
54
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
55
55
|
* @param {number} [index] Render order index.
|
|
56
56
|
*/
|
|
57
|
-
drawLineString(lineStringGeometry: import("../geom/LineString.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
57
|
+
drawLineString(lineStringGeometry: import("../geom/LineString.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
58
58
|
/**
|
|
59
59
|
* @param {import("../geom/MultiLineString.js").default|import("./Feature.js").default} multiLineStringGeometry MultiLineString geometry.
|
|
60
60
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
61
61
|
* @param {number} [index] Render order index.
|
|
62
62
|
*/
|
|
63
|
-
drawMultiLineString(multiLineStringGeometry: import("../geom/MultiLineString.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
63
|
+
drawMultiLineString(multiLineStringGeometry: import("../geom/MultiLineString.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
64
64
|
/**
|
|
65
65
|
* @param {import("../geom/MultiPoint.js").default|import("./Feature.js").default} multiPointGeometry MultiPoint geometry.
|
|
66
66
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
67
67
|
* @param {number} [index] Render order index.
|
|
68
68
|
*/
|
|
69
|
-
drawMultiPoint(multiPointGeometry: import("../geom/MultiPoint.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
69
|
+
drawMultiPoint(multiPointGeometry: import("../geom/MultiPoint.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
70
70
|
/**
|
|
71
71
|
* @param {import("../geom/MultiPolygon.js").default} multiPolygonGeometry MultiPolygon geometry.
|
|
72
72
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
73
73
|
* @param {number} [index] Render order index.
|
|
74
74
|
*/
|
|
75
|
-
drawMultiPolygon(multiPolygonGeometry: import("../geom/MultiPolygon.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
75
|
+
drawMultiPolygon(multiPolygonGeometry: import("../geom/MultiPolygon.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
76
76
|
/**
|
|
77
77
|
* @param {import("../geom/Point.js").default|import("./Feature.js").default} pointGeometry Point geometry.
|
|
78
78
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
79
79
|
* @param {number} [index] Render order index.
|
|
80
80
|
*/
|
|
81
|
-
drawPoint(pointGeometry: import("../geom/Point.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
81
|
+
drawPoint(pointGeometry: import("../geom/Point.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
82
82
|
/**
|
|
83
83
|
* @param {import("../geom/Polygon.js").default|import("./Feature.js").default} polygonGeometry Polygon geometry.
|
|
84
84
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
85
85
|
* @param {number} [index] Render order index.
|
|
86
86
|
*/
|
|
87
|
-
drawPolygon(polygonGeometry: import("../geom/Polygon.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
87
|
+
drawPolygon(polygonGeometry: import("../geom/Polygon.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
88
88
|
/**
|
|
89
89
|
* @param {import("../geom/SimpleGeometry.js").default|import("./Feature.js").default} geometry Geometry.
|
|
90
90
|
* @param {import("../Feature.js").FeatureLike} feature Feature.
|
|
91
91
|
* @param {number} [index] Render order index.
|
|
92
92
|
*/
|
|
93
|
-
drawText(geometry: import("../geom/SimpleGeometry.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number
|
|
93
|
+
drawText(geometry: import("../geom/SimpleGeometry.js").default | import("./Feature.js").default, feature: import("../Feature.js").FeatureLike, index?: number): void;
|
|
94
94
|
/**
|
|
95
95
|
* @param {import("../style/Fill.js").default} fillStyle Fill style.
|
|
96
96
|
* @param {import("../style/Stroke.js").default} strokeStyle Stroke style.
|
|
@@ -100,15 +100,11 @@ declare class VectorContext {
|
|
|
100
100
|
* @param {import("../style/Image.js").default} imageStyle Image style.
|
|
101
101
|
* @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with a text style.
|
|
102
102
|
*/
|
|
103
|
-
setImageStyle(imageStyle: import("../style/Image.js").default, declutterImageWithText?:
|
|
104
|
-
[x: number]: import("./canvas/Executor.js").ReplayImageOrLabelArgs;
|
|
105
|
-
} | undefined): void;
|
|
103
|
+
setImageStyle(imageStyle: import("../style/Image.js").default, declutterImageWithText?: import("../render/canvas.js").DeclutterImageWithText): void;
|
|
106
104
|
/**
|
|
107
105
|
* @param {import("../style/Text.js").default} textStyle Text style.
|
|
108
106
|
* @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with an image style.
|
|
109
107
|
*/
|
|
110
|
-
setTextStyle(textStyle: import("../style/Text.js").default, declutterImageWithText?:
|
|
111
|
-
[x: number]: import("./canvas/Executor.js").ReplayImageOrLabelArgs;
|
|
112
|
-
} | undefined): void;
|
|
108
|
+
setTextStyle(textStyle: import("../style/Text.js").default, declutterImageWithText?: import("../render/canvas.js").DeclutterImageWithText): void;
|
|
113
109
|
}
|
|
114
110
|
//# sourceMappingURL=VectorContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorContext.d.ts","sourceRoot":"","sources":["VectorContext.js"],"names":[],"mappings":";AAAA;;GAEG;AAEH;;;;;GAKG;AACH;IACE;;;;;;;;OAQG;IACH,qBANW,OAAO,2BAA2B,EAAE,OAAO,WAC3C,OAAO,eAAe,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"VectorContext.d.ts","sourceRoot":"","sources":["VectorContext.js"],"names":[],"mappings":";AAAA;;GAEG;AAEH;;;;;GAKG;AACH;IACE;;;;;;;;OAQG;IACH,qBANW,OAAO,2BAA2B,EAAE,OAAO,WAC3C,OAAO,eAAe,EAAE,WAAW,8DAGnC,MAAM,QAEsD;IAEvE;;;;OAIG;IACH,uBAFW,OAAO,qBAAqB,EAAE,OAAO,QAEvB;IAEzB;;;;OAIG;IACH,gBAFW,OAAO,mBAAmB,EAAE,OAAO,QAE5B;IAElB;;;;OAIG;IACH,2BAJW,OAAO,mBAAmB,EAAE,OAAO,WACnC,OAAO,eAAe,EAAE,OAAO,UAC/B,MAAM,QAE4B;IAE7C;;;;OAIG;IACH,qBAJW,OAAO,eAAe,EAAE,OAAO,SAC/B,OAAO,mBAAmB,EAAE,OAAO,UACnC,MAAM,QAEoB;IAErC;;;;OAIG;IACH,mDAJW,OAAO,+BAA+B,EAAE,OAAO,WAC/C,OAAO,eAAe,EAAE,OAAO,UAC/B,MAAM,QAEoD;IAErE;;;;OAIG;IACH,mCAJW,OAAO,uBAAuB,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WACtE,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAEoC;IAErD;;;;OAIG;IACH,6CAJW,OAAO,4BAA4B,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WAC3E,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAE8C;IAE/D;;;;OAIG;IACH,mCAJW,OAAO,uBAAuB,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WACtE,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAEoC;IAErD;;;;OAIG;IACH,uCAJW,OAAO,yBAAyB,EAAE,OAAO,WACzC,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAEwC;IAEzD;;;;OAIG;IACH,yBAJW,OAAO,kBAAkB,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WACjE,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAE0B;IAE3C;;;;OAIG;IACH,6BAJW,OAAO,oBAAoB,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WACnE,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAE8B;IAE/C;;;;OAIG;IACH,mBAJW,OAAO,2BAA2B,EAAE,OAAO,GAAC,OAAO,cAAc,EAAE,OAAO,WAC1E,OAAO,eAAe,EAAE,WAAW,UACnC,MAAM,QAEoB;IAErC;;;OAGG;IACH,8BAHW,OAAO,kBAAkB,EAAE,OAAO,eAClC,OAAO,oBAAoB,EAAE,OAAO,QAEF;IAE7C;;;OAGG;IACH,0BAHW,OAAO,mBAAmB,EAAE,OAAO,2BACnC,OAAO,qBAAqB,EAAE,sBAAsB,QAEX;IAEpD;;;OAGG;IACH,wBAHW,OAAO,kBAAkB,EAAE,OAAO,2BAClC,OAAO,qBAAqB,EAAE,sBAAsB,QAEb;CACnD"}
|
|
@@ -56,7 +56,7 @@ declare class Executor {
|
|
|
56
56
|
* @param {import("../canvas.js").SerializableInstructions} instructions The serializable instructions.
|
|
57
57
|
* @param {boolean} [deferredRendering] Enable deferred rendering.
|
|
58
58
|
*/
|
|
59
|
-
constructor(resolution: number, pixelRatio: number, overlaps: boolean, instructions: import("../canvas.js").SerializableInstructions, deferredRendering?: boolean
|
|
59
|
+
constructor(resolution: number, pixelRatio: number, overlaps: boolean, instructions: import("../canvas.js").SerializableInstructions, deferredRendering?: boolean);
|
|
60
60
|
/**
|
|
61
61
|
* @protected
|
|
62
62
|
* @type {boolean}
|
|
@@ -244,7 +244,7 @@ declare class Executor {
|
|
|
244
244
|
* @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
|
|
245
245
|
* @param {import("rbush").default<DeclutterEntry>} [declutterTree] Declutter tree.
|
|
246
246
|
*/
|
|
247
|
-
execute(context: CanvasRenderingContext2D, scaledCanvasSize: import("../../size.js").Size, transform: import("../../transform.js").Transform, viewRotation: number, snapToPixel: boolean, declutterTree?: import("rbush").default<DeclutterEntry>
|
|
247
|
+
execute(context: CanvasRenderingContext2D, scaledCanvasSize: import("../../size.js").Size, transform: import("../../transform.js").Transform, viewRotation: number, snapToPixel: boolean, declutterTree?: import("rbush").default<DeclutterEntry>): void;
|
|
248
248
|
/**
|
|
249
249
|
* @param {CanvasRenderingContext2D} context Context.
|
|
250
250
|
* @param {import("../../transform.js").Transform} transform Transform.
|
|
@@ -255,7 +255,7 @@ declare class Executor {
|
|
|
255
255
|
* @return {T|undefined} Callback result.
|
|
256
256
|
* @template T
|
|
257
257
|
*/
|
|
258
|
-
executeHitDetection<T>(context: CanvasRenderingContext2D, transform: import("../../transform.js").Transform, viewRotation: number, featureCallback?: FeatureCallback<T
|
|
258
|
+
executeHitDetection<T>(context: CanvasRenderingContext2D, transform: import("../../transform.js").Transform, viewRotation: number, featureCallback?: FeatureCallback<T>, hitExtent?: import("../../extent.js").Extent): T | undefined;
|
|
259
259
|
}
|
|
260
260
|
import ZIndexContext from '../canvas/ZIndexContext.js';
|
|
261
261
|
//# sourceMappingURL=Executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Executor.d.ts","sourceRoot":"","sources":["Executor.js"],"names":[],"mappings":";6BA2Ba,OAAO,wBAAwB,EAAE,KAAK,CAAC,OAAO,kBAAkB,EAAE,WAAW,CAAC;;;;;g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AEjB;;;OAGG;IACH,gBAAiB;IAEjB;;;OAGG;IACH,uBAAoE;IAGtE;;OAEG;IACH,oBAFY,aAAa,CAIxB;IAED;;;;;;OAMG;IACH,kBANW,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC,WACpB,MAAM,WACN,MAAM,aACN,MAAM,GACL,OAAO,cAAc,EAAE,KAAK,CA6GvC;IAED;;;;;;;;OAQG;IACH,+BARW,wBAAwB,MACxB,OAAO,qBAAqB,EAAE,UAAU,MACxC,OAAO,qBAAqB,EAAE,UAAU,MACxC,OAAO,qBAAqB,EAAE,UAAU,MACxC,OAAO,qBAAqB,EAAE,UAAU,mBACxC,KAAK,CAAC,GAAC,CAAC,qBACR,KAAK,CAAC,GAAC,CAAC,QA4BlB;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,yCA+FC;IAED;;;;;;;;;;OAUG;IACH,4BAgDC;IAED;;;OAGG;IACH,cAgBC;IAED;;;;OAIG;IACH,wBASC;IAED;;;;;;;OAOG;IACH,qCA2BC;IAED;;;;;;;;;;;;;OAaG;IACH,iBAskBC;IAED;;;;;;;OAOG;IACH,iBAPW,wBAAwB,oBACxB,OAAO,eAAe,EAAE,IAAI,aAC5B,OAAO,oBAAoB,EAAE,SAAS,gBACtC,MAAM,eACN,OAAO,kBACP,OAAO,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,QAqBjD;IAED;;;;;;;;;OASG;IACH,oBAFa,CAAC,WAPH,wBAAwB,aACxB,OAAO,oBAAoB,EAAE,SAAS,gBACtC,MAAM,oBACN,eAAe,CAAC,CAAC,CAAC,cAClB,OAAO,iBAAiB,EAAE,MAAM,GAE/B,CAAC,GAAC,SAAS,CAoBtB;CACF;0BA9wCyB,4BAA4B"}
|
|
@@ -38,7 +38,7 @@ declare class ExecutorGroup {
|
|
|
38
38
|
*/
|
|
39
39
|
constructor(maxExtent: import("../../extent.js").Extent, resolution: number, pixelRatio: number, overlaps: boolean, allInstructions: {
|
|
40
40
|
[x: string]: any;
|
|
41
|
-
}, renderBuffer?: number
|
|
41
|
+
}, renderBuffer?: number, deferredRendering?: boolean);
|
|
42
42
|
/**
|
|
43
43
|
* @private
|
|
44
44
|
* @type {import("../../extent.js").Extent}
|
|
@@ -137,7 +137,7 @@ declare class ExecutorGroup {
|
|
|
137
137
|
* @param {import("rbush").default<import('./Executor.js').DeclutterEntry>|null} [declutterTree] Declutter tree.
|
|
138
138
|
* When set to null, no decluttering is done, even when the executor group has a `ZIndexContext`.
|
|
139
139
|
*/
|
|
140
|
-
execute(targetContext: CanvasRenderingContext2D, scaledCanvasSize: import("../../size.js").Size, transform: import("../../transform.js").Transform, viewRotation: number, snapToPixel: boolean, builderTypes?: import("../canvas.js").BuilderType
|
|
140
|
+
execute(targetContext: CanvasRenderingContext2D, scaledCanvasSize: import("../../size.js").Size, transform: import("../../transform.js").Transform, viewRotation: number, snapToPixel: boolean, builderTypes?: Array<import("../canvas.js").BuilderType>, declutterTree?: import("rbush").default<import("./Executor.js").DeclutterEntry> | null): void;
|
|
141
141
|
getDeferredZIndexContexts(): {
|
|
142
142
|
[x: number]: import("./ZIndexContext.js").default[];
|
|
143
143
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutorGroup.d.ts","sourceRoot":"","sources":["ExecutorGroup.js"],"names":[],"mappings":"AAodA;;;;;;GAMG;AACH,2CAHW,MAAM,GACL,KAAK,CAAC,MAAM,CAAC,CA2CxB;AArfD;;;GAGG;AACH,kBAFU,KAAK,CAAC,OAAO,cAAc,EAAE,WAAW,CAAC,CASjD;AAEF;;;GAGG;AACH,wBAFU,KAAK,CAAC,OAAO,cAAc,EAAE,WAAW,CAAC,CAER;AAE3C;;;GAGG;AACH,4BAFU,KAAK,CAAC,OAAO,cAAc,EAAE,WAAW,CAAC,CAIjD;;AAEF;IACE;;;;;;;;;;;;OAYG;IACH,uBAZW,OAAO,iBAAiB,EAAE,MAAM,cAIhC,MAAM,cACN,MAAM,YACN,OAAO,mBACP;Y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E,IAA8C,EAA9C,OAAO,8BAA8B,EAAE,OAAO,EAAE,IAAM,EAAN,MAAM,KAAG,CAAC,uBAC3G,KAAK,CAAC,OAAO,kBAAkB,EAAE,WAAW,CAAC,GAC5C,CAAC,GAAC,SAAS,CA6HtB;IAED;;;OAGG;IACH,yBAHW,OAAO,oBAAoB,EAAE,SAAS,GACrC,KAAK,CAAC,MAAM,CAAC,GAAC,IAAI,CAc7B;IAED;;OAEG;IACH,WAFY,OAAO,CAIlB;IAED;;;;;;;;;;OAUG;IACH,uBAVW,wBAAwB,oBACxB,OAAO,eAAe,EAAE,IAAI,aAC5B,OAAO,oBAAoB,EAAE,SAAS,gBACtC,MAAM,eACN,OAAO,iBACP,KAAK,CAAC,OAAO,cAAc,EAAE,WAAW,CAAC,kBAEzC,OAAO,OAAO,EAAE,OAAO,CAAC,OAAO,eAAe,EAAE,cAAc,CAAC,GAAC,IAAI,QAqF9E;IAED;;MAEC;IAED,+CAEC;IAED,uBAUC;CACF"}
|
|
@@ -18,7 +18,7 @@ declare class CanvasImmediateRenderer extends VectorContext {
|
|
|
18
18
|
* @param {number} [squaredTolerance] Optional squared tolerance for simplification.
|
|
19
19
|
* @param {import("../../proj.js").TransformFunction} [userTransform] Transform from user to view projection.
|
|
20
20
|
*/
|
|
21
|
-
constructor(context: CanvasRenderingContext2D, pixelRatio: number, extent: import("../../extent.js").Extent, transform: import("../../transform.js").Transform, viewRotation: number, squaredTolerance?: number
|
|
21
|
+
constructor(context: CanvasRenderingContext2D, pixelRatio: number, extent: import("../../extent.js").Extent, transform: import("../../transform.js").Transform, viewRotation: number, squaredTolerance?: number, userTransform?: import("../../proj.js").TransformFunction);
|
|
22
22
|
/**
|
|
23
23
|
* @private
|
|
24
24
|
* @type {CanvasRenderingContext2D}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Immediate.d.ts","sourceRoot":"","sources":["Immediate.js"],"names":[],"mappings":";AAgCA;;;;;;;;GAQG;AACH;IACE;;;;;;;;OAQG;IACH,qBARW,wBAAwB,cACxB,MAAM,UACN,OAAO,iBAAiB,EAAE,MAAM,aAChC,OAAO,oBAAoB,EAAE,SAAS,gBACtC,MAAM,
|
|
1
|
+
{"version":3,"file":"Immediate.d.ts","sourceRoot":"","sources":["Immediate.js"],"names":[],"mappings":";AAgCA;;;;;;;;GAQG;AACH;IACE;;;;;;;;OAQG;IACH,qBARW,wBAAwB,cACxB,MAAM,UACN,OAAO,iBAAiB,EAAE,MAAM,aAChC,OAAO,oBAAoB,EAAE,SAAS,gBACtC,MAAM,qBACN,MAAM,kBACN,OAAO,eAAe,EAAE,iBAAiB,EAgOnD;IAnNC;;;OAGG;IACH,iBAAuB;IAEvB;;;OAGG;IACH,oBAA6B;IAE7B;;;OAGG;IACH,gBAAqB;IAErB;;;OAGG;IACH,mBAA2B;IAE3B;;;OAGG;IACH,2BAEK;IAEL;;;OAGG;IACH,sBAAiC;IAEjC;;;OAGG;IACH,0BAAyC;IAEzC;;;OAGG;IACH,uBAAmC;IAEnC;;;OAGG;IACH,0BAA6B;IAE7B;;;OAGG;IACH,4BAA+B;IAE/B;;;OAGG;IACH,0BAA6B;IAE7B;;;OAGG;IACH,mBAAsB;IAEtB;;;OAGG;IACH,qBAAwB;IAExB;;;OAGG;IACH,eAAkB;IAElB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,qBAAqB;IAErB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,6BAAiC;IAEjC;;;OAGG;IACH,uBAAuB;IAEvB;;;OAGG;IACH,oBAAyB;IAEzB;;;OAGG;IACH,oBAAoB;IAEpB;;;OAGG;IACH,cAAe;IAEf;;;OAGG;IACH,qBAAqB;IAErB;;;OAGG;IACH,qBAAqB;IAErB;;;OAGG;IACH,4BAAgC;IAEhC;;;OAGG;IACH,sBAAsB;IAEtB;;;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;;OAGG;IACH,+BAmDC;IAED;;;OAGG;IACH,6BA6BC;IAkED;;;;;;OAMG;IACH,mCAHW,OAAO,sBAAsB,EAAE,OAAO,QA2BhD;IAED;;;;;;OAMG;IACH,iCAHW,OAAO,qBAAqB,EAAE,OAAO,QA8F/C;CACF;0BAlqCyB,qBAAqB"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @param {import("../../proj/Projection.js").default} [projection] Render projection.
|
|
15
15
|
* @return {ImageData} Hit detection image data.
|
|
16
16
|
*/
|
|
17
|
-
export function createHitDetectionImageData(size: import("../../size.js").Size, transforms: Array<import("../../transform.js").Transform>, features: Array<import("../../Feature.js").FeatureLike>, styleFunction: import("../../style/Style.js").StyleFunction | undefined, extent: import("../../extent.js").Extent, resolution: number, rotation: number, squaredTolerance?: number
|
|
17
|
+
export function createHitDetectionImageData(size: import("../../size.js").Size, transforms: Array<import("../../transform.js").Transform>, features: Array<import("../../Feature.js").FeatureLike>, styleFunction: import("../../style/Style.js").StyleFunction | undefined, extent: import("../../extent.js").Extent, resolution: number, rotation: number, squaredTolerance?: number, projection?: import("../../proj/Projection.js").default): ImageData;
|
|
18
18
|
/**
|
|
19
19
|
* @param {import("../../pixel").Pixel} pixel Pixel coordinate on the hit
|
|
20
20
|
* detection canvas in css pixels.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hitdetect.d.ts","sourceRoot":"","sources":["hitdetect.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;GAeG;AACH,kDAfW,OAAO,eAAe,EAAE,IAAI,cAC5B,KAAK,CAAC,OAAO,oBAAoB,EAAE,SAAS,CAAC,YAG7C,KAAK,CAAC,OAAO,kBAAkB,EAAE,WAAW,CAAC,iBAE7C,OAAO,sBAAsB,EAAE,aAAa,GAAC,SAAS,UAEtD,OAAO,iBAAiB,EAAE,MAAM,cAChC,MAAM,YACN,MAAM,
|
|
1
|
+
{"version":3,"file":"hitdetect.d.ts","sourceRoot":"","sources":["hitdetect.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;GAeG;AACH,kDAfW,OAAO,eAAe,EAAE,IAAI,cAC5B,KAAK,CAAC,OAAO,oBAAoB,EAAE,SAAS,CAAC,YAG7C,KAAK,CAAC,OAAO,kBAAkB,EAAE,WAAW,CAAC,iBAE7C,OAAO,sBAAsB,EAAE,aAAa,GAAC,SAAS,UAEtD,OAAO,iBAAiB,EAAE,MAAM,cAChC,MAAM,YACN,MAAM,qBACN,MAAM,eACN,OAAO,0BAA0B,EAAE,OAAO,GACzC,SAAS,CA6IpB;AAED;;;;;;;;;GASG;AACH,0BAFsD,CAAC,SAA1C,OAAQ,kBAAkB,EAAE,WAAY,SAP1C,OAAO,aAAa,EAAE,KAAK,YAE3B,KAAK,CAAC,CAAC,CAAC,aAER,SAAS,GAER,KAAK,CAAC,CAAC,CAAC,CA0BnB;AAhMD,oCAAqC,GAAG,CAAC"}
|
package/render/canvas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["canvas.js"],"names":[],"mappings":"AAiVA;;;;GAIG;AACH,uCAJW,MAAM,QACN,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,+CALW,MAAM,QACN,MAAM,
|
|
1
|
+
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["canvas.js"],"names":[],"mappings":"AAiVA;;;;GAIG;AACH,uCAJW,MAAM,QACN,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,+CALW,MAAM,QACN,MAAM;;IAEL,MAAM,CAWjB;AAED;;;;GAIG;AACH,6CAJW,SAAS,UACT,KAAK,CAAC,MAAM,CAAC,GACZ;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC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AEH;AA4ErB,kDAmBN;AAYM,yDAiCN;0BApTU,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS;;;;;eAKjE,OAAO,iBAAiB,EAAE,SAAS;;;;;;WAKnC,MAAM;;;;YACN,MAAM;;;;yBACN,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;qBAQpB,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASb,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;aAUb,aAAa;;;;cACb,KAAK,CAAC,MAAM,CAAC;;;;oBACb,MAAM;;;;cACN,cAAc;;;;eACd,MAAM;;;;gBACN,MAAM;;;;iBACN,OAAO,iBAAiB,EAAE,SAAS;;;;;;UAKnC,MAAM;;;;;;;;;;;;;;;;kBAIN,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYlB,KAAK,CAAC,GAAC,CAAC;;;;8BACR,KAAK,CAAC,GAAC,CAAC;;;;iBACR,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;uBA3EJ,cAAc"}
|
|
@@ -189,12 +189,12 @@ declare class MixedGeometryBatch {
|
|
|
189
189
|
* @param {Array<Feature|RenderFeature>} features Array of features to add to the batch
|
|
190
190
|
* @param {import("../../proj.js").TransformFunction} [projectionTransform] Projection transform.
|
|
191
191
|
*/
|
|
192
|
-
addFeatures(features: Array<Feature | RenderFeature>, projectionTransform?: import("../../proj.js").TransformFunction
|
|
192
|
+
addFeatures(features: Array<Feature | RenderFeature>, projectionTransform?: import("../../proj.js").TransformFunction): void;
|
|
193
193
|
/**
|
|
194
194
|
* @param {Feature|RenderFeature} feature Feature to add to the batch
|
|
195
195
|
* @param {import("../../proj.js").TransformFunction} [projectionTransform] Projection transform.
|
|
196
196
|
*/
|
|
197
|
-
addFeature(feature: Feature | RenderFeature, projectionTransform?: import("../../proj.js").TransformFunction
|
|
197
|
+
addFeature(feature: Feature | RenderFeature, projectionTransform?: import("../../proj.js").TransformFunction): void;
|
|
198
198
|
/**
|
|
199
199
|
* @param {Feature|RenderFeature} feature Feature
|
|
200
200
|
* @return {GeometryBatchItem|void} the cleared entry
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MixedGeometryBatch.d.ts","sourceRoot":"","sources":["MixedGeometryBatch.js"],"names":[],"mappings":";sBAQa,OAAO,kBAAkB,EAAE,OAAO;2BAGlC,OAAO,wBAAwB,EAAE,IAAI;;;;;;;;aAKpC,OAAO,GAAC,aAAa;;;;iBACrB,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;4BAQrB,kBAAkB,GAAC,uBAAuB,GAAC,oBAAoB
|
|
1
|
+
{"version":3,"file":"MixedGeometryBatch.d.ts","sourceRoot":"","sources":["MixedGeometryBatch.js"],"names":[],"mappings":";sBAQa,OAAO,kBAAkB,EAAE,OAAO;2BAGlC,OAAO,wBAAwB,EAAE,IAAI;;;;;;;;aAKpC,OAAO,GAAC,aAAa;;;;iBACrB,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;4BAQrB,kBAAkB,GAAC,uBAAuB,GAAC,oBAAoB;;;;;;;;;;;;;;;qBAO9D,MAAM;;;;mBACN,MAAM;;;;gBACN,MAAM;;;;;;;;;;;;;;;;qBAON,MAAM;;;;mBACN,MAAM;;;;;;;;;;;;;;;;qBAON,MAAM;;AA1CpB;;GAEG;AACH;;GAEG;AAEH;;;;;;;;GAQG;AAEH;;GAEG;AAEH;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH;IAEI;;OAEG;IACH,uBAAuB;IAEvB;;;;OAIG;IACH,sBAA8B;IAE9B;;;;OAIG;IACH,kBAA0B;IAE1B;;;;;OAKG;IACH,uBAAwB;IAExB;;OAEG;IACH,cAFU,oBAAoB,CAO7B;IAED;;OAEG;IACH,YAFU,kBAAkB,CAK3B;IAED;;OAEG;IACH,iBAFU,uBAAuB,CAMhC;IAGH;;;OAGG;IACH,sBAHW,KAAK,CAAC,OAAO,GAAC,aAAa,CAAC,wBAC5B,OAAO,eAAe,EAAE,iBAAiB,QAMnD;IAED;;;OAGG;IACH,oBAHW,OAAO,GAAC,aAAa,wBACrB,OAAO,eAAe,EAAE,iBAAiB,QAYnD;IAED;;;;OAIG;IACH,uCAQC;IAED;;;;OAIG;IACH,4CASC;IAED;;;;OAIG;IACH,yCAUC;IAED;;;;OAIG;IACH,qBA2GC;IAED;;;;;;;;;OASG;IACH,wBAyJC;IAED;;;;;OAKG;IACH,uBAYC;IAED;;;;;OAKG;IACH,mBAOC;IAED;;OAEG;IACH,uBAFW,OAAO,GAAC,aAAa,QAS/B;IAED;;OAEG;IACH,uBAFW,OAAO,GAAC,aAAa,QAU/B;IAED,cAcC;IAED;;;;OAIG;IACH,uBAHW,MAAM,GACL,OAAO,GAAC,aAAa,CAIhC;CACF;0BAljByB,yBAAyB"}
|
|
@@ -35,7 +35,7 @@ export type AttributeDefinitions = {
|
|
|
35
35
|
[x: string]: AttributeDefinition;
|
|
36
36
|
};
|
|
37
37
|
export type UniformDefinitions = {
|
|
38
|
-
[x: string]: import("../../webgl/Helper").UniformValue;
|
|
38
|
+
[x: string]: import("../../webgl/Helper.js").UniformValue;
|
|
39
39
|
};
|
|
40
40
|
export type WebGLBuffers = {
|
|
41
41
|
/**
|
|
@@ -159,10 +159,11 @@ export type VectorStyle = import("../../style/webgl.js").WebGLStyle | StyleShade
|
|
|
159
159
|
declare class VectorStyleRenderer {
|
|
160
160
|
/**
|
|
161
161
|
* @param {VectorStyle} styleOrShaders Literal style or custom shaders
|
|
162
|
+
* @param {import('../../style/flat.js').StyleVariables} variables Style variables
|
|
162
163
|
* @param {import('../../webgl/Helper.js').default} helper Helper
|
|
163
164
|
* @param {boolean} enableHitDetection Whether to enable the hit detection (needs compatible shader)
|
|
164
165
|
*/
|
|
165
|
-
constructor(styleOrShaders: VectorStyle, helper: import("../../webgl/Helper.js").default, enableHitDetection: boolean);
|
|
166
|
+
constructor(styleOrShaders: VectorStyle, variables: import("../../style/flat.js").StyleVariables, helper: import("../../webgl/Helper.js").default, enableHitDetection: boolean);
|
|
166
167
|
/**
|
|
167
168
|
* @private
|
|
168
169
|
* @type {import('../../webgl/Helper.js').default}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorStyleRenderer.d.ts","sourceRoot":"","sources":["VectorStyleRenderer.js"],"names":[],"mappings":";;;;yBA4BU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBF,CAAS,IAAwD,EAAnD,OAAO,yBAAyB,EAAE,iBAAiB,EAAE,IAAmC,EAAnC,OAAO,eAAe,EAAE,WAAW,KAAE,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"VectorStyleRenderer.d.ts","sourceRoot":"","sources":["VectorStyleRenderer.js"],"names":[],"mappings":";;;;yBA4BU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBF,CAAS,IAAwD,EAAnD,OAAO,yBAAyB,EAAE,iBAAiB,EAAE,IAAmC,EAAnC,OAAO,eAAe,EAAE,WAAW,KAAE,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;;;oBAW5H,KAAK,CAAC,gBAAgB,CAAC;;;;uBACvB,KAAK,CAAC,gBAAgB,CAAC;;;;kBACvB,KAAK,CAAC,gBAAgB,CAAC;;;;6BACvB,OAAO,oBAAoB,EAAE,SAAS;;;;;;yBAKtC,YAAY,GAAC,IAAI;;;;4BACjB,YAAY,GAAC,IAAI;;;;uBACjB,YAAY,GAAC,IAAI;;;;;;;;;YAKjB,MAAM;;;;cACN,MAAM;;;;;;aAKN,OAAO,8BAA8B,EAAE,aAAa;;;;;;;;;;;;;;;0BAOr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"}
|
|
@@ -104,10 +104,11 @@ export const Attributes = {
|
|
|
104
104
|
class VectorStyleRenderer {
|
|
105
105
|
/**
|
|
106
106
|
* @param {VectorStyle} styleOrShaders Literal style or custom shaders
|
|
107
|
+
* @param {import('../../style/flat.js').StyleVariables} variables Style variables
|
|
107
108
|
* @param {import('../../webgl/Helper.js').default} helper Helper
|
|
108
109
|
* @param {boolean} enableHitDetection Whether to enable the hit detection (needs compatible shader)
|
|
109
110
|
*/
|
|
110
|
-
constructor(styleOrShaders, helper, enableHitDetection) {
|
|
111
|
+
constructor(styleOrShaders, variables, helper, enableHitDetection) {
|
|
111
112
|
/**
|
|
112
113
|
* @private
|
|
113
114
|
* @type {import('../../webgl/Helper.js').default}
|
|
@@ -125,6 +126,7 @@ class VectorStyleRenderer {
|
|
|
125
126
|
/** @type {import('../../style/webgl.js').WebGLStyle} */ (
|
|
126
127
|
styleOrShaders
|
|
127
128
|
),
|
|
129
|
+
variables,
|
|
128
130
|
);
|
|
129
131
|
shaders = {
|
|
130
132
|
builder: parseResult.builder,
|
|
@@ -225,7 +227,7 @@ class VectorStyleRenderer {
|
|
|
225
227
|
|
|
226
228
|
const customAttributesDesc = Object.entries(this.customAttributes_).map(
|
|
227
229
|
([name, value]) => ({
|
|
228
|
-
name: `
|
|
230
|
+
name: `a_${name}`,
|
|
229
231
|
size: value.size || 1,
|
|
230
232
|
type: AttributeType.FLOAT,
|
|
231
233
|
}),
|
package/render/webgl/utils.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @property {number} indexPosition New position in the index buffer where future writes should start.
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
14
|
-
export function writePointFeatureToBuffers(instructions: Float32Array, elementIndex: number, vertexBuffer: Float32Array, indexBuffer: Uint32Array, customAttributesSize: number, bufferPositions?: BufferPositions
|
|
14
|
+
export function writePointFeatureToBuffers(instructions: Float32Array, elementIndex: number, vertexBuffer: Float32Array, indexBuffer: Uint32Array, customAttributesSize: number, bufferPositions?: BufferPositions): BufferPositions;
|
|
15
15
|
/**
|
|
16
16
|
* Pushes a single quad to form a line segment; also includes a computation for the join angles with previous and next
|
|
17
17
|
* segment, in order to be able to offset the vertices correctly in the shader.
|
|
@@ -74,7 +74,7 @@ export function getBlankImageData(): ImageData;
|
|
|
74
74
|
* @param {Array<number>} [array] Reusable array
|
|
75
75
|
* @return {Array<number>} Color array containing the encoded id
|
|
76
76
|
*/
|
|
77
|
-
export function colorEncodeId(id: number, array?: number
|
|
77
|
+
export function colorEncodeId(id: number, array?: Array<number>): Array<number>;
|
|
78
78
|
/**
|
|
79
79
|
* Reads an id from a color-encoded array
|
|
80
80
|
* Note: the expected range for each component is 0 to 1 with 256 steps.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.js"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;GAYG;AACH,yDAXW,YAAY,gBACZ,MAAM,gBACN,YAAY,eACZ,WAAW,wBACX,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.js"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;GAYG;AACH,yDAXW,YAAY,gBACZ,MAAM,gBACN,YAAY,eACZ,WAAW,wBACX,MAAM,oBACN,eAAe,GACd,eAAe,CAgE1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wDAdW,YAAY,qBACZ,MAAM,mBACN,MAAM,sBACN,MAAM,GAAC,IAAI,qBACX,MAAM,GAAC,IAAI,eACX,KAAK,CAAC,MAAM,CAAC,cACb,KAAK,CAAC,MAAM,CAAC,oBACb,KAAK,CAAC,MAAM,CAAC,oBACb,OAAO,oBAAoB,EAAE,SAAS,iBACtC,MAAM,0BACN,MAAM,GACL;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAgM1C;AAED;;;;;;;;;GASG;AACH,6DARW,YAAY,qBACZ,MAAM,eACN,KAAK,CAAC,MAAM,CAAC,cACb,KAAK,CAAC,MAAM,CAAC,wBACb,MAAM,GACL,MAAM,CA0CjB;AAED;;;;GAIG;AACH,qCAFY,SAAS,CAUpB;AAED;;;;;;GAMG;AACH,kCAJW,MAAM,UACN,KAAK,CAAC,MAAM,CAAC,GACZ,KAAK,CAAC,MAAM,CAAC,CAWxB;AAED;;;;;GAKG;AACH,qCAHW,KAAK,CAAC,MAAM,CAAC,GACZ,MAAM,CAWjB;AAxaD,6CAA8C,KAAK,CAAC;;;;;;;;oBAQtC,MAAM;;;;mBACN,MAAM"}
|
package/render.d.ts
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
* @return {CanvasImmediateRenderer} Canvas Immediate.
|
|
52
52
|
* @api
|
|
53
53
|
*/
|
|
54
|
-
export function toContext(context: CanvasRenderingContext2D, options?: ToContextOptions
|
|
54
|
+
export function toContext(context: CanvasRenderingContext2D, options?: ToContextOptions): CanvasImmediateRenderer;
|
|
55
55
|
/**
|
|
56
56
|
* Gets a vector context for drawing to the event's canvas.
|
|
57
57
|
* @param {import("./render/Event.js").default} event Render event.
|
package/render.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["render.js"],"names":[],"mappings":"AAcA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AAEH;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,mCALW,wBAAwB,
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["render.js"],"names":[],"mappings":"AAcA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AAEH;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,mCALW,wBAAwB,YACxB,gBAAgB,GACf,uBAAuB,CAiBlC;AAED;;;;;GAKG;AACH,wCAJW,OAAO,mBAAmB,EAAE,OAAO,GAClC,uBAAuB,CAuClC;AAED;;;;;;;GAOG;AACH,sCANW,OAAO,mBAAmB,EAAE,OAAO,SACnC,OAAO,YAAY,EAAE,KAAK,GAEzB,OAAO,YAAY,EAAE,KAAK,CAKrC;;;;;aA5Ha,wBAAwB;;;;aACxB,OAAO,cAAc,EAAE,WAAW;;;;cAClC,OAAO,0BAA0B,EAAE,OAAO;;;;gBAC1C,MAAM;;;;;gBACN,MAAM;;;;cAEN,MAAM;;;;;;;4BAQP,CAAS,IAAkC,EAAlC,OAAO,cAAc,EAAE,WAAW,EAAE,IAAkC,EAAlC,OAAO,cAAc,EAAE,WAAW,KAAE,MAAM;;;;;;;;;;;;;;;oCA3BhE,8BAA8B"}
|
package/renderer/Map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["Map.js"],"names":[],"mappings":";qBAaa,CAAC;;;;aAEA,OAAO,eAAe,EAAE,WAAW;;;;WACnC,OAAO,mBAAmB,EAAE,OAAO;;;;cACnC,OAAO,2BAA2B,EAAE,OAAO;;;;gBAC3C,MAAM;;;;cACN,OAAO,aAAa,EAAE,eAAe,CAAC,CAAC,CAAC;;AAPtD;;;;;;;;GAQG;AAEH;;GAEG;AACH;IACE;;OAEG;IACH,iBAFW,OAAO,WAAW,EAAE,OAAO,EAUrC;IALC;;;OAGG;IACH,aAAe;IAGjB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["Map.js"],"names":[],"mappings":";qBAaa,CAAC;;;;aAEA,OAAO,eAAe,EAAE,WAAW;;;;WACnC,OAAO,mBAAmB,EAAE,OAAO;;;;cACnC,OAAO,2BAA2B,EAAE,OAAO;;;;gBAC3C,MAAM;;;;cACN,OAAO,aAAa,EAAE,eAAe,CAAC,CAAC,CAAC;;AAPtD;;;;;;;;GAQG;AAEH;;GAEG;AACH;IACE;;OAEG;IACH,iBAFW,OAAO,WAAW,EAAE,OAAO,EAUrC;IALC;;;OAGG;IACH,aAAe;IAGjB;;;;OAIG;IACH,2CAFW,OAAO,WAAW,EAAE,UAAU,QAIxC;IAED;;;OAGG;IACH,0CAHW,OAAO,WAAW,EAAE,UAAU,QAoBxC;IAED;;;;;;;;;;;;;;OAcG;IACH,2BAFa,CAAC,EAAC,CAAC,EAAC,CAAC,cAZP,OAAO,kBAAkB,EAAE,UAAU,cACrC,OAAO,WAAW,EAAE,UAAU,gBAC9B,MAAM,gBACN,OAAO,YACP,OAAO,aAAa,EAAE,eAAe,CAAC,CAAC,CAAC,WACxC,CAAC,eACD,CAAS,IAAO,EAAD,CAAC,EAAE,IAAmC,EAAnC,OAAO,mBAAmB,EAAE,OAAO,KAAG,OAAO,YAI/D,CAAC,GACA,CAAC,GAAC,SAAS,CAuFtB;IAED;;;;;;;;;;;;OAYG;IACH,uBAFa,CAAC,cAVH,OAAO,kBAAkB,EAAE,UAAU,cACrC,OAAO,WAAW,EAAE,UAAU,gBAC9B,MAAM,gBACN,OAAO,eACP,CAAS,IAAO,EAAD,CAAC,EAAE,IAAmC,EAAnC,OAAO,mBAAmB,EAAE,OAAO,KAAG,OAAO,WAI/D,CAAC,GACA,OAAO,CAuBlB;IAED;;OAEG;IACH,UAFY,OAAO,WAAW,EAAE,OAAO,CAItC;IAED;;;;OAIG;IACH,wBAFY,OAAO,WAAW,EAAE,UAAU,OAAA,QAIzC;IAED;;;OAGG;IACH,8CAHW,OAAO,WAAW,EAAE,UAAU,QAOxC;CACF;uBArOsB,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageLayer.d.ts","sourceRoot":"","sources":["ImageLayer.js"],"names":[],"mappings":";AAqBA;;;;GAIG;AACH;IACE;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"ImageLayer.d.ts","sourceRoot":"","sources":["ImageLayer.js"],"names":[],"mappings":";AAqBA;;;;GAIG;AACH;IACE;;OAEG;IACH,qEAQC;IALC;;;OAGG;IACH,iBAFW,OAAO,gBAAgB,EAAE,OAAO,OAAA,CAE1B;IAGnB;;OAEG;IACH,YAFY,OAAO,mBAAmB,EAAE,SAAS,CAIhD;IAsDD;;;;OAIG;IACH,wBAJW,OAAO,gBAAgB,EAAE,KAAK,GAC7B,iBAAiB,CA0C5B;IAED;;;;;;OAMG;IACH,iCALW,OAAO,cAAc,EAAE,UAAU,UACjC,WAAW,GACV,WAAW,CAwFtB;CACF;gCA3O+B,YAAY"}
|
|
@@ -76,7 +76,7 @@ declare class CanvasLayerRenderer<LayerType extends import("../../layer/Layer.js
|
|
|
76
76
|
* @param {string} transform CSS Transform.
|
|
77
77
|
* @param {string} [backgroundColor] Background color.
|
|
78
78
|
*/
|
|
79
|
-
useContainer(target: HTMLElement, transform: string, backgroundColor?: string
|
|
79
|
+
useContainer(target: HTMLElement, transform: string, backgroundColor?: string): void;
|
|
80
80
|
/**
|
|
81
81
|
* @param {CanvasRenderingContext2D} context Context.
|
|
82
82
|
* @param {import("../../Map.js").FrameState} frameState Frame state.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["Layer.js"],"names":[],"mappings":"AA0BA;;GAEG;AACH,yBAFU,KAAK,CAAC,iBAAiB,CAAC,CAEL;;AAa7B;;;;GAIG;AACH,kCAHsD,SAAS,SAAlD,OAAQ,sBAAsB,EAAE,OAAQ;IAUjD;;;OAGG;IACH,qBAFU,WAAW,CAEA;IAErB;;;OAGG;IACH,8BAFU,MAAM,CAEO;IAEvB;;;;;OAKG;IACH,yBAFU,OAAO,oBAAoB,EAAE,SAAS,CAEV;IAEtC;;;;;OAKG;IACH,0BAFU,OAAO,oBAAoB,EAAE,SAAS,CAET;IAEvC;;;;;OAKG;IACH,iCAFU,OAAO,oBAAoB,EAAE,SAAS,CAEF;IAE9C;;OAEG;IACH,SAFU,wBAAwB,CAEf;IAEnB;;;OAGG;IACH,yBAA4B;IAE5B;;OAEG;IACH,iBAFU,OAAO,CAEW;IAE5B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c,EAAE,UAAU,UACjC,OAAO,iBAAiB,EAAE,MAAM,QA2B1C;IAED;;;;OAIG;IACH,uCAJW,OAAO,cAAc,EAAE,UAAU,UACjC,WAAW,QAsCrB;IAED;;;;;OAKG;IACH,6BAWC;IAED;;;;OAIG;IACH,6BAJW,wBAAwB,cACxB,OAAO,cAAc,EAAE,UAAU,QAS3C;IAED;;;;OAIG;IACH,8BAJW,wBAAwB,cACxB,OAAO,cAAc,EAAE,UAAU,QAQ3C;IAED;;OAEG;IACH,mCAFW,OAAO,cAAc,EAAE,UAAU,QAEP;IAErC;;;OAGG;IACH,6BAHW,OAAO,cAAc,EAAE,UAAU,GAChC,OAAO,sCAAsC,EAAE,kBAAkB,CAS5E;IA2BD;;;;;;;;;;;OAWG;IACH,qCAVW,OAAO,qBAAqB,EAAE,UAAU,cACxC,MAAM,YACN,MAAM,cACN,MAAM,SACN,MAAM,UACN,MAAM,WACN,MAAM,GAEL,OAAQ,oBAAoB,EAAE,SAAS,CA2BlD;CAUF;0BAlayB,aAAa"}
|
|
@@ -24,7 +24,7 @@ declare class CanvasTileLayerRenderer<LayerType extends import("../../layer/Tile
|
|
|
24
24
|
* @param {LayerType} tileLayer Tile layer.
|
|
25
25
|
* @param {Options} [options] Options.
|
|
26
26
|
*/
|
|
27
|
-
constructor(tileLayer: LayerType, options?: Options
|
|
27
|
+
constructor(tileLayer: LayerType, options?: Options);
|
|
28
28
|
/**
|
|
29
29
|
* Rendered extent has changed since the previous `renderFrame()` call
|
|
30
30
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TileLayer.d.ts","sourceRoot":"","sources":["TileLayer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TileLayer.d.ts","sourceRoot":"","sources":["TileLayer.js"],"names":[],"mappings":";;;;;;;;;;AA0GA;;;GAGG;AAEH;;;;;;GAMG;AACH,sCAHkG,SAAS,SAA7F,OAAO,qBAAqB,EAAE,OAAO,GAAC,OAAO,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