@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.
Files changed (93) hide show
  1. package/Map.js +16 -16
  2. package/Overlay.js +8 -0
  3. package/View.js +8 -0
  4. package/control/Attribution.js +8 -0
  5. package/control/Control.js +8 -0
  6. package/control/FullScreen.js +8 -0
  7. package/control/MousePosition.js +8 -0
  8. package/control/OverviewMap.js +8 -0
  9. package/control/Rotate.js +8 -0
  10. package/control/ScaleLine.js +8 -0
  11. package/control/Zoom.js +8 -0
  12. package/control/ZoomSlider.js +8 -0
  13. package/control/ZoomToExtent.js +8 -0
  14. package/interaction/DblClickDragZoom.js +8 -0
  15. package/interaction/DoubleClickZoom.js +8 -0
  16. package/interaction/DragAndDrop.js +8 -0
  17. package/interaction/DragBox.js +8 -0
  18. package/interaction/DragPan.js +8 -0
  19. package/interaction/DragRotate.js +8 -0
  20. package/interaction/DragRotateAndZoom.js +8 -0
  21. package/interaction/DragZoom.js +8 -0
  22. package/interaction/Draw.js +8 -0
  23. package/interaction/Extent.js +8 -0
  24. package/interaction/Interaction.js +8 -0
  25. package/interaction/KeyboardPan.js +8 -0
  26. package/interaction/KeyboardZoom.js +8 -0
  27. package/interaction/Link.js +8 -0
  28. package/interaction/Modify.js +8 -0
  29. package/interaction/MouseWheelZoom.js +8 -0
  30. package/interaction/PinchRotate.js +8 -0
  31. package/interaction/PinchZoom.js +8 -0
  32. package/interaction/Pointer.js +8 -0
  33. package/interaction/Select.js +8 -0
  34. package/interaction/Snap.js +8 -0
  35. package/interaction/Translate.js +8 -0
  36. package/internal/config.js +1 -0
  37. package/internal/render.js +106 -40
  38. package/internal/update.js +37 -4
  39. package/layer/Base.js +9 -5
  40. package/layer/BaseImage.js +9 -5
  41. package/layer/BaseTile.js +9 -5
  42. package/layer/BaseVector.js +9 -5
  43. package/layer/Flow.js +9 -5
  44. package/layer/Graticule.js +9 -5
  45. package/layer/Group.js +9 -5
  46. package/layer/Heatmap.js +9 -5
  47. package/layer/Image.js +9 -5
  48. package/layer/Layer.js +9 -5
  49. package/layer/MapboxVector.js +8 -5
  50. package/layer/Tile.js +9 -5
  51. package/layer/Vector.js +9 -5
  52. package/layer/VectorImage.js +9 -5
  53. package/layer/VectorTile.js +9 -5
  54. package/layer/WebGLPoints.js +9 -5
  55. package/layer/WebGLTile.js +9 -5
  56. package/layer/WebGLVector.js +9 -5
  57. package/layer/WebGLVectorTile.js +9 -5
  58. package/package.json +24 -15
  59. package/source/BingMaps.js +8 -0
  60. package/source/CartoDB.js +8 -0
  61. package/source/Cluster.js +8 -0
  62. package/source/DataTile.js +8 -0
  63. package/source/GeoTIFF.js +8 -0
  64. package/source/Google.js +8 -0
  65. package/source/IIIF.js +8 -0
  66. package/source/Image.js +8 -0
  67. package/source/ImageArcGISRest.js +8 -0
  68. package/source/ImageCanvas.js +8 -0
  69. package/source/ImageMapGuide.js +8 -0
  70. package/source/ImageStatic.js +8 -0
  71. package/source/ImageTile.js +8 -0
  72. package/source/ImageWMS.js +8 -0
  73. package/source/OGCMapTile.js +8 -0
  74. package/source/OGCVectorTile.js +8 -0
  75. package/source/OSM.js +8 -0
  76. package/source/Raster.js +8 -0
  77. package/source/SentinelHub.js +8 -0
  78. package/source/Source.js +8 -0
  79. package/source/StadiaMaps.js +8 -0
  80. package/source/Tile.js +8 -0
  81. package/source/TileArcGISRest.js +8 -0
  82. package/source/TileDebug.js +8 -0
  83. package/source/TileImage.js +8 -0
  84. package/source/TileJSON.js +8 -0
  85. package/source/TileWMS.js +8 -0
  86. package/source/UTFGrid.js +8 -0
  87. package/source/UrlTile.js +8 -0
  88. package/source/Vector.js +8 -0
  89. package/source/VectorTile.js +8 -0
  90. package/source/WMTS.js +8 -0
  91. package/source/XYZ.js +8 -0
  92. package/source/Zoomify.js +8 -0
  93. 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
  }
@@ -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
  }
@@ -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
- }