@planet/maps 10.3.0-dev.1735324946128 → 10.3.0-dev.1735518438240
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 +42 -32
- package/Overlay.js +4 -6
- package/View.js +4 -6
- package/control/Attribution.js +4 -6
- package/control/Control.js +4 -6
- package/control/FullScreen.js +4 -6
- package/control/MousePosition.js +4 -6
- package/control/OverviewMap.js +4 -6
- package/control/Rotate.js +4 -6
- package/control/ScaleLine.js +4 -6
- package/control/Zoom.js +4 -6
- package/control/ZoomSlider.js +4 -6
- package/control/ZoomToExtent.js +4 -6
- package/interaction/DblClickDragZoom.js +4 -6
- package/interaction/DoubleClickZoom.js +4 -6
- package/interaction/DragAndDrop.js +4 -6
- package/interaction/DragBox.js +4 -6
- package/interaction/DragPan.js +4 -6
- package/interaction/DragRotate.js +4 -6
- package/interaction/DragRotateAndZoom.js +4 -10
- package/interaction/DragZoom.js +4 -6
- package/interaction/Draw.js +4 -6
- package/interaction/Extent.js +4 -6
- package/interaction/Interaction.js +4 -6
- package/interaction/KeyboardPan.js +4 -6
- package/interaction/KeyboardZoom.js +4 -6
- package/interaction/Link.js +4 -6
- package/interaction/Modify.js +4 -6
- package/interaction/MouseWheelZoom.js +4 -6
- package/interaction/PinchRotate.js +4 -6
- package/interaction/PinchZoom.js +4 -6
- package/interaction/Pointer.js +4 -6
- package/interaction/Property.js +4 -6
- package/interaction/Select.js +4 -6
- package/interaction/Snap.js +4 -6
- package/interaction/Translate.js +4 -6
- package/layer/Base.js +4 -6
- package/layer/BaseImage.js +4 -6
- package/layer/BaseTile.js +4 -6
- package/layer/BaseVector.js +4 -6
- package/layer/Flow.js +4 -6
- package/layer/Graticule.js +4 -6
- package/layer/Group.js +4 -6
- package/layer/Heatmap.js +4 -6
- package/layer/Image.js +4 -6
- package/layer/Layer.js +4 -6
- package/layer/MapboxVector.js +4 -10
- package/layer/Tile.js +4 -6
- package/layer/Vector.js +4 -6
- package/layer/VectorImage.js +4 -6
- package/layer/VectorTile.js +4 -6
- package/layer/WebGLPoints.js +4 -6
- package/layer/WebGLTile.js +4 -6
- package/layer/WebGLVector.js +4 -6
- package/package.json +17 -4
- package/source/BingMaps.js +4 -6
- package/source/CartoDB.js +4 -6
- package/source/Cluster.js +4 -6
- package/source/DataTile.js +4 -6
- package/source/GeoTIFF.js +4 -6
- package/source/Google.js +4 -6
- package/source/IIIF.js +4 -6
- package/source/Image.js +4 -6
- package/source/ImageArcGISRest.js +4 -6
- package/source/ImageCanvas.js +4 -6
- package/source/ImageMapGuide.js +4 -6
- package/source/ImageStatic.js +4 -6
- package/source/ImageTile.js +4 -6
- package/source/ImageWMS.js +4 -6
- package/source/OGCMapTile.js +4 -6
- package/source/OGCVectorTile.js +4 -6
- package/source/OSM.js +4 -6
- package/source/Raster.js +4 -6
- package/source/SentinelHub.js +4 -6
- package/source/Source.js +4 -6
- package/source/StadiaMaps.js +4 -6
- package/source/Tile.js +4 -6
- package/source/TileArcGISRest.js +4 -6
- package/source/TileDebug.js +4 -6
- package/source/TileImage.js +4 -6
- package/source/TileJSON.js +4 -6
- package/source/TileWMS.js +4 -6
- package/source/UTFGrid.js +4 -6
- package/source/UrlTile.js +4 -6
- package/source/Vector.js +4 -6
- package/source/VectorTile.js +4 -6
- package/source/WMTS.js +4 -6
- package/source/XYZ.js +4 -6
- package/source/Zoomify.js +4 -6
package/source/ImageTile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLImageTile from 'ol/source/ImageTile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLImageTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default ImageTile;
|
|
20
|
+
export default function ImageTile(props) {
|
|
21
|
+
return createElement('source', {cls: OLImageTile, ...props});
|
|
22
|
+
}
|
package/source/ImageWMS.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLImageWMS from 'ol/source/ImageWMS.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLImageWMS,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default ImageWMS;
|
|
20
|
+
export default function ImageWMS(props) {
|
|
21
|
+
return createElement('source', {cls: OLImageWMS, ...props});
|
|
22
|
+
}
|
package/source/OGCMapTile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLOGCMapTile from 'ol/source/OGCMapTile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLOGCMapTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default OGCMapTile;
|
|
20
|
+
export default function OGCMapTile(props) {
|
|
21
|
+
return createElement('source', {cls: OLOGCMapTile, ...props});
|
|
22
|
+
}
|
package/source/OGCVectorTile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLOGCVectorTile from 'ol/source/OGCVectorTile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLOGCVectorTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default OGCVectorTile;
|
|
20
|
+
export default function OGCVectorTile(props) {
|
|
21
|
+
return createElement('source', {cls: OLOGCVectorTile, ...props});
|
|
22
|
+
}
|
package/source/OSM.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLOSM from 'ol/source/OSM.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLOSM,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default OSM;
|
|
20
|
+
export default function OSM(props) {
|
|
21
|
+
return createElement('source', {cls: OLOSM, ...props});
|
|
22
|
+
}
|
package/source/Raster.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLRaster from 'ol/source/Raster.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLRaster,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default Raster;
|
|
20
|
+
export default function Raster(props) {
|
|
21
|
+
return createElement('source', {cls: OLRaster, ...props});
|
|
22
|
+
}
|
package/source/SentinelHub.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLSentinelHub from 'ol/source/SentinelHub.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLSentinelHub,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default SentinelHub;
|
|
20
|
+
export default function SentinelHub(props) {
|
|
21
|
+
return createElement('source', {cls: OLSentinelHub, ...props});
|
|
22
|
+
}
|
package/source/Source.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLSource from 'ol/source/Source.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLSource,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default Source;
|
|
20
|
+
export default function Source(props) {
|
|
21
|
+
return createElement('source', {cls: OLSource, ...props});
|
|
22
|
+
}
|
package/source/StadiaMaps.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLStadiaMaps from 'ol/source/StadiaMaps.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLStadiaMaps,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default StadiaMaps;
|
|
20
|
+
export default function StadiaMaps(props) {
|
|
21
|
+
return createElement('source', {cls: OLStadiaMaps, ...props});
|
|
22
|
+
}
|
package/source/Tile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTile from 'ol/source/Tile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default Tile;
|
|
20
|
+
export default function Tile(props) {
|
|
21
|
+
return createElement('source', {cls: OLTile, ...props});
|
|
22
|
+
}
|
package/source/TileArcGISRest.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTileArcGISRest from 'ol/source/TileArcGISRest.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTileArcGISRest,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default TileArcGISRest;
|
|
20
|
+
export default function TileArcGISRest(props) {
|
|
21
|
+
return createElement('source', {cls: OLTileArcGISRest, ...props});
|
|
22
|
+
}
|
package/source/TileDebug.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTileDebug from 'ol/source/TileDebug.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTileDebug,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default TileDebug;
|
|
20
|
+
export default function TileDebug(props) {
|
|
21
|
+
return createElement('source', {cls: OLTileDebug, ...props});
|
|
22
|
+
}
|
package/source/TileImage.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTileImage from 'ol/source/TileImage.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTileImage,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default TileImage;
|
|
20
|
+
export default function TileImage(props) {
|
|
21
|
+
return createElement('source', {cls: OLTileImage, ...props});
|
|
22
|
+
}
|
package/source/TileJSON.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTileJSON from 'ol/source/TileJSON.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTileJSON,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default TileJSON;
|
|
20
|
+
export default function TileJSON(props) {
|
|
21
|
+
return createElement('source', {cls: OLTileJSON, ...props});
|
|
22
|
+
}
|
package/source/TileWMS.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTileWMS from 'ol/source/TileWMS.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLTileWMS,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default TileWMS;
|
|
20
|
+
export default function TileWMS(props) {
|
|
21
|
+
return createElement('source', {cls: OLTileWMS, ...props});
|
|
22
|
+
}
|
package/source/UTFGrid.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLUTFGrid from 'ol/source/UTFGrid.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLUTFGrid,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default UTFGrid;
|
|
20
|
+
export default function UTFGrid(props) {
|
|
21
|
+
return createElement('source', {cls: OLUTFGrid, ...props});
|
|
22
|
+
}
|
package/source/UrlTile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLUrlTile from 'ol/source/UrlTile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLUrlTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default UrlTile;
|
|
20
|
+
export default function UrlTile(props) {
|
|
21
|
+
return createElement('source', {cls: OLUrlTile, ...props});
|
|
22
|
+
}
|
package/source/Vector.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLVector from 'ol/source/Vector.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLVector,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default Vector;
|
|
20
|
+
export default function Vector(props) {
|
|
21
|
+
return createElement('source', {cls: OLVector, ...props});
|
|
22
|
+
}
|
package/source/VectorTile.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLVectorTile from 'ol/source/VectorTile.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLVectorTile,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default VectorTile;
|
|
20
|
+
export default function VectorTile(props) {
|
|
21
|
+
return createElement('source', {cls: OLVectorTile, ...props});
|
|
22
|
+
}
|
package/source/WMTS.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLWMTS from 'ol/source/WMTS.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLWMTS,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default WMTS;
|
|
20
|
+
export default function WMTS(props) {
|
|
21
|
+
return createElement('source', {cls: OLWMTS, ...props});
|
|
22
|
+
}
|
package/source/XYZ.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLXYZ from 'ol/source/XYZ.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLXYZ,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default XYZ;
|
|
20
|
+
export default function XYZ(props) {
|
|
21
|
+
return createElement('source', {cls: OLXYZ, ...props});
|
|
22
|
+
}
|
package/source/Zoomify.js
CHANGED
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLZoomify from 'ol/source/Zoomify.js';
|
|
18
|
-
import {createElement
|
|
18
|
+
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
return createElement('source', {cls: OLZoomify,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default Zoomify;
|
|
20
|
+
export default function Zoomify(props) {
|
|
21
|
+
return createElement('source', {cls: OLZoomify, ...props});
|
|
22
|
+
}
|