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
package/format/JSONFeature.js
CHANGED
|
@@ -10,8 +10,8 @@ import {abstract} from '../util.js';
|
|
|
10
10
|
* instantiated in apps.
|
|
11
11
|
* Base class for JSON feature formats.
|
|
12
12
|
*
|
|
13
|
-
* @template {import('../Feature.js').
|
|
14
|
-
* @extends {FeatureFormat<
|
|
13
|
+
* @template {import('../Feature.js').FeatureLike} [FeatureType=import("../Feature.js").default]
|
|
14
|
+
* @extends {FeatureFormat<FeatureType>}
|
|
15
15
|
* @abstract
|
|
16
16
|
*/
|
|
17
17
|
class JSONFeature extends FeatureFormat {
|
|
@@ -21,6 +21,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @return {import("./Feature.js").Type} Format.
|
|
24
|
+
* @override
|
|
24
25
|
*/
|
|
25
26
|
getType() {
|
|
26
27
|
return 'json';
|
|
@@ -32,15 +33,14 @@ class JSONFeature extends FeatureFormat {
|
|
|
32
33
|
*
|
|
33
34
|
* @param {ArrayBuffer|Document|Element|Object|string} source Source.
|
|
34
35
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
35
|
-
* @return {
|
|
36
|
+
* @return {FeatureType|Array<FeatureType>} Feature.
|
|
36
37
|
* @api
|
|
38
|
+
* @override
|
|
37
39
|
*/
|
|
38
40
|
readFeature(source, options) {
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
this.getReadOptions(source, options),
|
|
43
|
-
)
|
|
41
|
+
return this.readFeatureFromObject(
|
|
42
|
+
getObject(source),
|
|
43
|
+
this.getReadOptions(source, options),
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -50,15 +50,14 @@ class JSONFeature extends FeatureFormat {
|
|
|
50
50
|
*
|
|
51
51
|
* @param {ArrayBuffer|Document|Element|Object|string} source Source.
|
|
52
52
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
53
|
-
* @return {Array<
|
|
53
|
+
* @return {Array<FeatureType>} Features.
|
|
54
54
|
* @api
|
|
55
|
+
* @override
|
|
55
56
|
*/
|
|
56
57
|
readFeatures(source, options) {
|
|
57
|
-
return
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
this.getReadOptions(source, options),
|
|
61
|
-
)
|
|
58
|
+
return this.readFeaturesFromObject(
|
|
59
|
+
getObject(source),
|
|
60
|
+
this.getReadOptions(source, options),
|
|
62
61
|
);
|
|
63
62
|
}
|
|
64
63
|
|
|
@@ -67,7 +66,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
67
66
|
* @param {Object} object Object.
|
|
68
67
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
69
68
|
* @protected
|
|
70
|
-
* @return {
|
|
69
|
+
* @return {FeatureType|Array<FeatureType>} Feature.
|
|
71
70
|
*/
|
|
72
71
|
readFeatureFromObject(object, options) {
|
|
73
72
|
return abstract();
|
|
@@ -78,7 +77,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
78
77
|
* @param {Object} object Object.
|
|
79
78
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
80
79
|
* @protected
|
|
81
|
-
* @return {Array<
|
|
80
|
+
* @return {Array<FeatureType>} Features.
|
|
82
81
|
*/
|
|
83
82
|
readFeaturesFromObject(object, options) {
|
|
84
83
|
return abstract();
|
|
@@ -91,6 +90,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
91
90
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
92
91
|
* @return {import("../geom/Geometry.js").default} Geometry.
|
|
93
92
|
* @api
|
|
93
|
+
* @override
|
|
94
94
|
*/
|
|
95
95
|
readGeometry(source, options) {
|
|
96
96
|
return this.readGeometryFromObject(
|
|
@@ -116,6 +116,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
116
116
|
* @param {ArrayBuffer|Document|Element|Object|string} source Source.
|
|
117
117
|
* @return {import("../proj/Projection.js").default} Projection.
|
|
118
118
|
* @api
|
|
119
|
+
* @override
|
|
119
120
|
*/
|
|
120
121
|
readProjection(source) {
|
|
121
122
|
return this.readProjectionFromObject(getObject(source));
|
|
@@ -138,6 +139,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
138
139
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
139
140
|
* @return {string} Encoded feature.
|
|
140
141
|
* @api
|
|
142
|
+
* @override
|
|
141
143
|
*/
|
|
142
144
|
writeFeature(feature, options) {
|
|
143
145
|
return JSON.stringify(this.writeFeatureObject(feature, options));
|
|
@@ -160,6 +162,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
160
162
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
161
163
|
* @return {string} Encoded features.
|
|
162
164
|
* @api
|
|
165
|
+
* @override
|
|
163
166
|
*/
|
|
164
167
|
writeFeatures(features, options) {
|
|
165
168
|
return JSON.stringify(this.writeFeaturesObject(features, options));
|
|
@@ -182,6 +185,7 @@ class JSONFeature extends FeatureFormat {
|
|
|
182
185
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
183
186
|
* @return {string} Encoded geometry.
|
|
184
187
|
* @api
|
|
188
|
+
* @override
|
|
185
189
|
*/
|
|
186
190
|
writeGeometry(geometry, options) {
|
|
187
191
|
return JSON.stringify(this.writeGeometryObject(geometry, options));
|
package/format/KML.d.ts
CHANGED
|
@@ -265,7 +265,7 @@ declare class KML extends XMLFeature {
|
|
|
265
265
|
* @return {Array<KMLCamera>} Cameras.
|
|
266
266
|
* @api
|
|
267
267
|
*/
|
|
268
|
-
readCamera(source: Document | Element | string): {
|
|
268
|
+
readCamera(source: Document | Element | string): Array<{
|
|
269
269
|
/**
|
|
270
270
|
* Latitude of the camera.
|
|
271
271
|
*/
|
|
@@ -294,12 +294,12 @@ declare class KML extends XMLFeature {
|
|
|
294
294
|
* Vertical camera rotation.
|
|
295
295
|
*/
|
|
296
296
|
Roll?: number | undefined;
|
|
297
|
-
}
|
|
297
|
+
}>;
|
|
298
298
|
/**
|
|
299
299
|
* @param {Document} doc Document.
|
|
300
300
|
* @return {Array<KMLCamera>} Cameras.
|
|
301
301
|
*/
|
|
302
|
-
readCameraFromDocument(doc: Document): {
|
|
302
|
+
readCameraFromDocument(doc: Document): Array<{
|
|
303
303
|
/**
|
|
304
304
|
* Latitude of the camera.
|
|
305
305
|
*/
|
|
@@ -328,13 +328,13 @@ declare class KML extends XMLFeature {
|
|
|
328
328
|
* Vertical camera rotation.
|
|
329
329
|
*/
|
|
330
330
|
Roll?: number | undefined;
|
|
331
|
-
}
|
|
331
|
+
}>;
|
|
332
332
|
/**
|
|
333
333
|
* @param {Element} node Node.
|
|
334
334
|
* @return {Array<KMLCamera>} Cameras.
|
|
335
335
|
* @api
|
|
336
336
|
*/
|
|
337
|
-
readCameraFromNode(node: Element): {
|
|
337
|
+
readCameraFromNode(node: Element): Array<{
|
|
338
338
|
/**
|
|
339
339
|
* Latitude of the camera.
|
|
340
340
|
*/
|
|
@@ -363,7 +363,7 @@ declare class KML extends XMLFeature {
|
|
|
363
363
|
* Vertical camera rotation.
|
|
364
364
|
*/
|
|
365
365
|
Roll?: number | undefined;
|
|
366
|
-
}
|
|
366
|
+
}>;
|
|
367
367
|
}
|
|
368
368
|
import XMLFeature from './XMLFeature.js';
|
|
369
369
|
//# sourceMappingURL=KML.d.ts.map
|
package/format/KML.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KML.d.ts","sourceRoot":"","sources":["KML.js"],"names":[],"mappings":"AAmNA;;;GAGG;AACH,uCAFY,IAAI,GAAC,IAAI,CAIpB;AAgCD;;;GAGG;AACH,wCAFY,OAAO,mBAAmB,EAAE,OAAO,GAAC,IAAI,CAInD;AAYD;;;GAGG;AACH,yCAFY,MAAM,GAAC,IAAI,CAItB;AAYD;;;GAGG;AACH,uCAFY,IAAI,GAAC,IAAI,CAIpB;AAOD;;;GAGG;AACH,mCAFY,KAAK,GAAC,IAAI,CAIrB;AAOD;;;GAGG;AACH,wCAFY,
|
|
1
|
+
{"version":3,"file":"KML.d.ts","sourceRoot":"","sources":["KML.js"],"names":[],"mappings":"AAmNA;;;GAGG;AACH,uCAFY,IAAI,GAAC,IAAI,CAIpB;AAgCD;;;GAGG;AACH,wCAFY,OAAO,mBAAmB,EAAE,OAAO,GAAC,IAAI,CAInD;AAYD;;;GAGG;AACH,yCAFY,MAAM,GAAC,IAAI,CAItB;AAYD;;;GAGG;AACH,uCAFY,IAAI,GAAC,IAAI,CAIpB;AAOD;;;GAGG;AACH,mCAFY,KAAK,GAAC,IAAI,CAIrB;AAOD;;;GAGG;AACH,wCAFY,KAAK,CAAC,KAAK,CAAC,GAAC,IAAI,CAI5B;AAw2BD;;;GAGG;AACH,0CAHW,IAAI,GACH,KAAK,CAAC,MAAM,CAAC,GAAC,SAAS,CAsBlC;;;;;;;8BA/yBY,CAAS,IAAM,EAAN,MAAM,KAAE,MAAM;;;;;OAxVtB,MAAM;;;;YACN,OAAO,kBAAkB,EAAE,eAAe;;;;OAC1C,MAAM;;;;YACN,OAAO,kBAAkB,EAAE,eAAe;;;;;;;;;;iBAM1C,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;;;;WACpB,KAAK,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5DV,kBAAkB;mBAUhB,oBAAoB;iBAEtB,kBAAkB;kBADjB,mBAAmB;AA4YrC;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;GAYG;AACH;IACE;;OAEG;IACH,2CA8DC;IAhDC;;;OAGG;IACH,sBAEuB;IAEvB;;;OAGG;IACH,uBACoE;IAEpE;;OAEG;IACH,cAFU,OAAO,CAG+C;IAEhE;;;OAGG;IACH,sBAAuB;IAEvB;;;OAGG;IACH,wBACsE;IAEtE;;OAEG;IACH,cAFU,IAAI,GAAC,MAAM,CAGkD;IAEvE;;OAEG;IACH,kBAFU,eAAe,CAIC;IAK5B;;;;;OAKG;IACH,8BAgBC;IAED;;;;;OAKG;IACH,uBA8CC;IAED;;;;OAIG;IACH,yBAmBC;IAED;;;;OAIG;IACH,4BAqBC;IAiED;;;;;;OAMG;IACH,iBAJW,QAAQ,GAAC,OAAO,GAAC,MAAM,GACtB,MAAM,GAAC,SAAS,CAe3B;IAED;;;OAGG;IACH,0BAHW,QAAQ,GACP,MAAM,GAAC,SAAS,CAY3B;IAED;;;OAGG;IACH,uBAHW,OAAO,GACN,MAAM,GAAC,SAAS,CAwB3B;IAED;;;;;;OAMG;IACH,yBAJW,QAAQ,GAAC,OAAO,GAAC,MAAM,GACtB,KAAK,KAAQ,CAoBxB;IAED;;;OAGG;IACH,kCAHW,QAAQ,GACP,KAAK,KAAQ,CAaxB;IAED;;;OAGG;IACH,+BAHW,OAAO,GACN,KAAK,KAAQ,CAuBxB;IAED;;;;;;OAMG;IACH,mBAJW,QAAQ,GAAC,OAAO,GAAC,MAAM,GACtB,KAAK,KAAQ,CAiBxB;IAED;;;OAGG;IACH,4BAHW,QAAQ,GACP,KAAK,KAAQ,CAUxB;IAED;;;;OAIG;IACH,yBAJW,OAAO,GACN,KAAK,KAAQ,CAqBxB;IAED;;;;;;;;;OASG;IAEH;;;;;;OAMG;IACH,mBAJW,QAAQ,GAAC,OAAO,GAAC,MAAM,GACtB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAW,CAiB3B;IAED;;;OAGG;IACH,4BAHW,QAAQ,GACP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAW,CAU3B;IAED;;;;OAIG;IACH,yBAJW,OAAO,GACN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAW,CAwB3B;CA+CF;uBAz+BsB,iBAAiB"}
|
package/format/KML.js
CHANGED
|
@@ -639,6 +639,7 @@ class KML extends XMLFeature {
|
|
|
639
639
|
* @param {Element} node Node.
|
|
640
640
|
* @param {import("./Feature.js").ReadOptions} [options] Options.
|
|
641
641
|
* @return {import("../Feature.js").default} Feature.
|
|
642
|
+
* @override
|
|
642
643
|
*/
|
|
643
644
|
readFeatureFromNode(node, options) {
|
|
644
645
|
if (!NAMESPACE_URIS.includes(node.namespaceURI)) {
|
|
@@ -658,6 +659,7 @@ class KML extends XMLFeature {
|
|
|
658
659
|
* @param {Element} node Node.
|
|
659
660
|
* @param {import("./Feature.js").ReadOptions} [options] Options.
|
|
660
661
|
* @return {Array<import("../Feature.js").default>} Features.
|
|
662
|
+
* @override
|
|
661
663
|
*/
|
|
662
664
|
readFeaturesFromNode(node, options) {
|
|
663
665
|
if (!NAMESPACE_URIS.includes(node.namespaceURI)) {
|
|
@@ -977,6 +979,7 @@ class KML extends XMLFeature {
|
|
|
977
979
|
* @param {import("./Feature.js").WriteOptions} [options] Options.
|
|
978
980
|
* @return {Node} Node.
|
|
979
981
|
* @api
|
|
982
|
+
* @override
|
|
980
983
|
*/
|
|
981
984
|
writeFeaturesNode(features, options) {
|
|
982
985
|
options = this.adaptOptions(options);
|
|
@@ -1849,7 +1852,7 @@ function readMultiGeometry(node, objectStack) {
|
|
|
1849
1852
|
} else if (type == 'Polygon') {
|
|
1850
1853
|
multiGeometry = new MultiPolygon(geometries);
|
|
1851
1854
|
setCommonGeometryProperties(multiGeometry, geometries);
|
|
1852
|
-
} else if (type == 'GeometryCollection') {
|
|
1855
|
+
} else if (type == 'GeometryCollection' || type.startsWith('Multi')) {
|
|
1853
1856
|
multiGeometry = new GeometryCollection(geometries);
|
|
1854
1857
|
} else {
|
|
1855
1858
|
throw new Error('Unknown geometry type found');
|
|
@@ -2165,6 +2168,7 @@ const PAIR_PARSERS = makeStructureNS(NAMESPACE_URIS, {
|
|
|
2165
2168
|
});
|
|
2166
2169
|
|
|
2167
2170
|
/**
|
|
2171
|
+
* @this {KML}
|
|
2168
2172
|
* @param {Element} node Node.
|
|
2169
2173
|
* @param {Array<*>} objectStack Object stack.
|
|
2170
2174
|
*/
|
package/format/MVT.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export default MVT;
|
|
2
|
-
export type Options<
|
|
2
|
+
export type Options<FeatureType extends import("../Feature.js").FeatureLike = RenderFeature> = {
|
|
3
3
|
/**
|
|
4
4
|
* Class for features returned by
|
|
5
5
|
* {@link module :ol/format/MVT~MVT#readFeatures}. Set to {@link module :ol/Feature~Feature} to get full editing and geometry
|
|
6
6
|
* support at the cost of decreased rendering performance. The default is
|
|
7
7
|
* {@link module :ol/render/Feature~RenderFeature}, which is optimized for rendering and hit detection.
|
|
8
8
|
*/
|
|
9
|
-
featureClass?:
|
|
9
|
+
featureClass?: import("./Feature.js").FeatureToFeatureClass<FeatureType> | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* Geometry name to use when creating features.
|
|
12
12
|
*/
|
|
@@ -26,9 +26,9 @@ export type Options<FeatureClassToFeature extends import("../Feature.js").Featur
|
|
|
26
26
|
idProperty?: string | undefined;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* @template {import("../Feature.js").
|
|
29
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
30
30
|
* @typedef {Object} Options
|
|
31
|
-
* @property {
|
|
31
|
+
* @property {import('./Feature.js').FeatureToFeatureClass<FeatureType>} [featureClass] Class for features returned by
|
|
32
32
|
* {@link module:ol/format/MVT~MVT#readFeatures}. Set to {@link module:ol/Feature~Feature} to get full editing and geometry
|
|
33
33
|
* support at the cost of decreased rendering performance. The default is
|
|
34
34
|
* {@link module:ol/render/Feature~RenderFeature}, which is optimized for rendering and hit detection.
|
|
@@ -42,15 +42,15 @@ export type Options<FeatureClassToFeature extends import("../Feature.js").Featur
|
|
|
42
42
|
* @classdesc
|
|
43
43
|
* Feature format for reading data in the Mapbox MVT format.
|
|
44
44
|
*
|
|
45
|
-
* @template {import('../Feature.js').
|
|
46
|
-
* @extends {FeatureFormat<
|
|
45
|
+
* @template {import('../Feature.js').FeatureLike} [FeatureType=RenderFeature]
|
|
46
|
+
* @extends {FeatureFormat<FeatureType>}
|
|
47
47
|
* @api
|
|
48
48
|
*/
|
|
49
|
-
declare class MVT<
|
|
49
|
+
declare class MVT<FeatureType extends import("../Feature.js").FeatureLike = RenderFeature> extends FeatureFormat<FeatureType> {
|
|
50
50
|
/**
|
|
51
|
-
* @param {Options<
|
|
51
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
52
52
|
*/
|
|
53
|
-
constructor(options?: Options<
|
|
53
|
+
constructor(options?: Options<FeatureType> | undefined);
|
|
54
54
|
/**
|
|
55
55
|
* @private
|
|
56
56
|
* @type {string|undefined}
|
|
@@ -86,7 +86,7 @@ declare class MVT<T extends import("../Feature.js").FeatureClass = typeof Render
|
|
|
86
86
|
* @param {PBF} pbf PBF
|
|
87
87
|
* @param {Object} rawFeature Raw Mapbox feature.
|
|
88
88
|
* @param {import("./Feature.js").ReadOptions} options Read options.
|
|
89
|
-
* @return {
|
|
89
|
+
* @return {FeatureType|null} Feature.
|
|
90
90
|
*/
|
|
91
91
|
private createFeature_;
|
|
92
92
|
/**
|
|
@@ -94,18 +94,20 @@ declare class MVT<T extends import("../Feature.js").FeatureClass = typeof Render
|
|
|
94
94
|
*
|
|
95
95
|
* @param {ArrayBuffer} source Source.
|
|
96
96
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
97
|
-
* @return {Array<
|
|
97
|
+
* @return {Array<FeatureType>} Features.
|
|
98
98
|
* @api
|
|
99
|
+
* @override
|
|
99
100
|
*/
|
|
100
|
-
readFeatures(source: ArrayBuffer, options?: import("./Feature.js").ReadOptions | undefined): Array<
|
|
101
|
+
override readFeatures(source: ArrayBuffer, options?: import("./Feature.js").ReadOptions | undefined): Array<FeatureType>;
|
|
101
102
|
/**
|
|
102
103
|
* Read the projection from the source.
|
|
103
104
|
*
|
|
104
105
|
* @param {Document|Element|Object|string} source Source.
|
|
105
106
|
* @return {import("../proj/Projection.js").default} Projection.
|
|
106
107
|
* @api
|
|
108
|
+
* @override
|
|
107
109
|
*/
|
|
108
|
-
readProjection(source: Document | Element | any | string): import("../proj/Projection.js").default;
|
|
110
|
+
override readProjection(source: Document | Element | any | string): import("../proj/Projection.js").default;
|
|
109
111
|
/**
|
|
110
112
|
* Sets the layers that features will be read from.
|
|
111
113
|
* @param {Array<string>} layers Layers.
|
package/format/MVT.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MVT.d.ts","sourceRoot":"","sources":["MVT.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MVT.d.ts","sourceRoot":"","sources":["MVT.js"],"names":[],"mappings":";oBAmBoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;AADlD;;;;;;;;;;;;GAYG;AAEH;;;;;;;GAOG;AACH,kBAJoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAKhD;;OAEG;IACH,wDA+CC;IA5BC;;;OAGG;IACH,sBAAyC;IAEzC;;;OAGG;IACH,mBAAiE;IAEjE;;;OAGG;IACH,gBAAqD;IAErD;;;OAGG;IACH,oBAAqC;IAQvC;;;;;;;;OAQG;IACH,yBAoDC;IAED;;;;;;OAMG;IACH,uBAmEC;IAUD;;;;;;;;OAQG;IACH,8BANW,WAAW,6DAEV,KAAK,CAAC,WAAW,CAAC,CAiC7B;IAED;;;;;;;OAOG;IACH,gCALW,QAAQ,GAAC,OAAO,SAAQ,MAAM,GAC7B,OAAO,uBAAuB,EAAE,OAAO,CAMlD;IAED;;;;OAIG;IACH,kBAHW,KAAK,CAAC,MAAM,CAAC,QAKvB;CACF;0BA9RyB,sBAAsB;0BATU,cAAc"}
|
package/format/MVT.js
CHANGED
|
@@ -17,9 +17,9 @@ import {get} from '../proj.js';
|
|
|
17
17
|
import {inflateEnds} from '../geom/flat/orient.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @template {import("../Feature.js").
|
|
20
|
+
* @template {import("../Feature.js").FeatureLike} [FeatureType=import("../render/Feature.js").default]
|
|
21
21
|
* @typedef {Object} Options
|
|
22
|
-
* @property {
|
|
22
|
+
* @property {import('./Feature.js').FeatureToFeatureClass<FeatureType>} [featureClass] Class for features returned by
|
|
23
23
|
* {@link module:ol/format/MVT~MVT#readFeatures}. Set to {@link module:ol/Feature~Feature} to get full editing and geometry
|
|
24
24
|
* support at the cost of decreased rendering performance. The default is
|
|
25
25
|
* {@link module:ol/render/Feature~RenderFeature}, which is optimized for rendering and hit detection.
|
|
@@ -34,13 +34,13 @@ import {inflateEnds} from '../geom/flat/orient.js';
|
|
|
34
34
|
* @classdesc
|
|
35
35
|
* Feature format for reading data in the Mapbox MVT format.
|
|
36
36
|
*
|
|
37
|
-
* @template {import('../Feature.js').
|
|
38
|
-
* @extends {FeatureFormat<
|
|
37
|
+
* @template {import('../Feature.js').FeatureLike} [FeatureType=RenderFeature]
|
|
38
|
+
* @extends {FeatureFormat<FeatureType>}
|
|
39
39
|
* @api
|
|
40
40
|
*/
|
|
41
41
|
class MVT extends FeatureFormat {
|
|
42
42
|
/**
|
|
43
|
-
* @param {Options<
|
|
43
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
44
44
|
*/
|
|
45
45
|
constructor(options) {
|
|
46
46
|
super();
|
|
@@ -57,7 +57,9 @@ class MVT extends FeatureFormat {
|
|
|
57
57
|
|
|
58
58
|
this.featureClass = options.featureClass
|
|
59
59
|
? options.featureClass
|
|
60
|
-
: /** @type {
|
|
60
|
+
: /** @type {import('./Feature.js').FeatureToFeatureClass<FeatureType>} */ (
|
|
61
|
+
RenderFeature
|
|
62
|
+
);
|
|
61
63
|
|
|
62
64
|
/**
|
|
63
65
|
* @private
|
|
@@ -157,7 +159,7 @@ class MVT extends FeatureFormat {
|
|
|
157
159
|
* @param {PBF} pbf PBF
|
|
158
160
|
* @param {Object} rawFeature Raw Mapbox feature.
|
|
159
161
|
* @param {import("./Feature.js").ReadOptions} options Read options.
|
|
160
|
-
* @return {
|
|
162
|
+
* @return {FeatureType|null} Feature.
|
|
161
163
|
*/
|
|
162
164
|
createFeature_(pbf, rawFeature, options) {
|
|
163
165
|
const type = rawFeature.type;
|
|
@@ -185,14 +187,10 @@ class MVT extends FeatureFormat {
|
|
|
185
187
|
const geometryType = getGeometryType(type, ends.length);
|
|
186
188
|
|
|
187
189
|
if (this.featureClass === RenderFeature) {
|
|
188
|
-
feature =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
ends,
|
|
192
|
-
2,
|
|
193
|
-
values,
|
|
194
|
-
id,
|
|
195
|
-
);
|
|
190
|
+
feature =
|
|
191
|
+
new /** @type {import('./Feature.js').FeatureToFeatureClass<RenderFeature>} */ (
|
|
192
|
+
this.featureClass
|
|
193
|
+
)(geometryType, flatCoordinates, ends, 2, values, id);
|
|
196
194
|
feature.transform(options.dataProjection);
|
|
197
195
|
} else {
|
|
198
196
|
let geom;
|
|
@@ -229,11 +227,12 @@ class MVT extends FeatureFormat {
|
|
|
229
227
|
feature.setProperties(values, true);
|
|
230
228
|
}
|
|
231
229
|
|
|
232
|
-
return feature;
|
|
230
|
+
return /** @type {FeatureType} */ (feature);
|
|
233
231
|
}
|
|
234
232
|
|
|
235
233
|
/**
|
|
236
234
|
* @return {import("./Feature.js").Type} Format.
|
|
235
|
+
* @override
|
|
237
236
|
*/
|
|
238
237
|
getType() {
|
|
239
238
|
return 'arraybuffer';
|
|
@@ -244,8 +243,9 @@ class MVT extends FeatureFormat {
|
|
|
244
243
|
*
|
|
245
244
|
* @param {ArrayBuffer} source Source.
|
|
246
245
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
247
|
-
* @return {Array<
|
|
246
|
+
* @return {Array<FeatureType>} Features.
|
|
248
247
|
* @api
|
|
248
|
+
* @override
|
|
249
249
|
*/
|
|
250
250
|
readFeatures(source, options) {
|
|
251
251
|
const layers = this.layers_;
|
|
@@ -275,9 +275,7 @@ class MVT extends FeatureFormat {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
return /** @type {Array<
|
|
279
|
-
features
|
|
280
|
-
);
|
|
278
|
+
return /** @type {Array<FeatureType>} */ (features);
|
|
281
279
|
}
|
|
282
280
|
|
|
283
281
|
/**
|
|
@@ -286,6 +284,7 @@ class MVT extends FeatureFormat {
|
|
|
286
284
|
* @param {Document|Element|Object|string} source Source.
|
|
287
285
|
* @return {import("../proj/Projection.js").default} Projection.
|
|
288
286
|
* @api
|
|
287
|
+
* @override
|
|
289
288
|
*/
|
|
290
289
|
readProjection(source) {
|
|
291
290
|
return this.dataProjection;
|
package/format/OSMXML.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OSMXML.d.ts","sourceRoot":"","sources":["OSMXML.js"],"names":[],"mappings":";AAyCA;;;;;;GAMG;AACH;
|
|
1
|
+
{"version":3,"file":"OSMXML.d.ts","sourceRoot":"","sources":["OSMXML.js"],"names":[],"mappings":";AAyCA;;;;;;GAMG;AACH;CAgEC;uBAxGsB,iBAAiB"}
|
package/format/OSMXML.js
CHANGED
|
@@ -61,6 +61,7 @@ class OSMXML extends XMLFeature {
|
|
|
61
61
|
* @param {Element} node Node.
|
|
62
62
|
* @param {import("./Feature.js").ReadOptions} [options] Options.
|
|
63
63
|
* @return {Array<import("../Feature.js").default>} Features.
|
|
64
|
+
* @override
|
|
64
65
|
*/
|
|
65
66
|
readFeaturesFromNode(node, options) {
|
|
66
67
|
options = this.getReadOptions(node, options);
|
package/format/OWS.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OWS.d.ts","sourceRoot":"","sources":["OWS.js"],"names":[],"mappings":";AA8BA;
|
|
1
|
+
{"version":3,"file":"OWS.d.ts","sourceRoot":"","sources":["OWS.js"],"names":[],"mappings":";AA8BA;CAcC;gBAzCe,UAAU"}
|
package/format/OWS.js
CHANGED
package/format/Polyline.d.ts
CHANGED
|
@@ -136,22 +136,25 @@ declare class Polyline extends TextFeature {
|
|
|
136
136
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
137
137
|
* @protected
|
|
138
138
|
* @return {string} Text.
|
|
139
|
+
* @override
|
|
139
140
|
*/
|
|
140
|
-
protected writeFeatureText(feature: import("../Feature.js").default<LineString>, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
141
|
+
protected override writeFeatureText(feature: import("../Feature.js").default<LineString>, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
141
142
|
/**
|
|
142
143
|
* @param {Array<import("../Feature.js").default<LineString>>} features Features.
|
|
143
144
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
144
145
|
* @protected
|
|
145
146
|
* @return {string} Text.
|
|
147
|
+
* @override
|
|
146
148
|
*/
|
|
147
|
-
protected writeFeaturesText(features: Array<import("../Feature.js").default<LineString>>, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
149
|
+
protected override writeFeaturesText(features: Array<import("../Feature.js").default<LineString>>, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
148
150
|
/**
|
|
149
151
|
* @param {LineString} geometry Geometry.
|
|
150
152
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
151
153
|
* @protected
|
|
152
154
|
* @return {string} Text.
|
|
155
|
+
* @override
|
|
153
156
|
*/
|
|
154
|
-
protected writeGeometryText(geometry: LineString, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
157
|
+
protected override writeGeometryText(geometry: LineString, options?: import("./Feature.js").WriteOptions | undefined): string;
|
|
155
158
|
}
|
|
156
159
|
import TextFeature from './TextFeature.js';
|
|
157
160
|
import LineString from '../geom/LineString.js';
|
package/format/Polyline.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polyline.d.ts","sourceRoot":"","sources":["Polyline.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Polyline.d.ts","sourceRoot":"","sources":["Polyline.js"],"names":[],"mappings":"AA8JA;;;;;;;;;;;;GAYG;AACH,sCARW,KAAK,CAAC,MAAM,CAAC,UACb,MAAM,gCAIL,MAAM,CAuBjB;AAED;;;;;;;;;;GAUG;AACH,sCARW,MAAM,UACN,MAAM,gCAIL,KAAK,CAAC,MAAM,CAAC,CAwBxB;AAED;;;;;;;;;;;GAWG;AACH,sCAPW,KAAK,CAAC,MAAM,CAAC,gCAIZ,MAAM,CAUjB;AAED;;;;;;;;GAQG;AACH,sCANW,MAAM,gCAGL,KAAK,CAAC,MAAM,CAAC,CAUxB;AAED;;;;;;;GAOG;AACH,8CAHW,KAAK,CAAC,MAAM,CAAC,GACZ,MAAM,CAQjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,KAAK,CAAC,MAAM,CAAC,CASxB;AAED;;;;;GAKG;AACH,gDAHW,KAAK,CAAC,MAAM,CAAC,GACZ,MAAM,CAQjB;AAED;;;;;GAKG;AACH,gDAHW,MAAM,GACL,KAAK,CAAC,MAAM,CAAC,CAkBxB;AAED;;;;;GAKG;AACH,2CAHW,MAAM,GACL,MAAM,CAajB;;;;;;;;;;;;;AApVD;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AACH;IACE;;OAEG;IACH,2CAuBC;IAbC;;;OAGG;IACH,gBAAoD;IAEpD;;;OAGG;IACH,wBAEQ;IAqDV;;;;;;OAMG;IACH,6CANW,OAAO,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,8DAG1C,MAAM,CASjB;IAED;;;;;;OAMG;IACH,+CANW,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,8DAGjD,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,+CANW,UAAU,8DAGT,MAAM,CAajB;CACF;wBAvJuB,kBAAkB;uBADnB,uBAAuB"}
|
package/format/Polyline.js
CHANGED
|
@@ -65,6 +65,7 @@ class Polyline extends TextFeature {
|
|
|
65
65
|
* @param {string} text Text.
|
|
66
66
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
67
67
|
* @return {import("../Feature.js").default} Feature.
|
|
68
|
+
* @override
|
|
68
69
|
*/
|
|
69
70
|
readFeatureFromText(text, options) {
|
|
70
71
|
const geometry = this.readGeometryFromText(text, options);
|
|
@@ -76,6 +77,7 @@ class Polyline extends TextFeature {
|
|
|
76
77
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
77
78
|
* @protected
|
|
78
79
|
* @return {Array<Feature>} Features.
|
|
80
|
+
* @override
|
|
79
81
|
*/
|
|
80
82
|
readFeaturesFromText(text, options) {
|
|
81
83
|
const feature = this.readFeatureFromText(text, options);
|
|
@@ -87,6 +89,7 @@ class Polyline extends TextFeature {
|
|
|
87
89
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
88
90
|
* @protected
|
|
89
91
|
* @return {import("../geom/Geometry.js").default} Geometry.
|
|
92
|
+
* @override
|
|
90
93
|
*/
|
|
91
94
|
readGeometryFromText(text, options) {
|
|
92
95
|
const stride = getStrideForLayout(this.geometryLayout_);
|
|
@@ -112,6 +115,7 @@ class Polyline extends TextFeature {
|
|
|
112
115
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
113
116
|
* @protected
|
|
114
117
|
* @return {string} Text.
|
|
118
|
+
* @override
|
|
115
119
|
*/
|
|
116
120
|
writeFeatureText(feature, options) {
|
|
117
121
|
const geometry = feature.getGeometry();
|
|
@@ -126,6 +130,7 @@ class Polyline extends TextFeature {
|
|
|
126
130
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
127
131
|
* @protected
|
|
128
132
|
* @return {string} Text.
|
|
133
|
+
* @override
|
|
129
134
|
*/
|
|
130
135
|
writeFeaturesText(features, options) {
|
|
131
136
|
return this.writeFeatureText(features[0], options);
|
|
@@ -136,6 +141,7 @@ class Polyline extends TextFeature {
|
|
|
136
141
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
137
142
|
* @protected
|
|
138
143
|
* @return {string} Text.
|
|
144
|
+
* @override
|
|
139
145
|
*/
|
|
140
146
|
writeGeometryText(geometry, options) {
|
|
141
147
|
geometry =
|
package/format/TextFeature.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export default TextFeature;
|
|
|
7
7
|
*
|
|
8
8
|
* @abstract
|
|
9
9
|
*/
|
|
10
|
-
declare class TextFeature extends FeatureFormat<
|
|
10
|
+
declare class TextFeature extends FeatureFormat<import("../Feature.js").default<import("../geom/Geometry.js").default>> {
|
|
11
11
|
constructor();
|
|
12
12
|
/**
|
|
13
13
|
* Read the feature from the source.
|
|
@@ -16,8 +16,9 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
16
16
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
17
17
|
* @return {import("../Feature.js").default} Feature.
|
|
18
18
|
* @api
|
|
19
|
+
* @override
|
|
19
20
|
*/
|
|
20
|
-
readFeature(source: Document | Element | any | string, options?: import("../format/Feature.js").ReadOptions | undefined): import("../Feature.js").default;
|
|
21
|
+
override readFeature(source: Document | Element | any | string, options?: import("../format/Feature.js").ReadOptions | undefined): import("../Feature.js").default;
|
|
21
22
|
/**
|
|
22
23
|
* @abstract
|
|
23
24
|
* @param {string} text Text.
|
|
@@ -26,15 +27,6 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
26
27
|
* @return {import("../Feature.js").default} Feature.
|
|
27
28
|
*/
|
|
28
29
|
protected readFeatureFromText(text: string, options?: import("../format/Feature.js").ReadOptions | undefined): import("../Feature.js").default;
|
|
29
|
-
/**
|
|
30
|
-
* Read the features from the source.
|
|
31
|
-
*
|
|
32
|
-
* @param {Document|Element|Object|string} source Source.
|
|
33
|
-
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
34
|
-
* @return {Array<import("../Feature.js").default>} Features.
|
|
35
|
-
* @api
|
|
36
|
-
*/
|
|
37
|
-
readFeatures(source: Document | Element | any | string, options?: import("../format/Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
|
|
38
30
|
/**
|
|
39
31
|
* @abstract
|
|
40
32
|
* @param {string} text Text.
|
|
@@ -64,8 +56,9 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
64
56
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
65
57
|
* @return {string} Encoded feature.
|
|
66
58
|
* @api
|
|
59
|
+
* @override
|
|
67
60
|
*/
|
|
68
|
-
writeFeature(feature: import("../Feature.js").default, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
61
|
+
override writeFeature(feature: import("../Feature.js").default, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
69
62
|
/**
|
|
70
63
|
* @abstract
|
|
71
64
|
* @param {import("../Feature.js").default} feature Features.
|
|
@@ -81,8 +74,9 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
81
74
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
82
75
|
* @return {string} Encoded features.
|
|
83
76
|
* @api
|
|
77
|
+
* @override
|
|
84
78
|
*/
|
|
85
|
-
writeFeatures(features: Array<import("../Feature.js").default>, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
79
|
+
override writeFeatures(features: Array<import("../Feature.js").default>, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
86
80
|
/**
|
|
87
81
|
* @abstract
|
|
88
82
|
* @param {Array<import("../Feature.js").default>} features Features.
|
|
@@ -98,8 +92,9 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
98
92
|
* @param {import("./Feature.js").WriteOptions} [options] Write options.
|
|
99
93
|
* @return {string} Geometry.
|
|
100
94
|
* @api
|
|
95
|
+
* @override
|
|
101
96
|
*/
|
|
102
|
-
writeGeometry(geometry: import("../geom/Geometry.js").default, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
97
|
+
override writeGeometry(geometry: import("../geom/Geometry.js").default, options?: import("../format/Feature.js").WriteOptions | undefined): string;
|
|
103
98
|
/**
|
|
104
99
|
* @abstract
|
|
105
100
|
* @param {import("../geom/Geometry.js").default} geometry Geometry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFeature.d.ts","sourceRoot":"","sources":["TextFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IACE,cAEC;
|
|
1
|
+
{"version":3,"file":"TextFeature.d.ts","sourceRoot":"","sources":["TextFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IACE,cAEC;IAUD;;;;;;;;OAQG;IACH,6BANW,QAAQ,GAAC,OAAO,SAAQ,MAAM,qEAE7B,OAAO,eAAe,EAAE,OAAO,CAS1C;IAED;;;;;;OAMG;IACH,oCALW,MAAM,qEAGL,OAAO,eAAe,EAAE,OAAO,CAI1C;IAkBD;;;;;;OAMG;IACH,qCALW,MAAM,qEAGL,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,CAIjD;IAkBD;;;;;;OAMG;IACH,qCALW,MAAM,qEAGL,OAAO,qBAAqB,EAAE,OAAO,CAIhD;IAcD;;;;OAIG;IACH,uCAJW,MAAM,GAEL,OAAO,uBAAuB,EAAE,OAAO,GAAC,SAAS,CAI5D;IAED;;;;;;;;OAQG;IACH,+BANW,OAAO,eAAe,EAAE,OAAO,sEAE9B,MAAM,CAMjB;IAED;;;;;;OAMG;IACH,oCALW,OAAO,eAAe,EAAE,OAAO,sEAG9B,MAAM,CAIjB;IAED;;;;;;;;OAQG;IACH,iCANW,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,sEAErC,MAAM,CAMjB;IAED;;;;;;OAMG;IACH,sCALW,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,sEAGrC,MAAM,CAIjB;IAED;;;;;;;;OAQG;IACH,iCANW,OAAO,qBAAqB,EAAE,OAAO,sEAEpC,MAAM,CAMjB;IAED;;;;;;OAMG;IACH,sCALW,OAAO,qBAAqB,EAAE,OAAO,sEAGpC,MAAM,CAIjB;CACF;0BArMyB,sBAAsB"}
|