@planet/maps 11.0.0-dev.1740421848732 → 11.0.0-dev.1740442925922
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/Map.js +16 -16
- package/Overlay.js +8 -0
- package/View.js +8 -0
- package/control/Attribution.js +8 -0
- package/control/Control.js +8 -0
- package/control/FullScreen.js +8 -0
- package/control/MousePosition.js +8 -0
- package/control/OverviewMap.js +8 -0
- package/control/Rotate.js +8 -0
- package/control/ScaleLine.js +8 -0
- package/control/Zoom.js +8 -0
- package/control/ZoomSlider.js +8 -0
- package/control/ZoomToExtent.js +8 -0
- package/interaction/DblClickDragZoom.js +8 -0
- package/interaction/DoubleClickZoom.js +8 -0
- package/interaction/DragAndDrop.js +8 -0
- package/interaction/DragBox.js +8 -0
- package/interaction/DragPan.js +8 -0
- package/interaction/DragRotate.js +8 -0
- package/interaction/DragRotateAndZoom.js +8 -0
- package/interaction/DragZoom.js +8 -0
- package/interaction/Draw.js +8 -0
- package/interaction/Extent.js +8 -0
- package/interaction/Interaction.js +8 -0
- package/interaction/KeyboardPan.js +8 -0
- package/interaction/KeyboardZoom.js +8 -0
- package/interaction/Link.js +8 -0
- package/interaction/Modify.js +8 -0
- package/interaction/MouseWheelZoom.js +8 -0
- package/interaction/PinchRotate.js +8 -0
- package/interaction/PinchZoom.js +8 -0
- package/interaction/Pointer.js +8 -0
- package/interaction/Select.js +8 -0
- package/interaction/Snap.js +8 -0
- package/interaction/Translate.js +8 -0
- package/internal/config.js +1 -0
- package/internal/render.js +106 -40
- package/internal/update.js +37 -4
- package/layer/Base.js +9 -5
- package/layer/BaseImage.js +9 -5
- package/layer/BaseTile.js +9 -5
- package/layer/BaseVector.js +9 -5
- package/layer/Flow.js +9 -5
- package/layer/Graticule.js +9 -5
- package/layer/Group.js +9 -5
- package/layer/Heatmap.js +9 -5
- package/layer/Image.js +9 -5
- package/layer/Layer.js +9 -5
- package/layer/MapboxVector.js +8 -5
- package/layer/Tile.js +9 -5
- package/layer/Vector.js +9 -5
- package/layer/VectorImage.js +9 -5
- package/layer/VectorTile.js +9 -5
- package/layer/WebGLPoints.js +9 -5
- package/layer/WebGLTile.js +9 -5
- package/layer/WebGLVector.js +9 -5
- package/layer/WebGLVectorTile.js +9 -5
- package/package.json +24 -15
- package/source/BingMaps.js +8 -0
- package/source/CartoDB.js +8 -0
- package/source/Cluster.js +8 -0
- package/source/DataTile.js +8 -0
- package/source/GeoTIFF.js +8 -0
- package/source/Google.js +8 -0
- package/source/IIIF.js +8 -0
- package/source/Image.js +8 -0
- package/source/ImageArcGISRest.js +8 -0
- package/source/ImageCanvas.js +8 -0
- package/source/ImageMapGuide.js +8 -0
- package/source/ImageStatic.js +8 -0
- package/source/ImageTile.js +8 -0
- package/source/ImageWMS.js +8 -0
- package/source/OGCMapTile.js +8 -0
- package/source/OGCVectorTile.js +8 -0
- package/source/OSM.js +8 -0
- package/source/Raster.js +8 -0
- package/source/SentinelHub.js +8 -0
- package/source/Source.js +8 -0
- package/source/StadiaMaps.js +8 -0
- package/source/Tile.js +8 -0
- package/source/TileArcGISRest.js +8 -0
- package/source/TileDebug.js +8 -0
- package/source/TileImage.js +8 -0
- package/source/TileJSON.js +8 -0
- package/source/TileWMS.js +8 -0
- package/source/UTFGrid.js +8 -0
- package/source/UrlTile.js +8 -0
- package/source/Vector.js +8 -0
- package/source/VectorTile.js +8 -0
- package/source/WMTS.js +8 -0
- package/source/XYZ.js +8 -0
- package/source/Zoomify.js +8 -0
- package/interaction/Property.js +0 -22
package/source/UTFGrid.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLUTFGrid from 'ol/source/UTFGrid.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} UTFGridProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLUTFGrid>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {UTFGridProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function UTFGrid(props) {
|
|
21
29
|
return createElement('source', {cls: OLUTFGrid, ...props});
|
|
22
30
|
}
|
package/source/UrlTile.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLUrlTile from 'ol/source/UrlTile.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} UrlTileProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLUrlTile>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {UrlTileProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function UrlTile(props) {
|
|
21
29
|
return createElement('source', {cls: OLUrlTile, ...props});
|
|
22
30
|
}
|
package/source/Vector.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLVector from 'ol/source/Vector.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} VectorProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLVector>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {VectorProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Vector(props) {
|
|
21
29
|
return createElement('source', {cls: OLVector, ...props});
|
|
22
30
|
}
|
package/source/VectorTile.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLVectorTile from 'ol/source/VectorTile.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} VectorTileProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLVectorTile>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {VectorTileProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function VectorTile(props) {
|
|
21
29
|
return createElement('source', {cls: OLVectorTile, ...props});
|
|
22
30
|
}
|
package/source/WMTS.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLWMTS from 'ol/source/WMTS.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} WMTSProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLWMTS>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {WMTSProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function WMTS(props) {
|
|
21
29
|
return createElement('source', {cls: OLWMTS, ...props});
|
|
22
30
|
}
|
package/source/XYZ.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLXYZ from 'ol/source/XYZ.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} XYZProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLXYZ>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {XYZProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function XYZ(props) {
|
|
21
29
|
return createElement('source', {cls: OLXYZ, ...props});
|
|
22
30
|
}
|
package/source/Zoomify.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLZoomify from 'ol/source/Zoomify.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} ZoomifyProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLZoomify>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {ZoomifyProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Zoomify(props) {
|
|
21
29
|
return createElement('source', {cls: OLZoomify, ...props});
|
|
22
30
|
}
|
package/interaction/Property.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
-
/**
|
|
3
|
-
* Copyright Planet Labs PBC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import OLProperty from 'ol/interaction/Property.js';
|
|
18
|
-
import {createElement} from 'react';
|
|
19
|
-
|
|
20
|
-
export default function Property(props) {
|
|
21
|
-
return createElement('interaction', {cls: OLProperty, ...props});
|
|
22
|
-
}
|