@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,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 OLDragBox from 'ol/interaction/DragBox.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DragBox = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLDragBox, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default DragBox;
|
|
@@ -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 OLDragPan from 'ol/interaction/DragPan.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DragPan = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLDragPan, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default DragPan;
|
|
@@ -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 OLDragRotate from 'ol/interaction/DragRotate.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DragRotate = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLDragRotate, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default DragRotate;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 OLDragRotateAndZoom from 'ol/interaction/DragRotateAndZoom.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DragRotateAndZoom = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {
|
|
22
|
+
cls: OLDragRotateAndZoom,
|
|
23
|
+
ref,
|
|
24
|
+
...props,
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export default DragRotateAndZoom;
|
|
@@ -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 OLDragZoom from 'ol/interaction/DragZoom.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const DragZoom = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLDragZoom, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default DragZoom;
|
|
@@ -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 OLDraw from 'ol/interaction/Draw.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Draw = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLDraw, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Draw;
|
|
@@ -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 OLExtent from 'ol/interaction/Extent.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Extent = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLExtent, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Extent;
|
|
@@ -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 OLInteraction from 'ol/interaction/Interaction.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Interaction = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLInteraction, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Interaction;
|
|
@@ -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 OLKeyboardPan from 'ol/interaction/KeyboardPan.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const KeyboardPan = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLKeyboardPan, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default KeyboardPan;
|
|
@@ -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 OLKeyboardZoom from 'ol/interaction/KeyboardZoom.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const KeyboardZoom = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLKeyboardZoom, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default KeyboardZoom;
|
|
@@ -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 OLLink from 'ol/interaction/Link.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Link = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLLink, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Link;
|
|
@@ -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 OLModify from 'ol/interaction/Modify.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Modify = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLModify, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Modify;
|
|
@@ -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 OLMouseWheelZoom from 'ol/interaction/MouseWheelZoom.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const MouseWheelZoom = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLMouseWheelZoom, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default MouseWheelZoom;
|
|
@@ -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 OLPinchRotate from 'ol/interaction/PinchRotate.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const PinchRotate = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLPinchRotate, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default PinchRotate;
|
|
@@ -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 OLPinchZoom from 'ol/interaction/PinchZoom.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const PinchZoom = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLPinchZoom, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default PinchZoom;
|
|
@@ -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 OLPointer from 'ol/interaction/Pointer.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Pointer = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLPointer, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Pointer;
|
|
@@ -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 OLProperty from 'ol/interaction/Property.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Property = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLProperty, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Property;
|
|
@@ -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 OLSelect from 'ol/interaction/Select.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Select = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLSelect, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Select;
|
|
@@ -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 OLSnap from 'ol/interaction/Snap.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Snap = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLSnap, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Snap;
|
|
@@ -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 OLTranslate from 'ol/interaction/Translate.js';
|
|
18
|
+
import {createElement, forwardRef} from 'react';
|
|
19
|
+
|
|
20
|
+
const Translate = forwardRef((props, ref) => {
|
|
21
|
+
return createElement('interaction', {cls: OLTranslate, ref, ...props});
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export default Translate;
|
|
@@ -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 OLBase from 'ol/layer/Base.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Base = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLBase, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Base.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Base;
|
|
@@ -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 OLBaseImage from 'ol/layer/BaseImage.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const BaseImage = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLBaseImage, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
BaseImage.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default BaseImage;
|
|
@@ -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 OLBaseTile from 'ol/layer/BaseTile.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const BaseTile = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLBaseTile, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
BaseTile.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default BaseTile;
|
|
@@ -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 OLBaseVector from 'ol/layer/BaseVector.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const BaseVector = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLBaseVector, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
BaseVector.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default BaseVector;
|
|
@@ -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 OLGraticule from 'ol/layer/Graticule.js';
|
|
18
|
+
import propTypes from 'prop-types';
|
|
19
|
+
import {createElement, forwardRef} from 'react';
|
|
20
|
+
|
|
21
|
+
const Graticule = forwardRef(({children, ...props}, ref) => {
|
|
22
|
+
return createElement('layer', {cls: OLGraticule, ref, ...props}, children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
Graticule.propTypes = {
|
|
26
|
+
children: propTypes.node,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default Graticule;
|