@planet/maps 8.0.0 → 8.1.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/LICENSE +202 -0
- package/config.js +32 -0
- package/lib/Map.js +73 -0
- package/lib/Overlay.js +24 -0
- package/lib/View.js +24 -0
- package/lib/control/Attribution.js +24 -0
- package/lib/control/Control.js +24 -0
- package/lib/control/FullScreen.js +24 -0
- package/lib/control/MousePosition.js +24 -0
- package/lib/control/OverviewMap.js +24 -0
- package/lib/control/Rotate.js +24 -0
- package/lib/control/ScaleLine.js +24 -0
- package/lib/control/Zoom.js +24 -0
- package/lib/control/ZoomSlider.js +24 -0
- package/lib/control/ZoomToExtent.js +24 -0
- package/lib/interaction/DoubleClickZoom.js +24 -0
- package/lib/interaction/DragAndDrop.js +24 -0
- package/lib/interaction/DragBox.js +24 -0
- package/lib/interaction/DragPan.js +24 -0
- package/lib/interaction/DragRotate.js +24 -0
- package/lib/interaction/DragRotateAndZoom.js +28 -0
- package/lib/interaction/DragZoom.js +24 -0
- package/lib/interaction/Draw.js +24 -0
- package/lib/interaction/Extent.js +24 -0
- package/lib/interaction/Interaction.js +24 -0
- package/lib/interaction/KeyboardPan.js +24 -0
- package/lib/interaction/KeyboardZoom.js +24 -0
- package/lib/interaction/Link.js +24 -0
- package/lib/interaction/Modify.js +24 -0
- package/lib/interaction/MouseWheelZoom.js +24 -0
- package/lib/interaction/PinchRotate.js +24 -0
- package/lib/interaction/PinchZoom.js +24 -0
- package/lib/interaction/Pointer.js +24 -0
- package/lib/interaction/Property.js +24 -0
- package/lib/interaction/Select.js +24 -0
- package/lib/interaction/Snap.js +24 -0
- package/lib/interaction/Translate.js +24 -0
- package/lib/layer/Base.js +29 -0
- package/lib/layer/BaseImage.js +29 -0
- package/lib/layer/BaseTile.js +29 -0
- package/lib/layer/BaseVector.js +29 -0
- package/lib/layer/Graticule.js +29 -0
- package/lib/layer/Group.js +29 -0
- package/lib/layer/Heatmap.js +29 -0
- package/lib/layer/Image.js +29 -0
- package/lib/layer/Layer.js +29 -0
- package/lib/layer/MapboxVector.js +29 -0
- package/lib/layer/Tile.js +29 -0
- package/lib/layer/Vector.js +29 -0
- package/lib/layer/VectorImage.js +29 -0
- package/lib/layer/VectorTile.js +29 -0
- package/lib/layer/WebGLPoints.js +29 -0
- package/lib/layer/WebGLTile.js +29 -0
- package/lib/source/BingMaps.js +24 -0
- package/lib/source/CartoDB.js +24 -0
- package/lib/source/Cluster.js +24 -0
- package/lib/source/DataTile.js +24 -0
- package/lib/source/GeoTIFF.js +24 -0
- package/lib/source/IIIF.js +24 -0
- package/lib/source/Image.js +24 -0
- package/lib/source/ImageArcGISRest.js +24 -0
- package/lib/source/ImageCanvas.js +24 -0
- package/lib/source/ImageMapGuide.js +24 -0
- package/lib/source/ImageStatic.js +24 -0
- package/lib/source/ImageWMS.js +24 -0
- package/lib/source/OGCMapTile.js +24 -0
- package/lib/source/OGCVectorTile.js +24 -0
- package/lib/source/OSM.js +24 -0
- package/lib/source/Raster.js +24 -0
- package/lib/source/Source.js +24 -0
- package/lib/source/Stamen.js +24 -0
- package/lib/source/Tile.js +24 -0
- package/lib/source/TileArcGISRest.js +24 -0
- package/lib/source/TileDebug.js +24 -0
- package/lib/source/TileImage.js +24 -0
- package/lib/source/TileJSON.js +24 -0
- package/lib/source/TileWMS.js +24 -0
- package/lib/source/UTFGrid.js +24 -0
- package/lib/source/UrlTile.js +24 -0
- package/lib/source/Vector.js +24 -0
- package/lib/source/VectorTile.js +24 -0
- package/lib/source/WMTS.js +24 -0
- package/lib/source/XYZ.js +24 -0
- package/lib/source/Zoomify.js +24 -0
- package/package.json +103 -17
- package/readme.md +44 -35
- package/renderer/render.js +313 -0
- package/renderer/update.js +98 -0
- package/.npmignore +0 -2
- package/common.js +0 -582
- package/debug.js +0 -91520
- package/embed.js +0 -376
- package/explorer.js +0 -517
- package/ol.css +0 -241
- package/ol.min.js +0 -1012
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLGroup from 'ol/layer/Group.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Group = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLGroup, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Group.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Group;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLHeatmap from 'ol/layer/Heatmap.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Heatmap = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLHeatmap, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Heatmap.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Heatmap;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImage from 'ol/layer/Image.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Image = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLImage, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Image.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Image;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLLayer from 'ol/layer/Layer.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Layer = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLLayer, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Layer.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Layer;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLMapboxVector from 'ol/layer/MapboxVector.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const MapboxVector = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLMapboxVector, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
MapboxVector.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default MapboxVector;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLTile from 'ol/layer/Tile.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Tile = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLTile, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Tile.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Tile;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLVector from 'ol/layer/Vector.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Vector = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLVector, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Vector.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Vector;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLVectorImage from 'ol/layer/VectorImage.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const VectorImage = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLVectorImage, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
VectorImage.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default VectorImage;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLVectorTile from 'ol/layer/VectorTile.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const VectorTile = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLVectorTile, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
VectorTile.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default VectorTile;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLWebGLPoints from 'ol/layer/WebGLPoints.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const WebGLPoints = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLWebGLPoints, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
WebGLPoints.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default WebGLPoints;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLWebGLTile from 'ol/layer/WebGLTile.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const WebGLTile = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLWebGLTile, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
WebGLTile.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default WebGLTile;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLBingMaps from 'ol/source/BingMaps.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const BingMaps = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLBingMaps, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default BingMaps;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLCartoDB from 'ol/source/CartoDB.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const CartoDB = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLCartoDB, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default CartoDB;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLCluster from 'ol/source/Cluster.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Cluster = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLCluster, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Cluster;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLDataTile from 'ol/source/DataTile.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DataTile = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLDataTile, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default DataTile;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLGeoTIFF from 'ol/source/GeoTIFF.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const GeoTIFF = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLGeoTIFF, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default GeoTIFF;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLIIIF from 'ol/source/IIIF.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const IIIF = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLIIIF, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default IIIF;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImage from 'ol/source/Image.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Image = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImage, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Image;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImageArcGISRest from 'ol/source/ImageArcGISRest.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const ImageArcGISRest = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImageArcGISRest, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default ImageArcGISRest;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImageCanvas from 'ol/source/ImageCanvas.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const ImageCanvas = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImageCanvas, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default ImageCanvas;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImageMapGuide from 'ol/source/ImageMapGuide.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const ImageMapGuide = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImageMapGuide, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default ImageMapGuide;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImageStatic from 'ol/source/ImageStatic.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const ImageStatic = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImageStatic, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default ImageStatic;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLImageWMS from 'ol/source/ImageWMS.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const ImageWMS = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLImageWMS, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default ImageWMS;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2022 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 OLOGCMapTile from 'ol/source/OGCMapTile.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const OGCMapTile = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('source', {cls: OLOGCMapTile, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default OGCMapTile;
|