@planet/maps 8.1.0 → 8.2.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.
Files changed (86) hide show
  1. package/LICENSE +1 -1
  2. package/lib/Map.js +1 -1
  3. package/lib/Overlay.js +1 -1
  4. package/lib/View.js +1 -1
  5. package/lib/control/Attribution.js +1 -1
  6. package/lib/control/Control.js +1 -1
  7. package/lib/control/FullScreen.js +1 -1
  8. package/lib/control/MousePosition.js +1 -1
  9. package/lib/control/OverviewMap.js +1 -1
  10. package/lib/control/Rotate.js +1 -1
  11. package/lib/control/ScaleLine.js +1 -1
  12. package/lib/control/Zoom.js +1 -1
  13. package/lib/control/ZoomSlider.js +1 -1
  14. package/lib/control/ZoomToExtent.js +1 -1
  15. package/lib/interaction/DblClickDragZoom.js +24 -0
  16. package/lib/interaction/DoubleClickZoom.js +1 -1
  17. package/lib/interaction/DragAndDrop.js +1 -1
  18. package/lib/interaction/DragBox.js +1 -1
  19. package/lib/interaction/DragPan.js +1 -1
  20. package/lib/interaction/DragRotate.js +1 -1
  21. package/lib/interaction/DragRotateAndZoom.js +1 -1
  22. package/lib/interaction/DragZoom.js +1 -1
  23. package/lib/interaction/Draw.js +1 -1
  24. package/lib/interaction/Extent.js +1 -1
  25. package/lib/interaction/Interaction.js +1 -1
  26. package/lib/interaction/KeyboardPan.js +1 -1
  27. package/lib/interaction/KeyboardZoom.js +1 -1
  28. package/lib/interaction/Link.js +1 -1
  29. package/lib/interaction/Modify.js +1 -1
  30. package/lib/interaction/MouseWheelZoom.js +1 -1
  31. package/lib/interaction/PinchRotate.js +1 -1
  32. package/lib/interaction/PinchZoom.js +1 -1
  33. package/lib/interaction/Pointer.js +1 -1
  34. package/lib/interaction/Property.js +1 -1
  35. package/lib/interaction/Select.js +1 -1
  36. package/lib/interaction/Snap.js +1 -1
  37. package/lib/interaction/Translate.js +1 -1
  38. package/lib/layer/Base.js +1 -1
  39. package/lib/layer/BaseImage.js +1 -1
  40. package/lib/layer/BaseTile.js +1 -1
  41. package/lib/layer/BaseVector.js +1 -1
  42. package/lib/layer/Graticule.js +1 -1
  43. package/lib/layer/Group.js +1 -1
  44. package/lib/layer/Heatmap.js +1 -1
  45. package/lib/layer/Image.js +1 -1
  46. package/lib/layer/Layer.js +1 -1
  47. package/lib/layer/MapboxVector.js +1 -1
  48. package/lib/layer/Tile.js +1 -1
  49. package/lib/layer/Vector.js +1 -1
  50. package/lib/layer/VectorImage.js +1 -1
  51. package/lib/layer/VectorTile.js +1 -1
  52. package/lib/layer/WebGLPoints.js +1 -1
  53. package/lib/layer/WebGLTile.js +1 -1
  54. package/lib/source/BingMaps.js +1 -1
  55. package/lib/source/CartoDB.js +1 -1
  56. package/lib/source/Cluster.js +1 -1
  57. package/lib/source/DataTile.js +1 -1
  58. package/lib/source/GeoTIFF.js +1 -1
  59. package/lib/source/IIIF.js +1 -1
  60. package/lib/source/Image.js +1 -1
  61. package/lib/source/ImageArcGISRest.js +1 -1
  62. package/lib/source/ImageCanvas.js +1 -1
  63. package/lib/source/ImageMapGuide.js +1 -1
  64. package/lib/source/ImageStatic.js +1 -1
  65. package/lib/source/ImageWMS.js +1 -1
  66. package/lib/source/OGCMapTile.js +1 -1
  67. package/lib/source/OGCVectorTile.js +1 -1
  68. package/lib/source/OSM.js +1 -1
  69. package/lib/source/Raster.js +1 -1
  70. package/lib/source/Source.js +1 -1
  71. package/lib/source/Stamen.js +1 -1
  72. package/lib/source/Tile.js +1 -1
  73. package/lib/source/TileArcGISRest.js +1 -1
  74. package/lib/source/TileDebug.js +1 -1
  75. package/lib/source/TileImage.js +1 -1
  76. package/lib/source/TileJSON.js +1 -1
  77. package/lib/source/TileWMS.js +1 -1
  78. package/lib/source/UTFGrid.js +1 -1
  79. package/lib/source/UrlTile.js +1 -1
  80. package/lib/source/Vector.js +1 -1
  81. package/lib/source/VectorTile.js +1 -1
  82. package/lib/source/WMTS.js +1 -1
  83. package/lib/source/XYZ.js +1 -1
  84. package/lib/source/Zoomify.js +1 -1
  85. package/package.json +11 -12
  86. package/readme.md +18 -1
package/LICENSE CHANGED
@@ -187,7 +187,7 @@
187
187
  same "printed page" as the copyright notice for easier
188
188
  identification within third-party archives.
189
189
 
190
- Copyright 2022 Planet Labs PBC
190
+ Copyright 2023 Planet Labs PBC
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
193
193
  you may not use this file except in compliance with the License.
package/lib/Map.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2022 Planet Labs PBC
2
+ * Copyright 2023 Planet Labs PBC
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/Overlay.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2022 Planet Labs PBC
2
+ * Copyright 2023 Planet Labs PBC
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/View.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2022 Planet Labs PBC
2
+ * Copyright 2023 Planet Labs PBC
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -0,0 +1,24 @@
1
+ // This file is generated by tools/generate.js. DO NOT EDIT.
2
+ /**
3
+ * Copyright 2023 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 OLDblClickDragZoom from 'ol/interaction/DblClickDragZoom.js';
18
+ import {createElement, forwardRef} from 'react';
19
+
20
+ const DblClickDragZoom = forwardRef((props, ref) => {
21
+ return createElement('interaction', {cls: OLDblClickDragZoom, ref, ...props});
22
+ });
23
+
24
+ export default DblClickDragZoom;
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/layer/Base.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/layer/Tile.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/source/OSM.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/source/XYZ.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  // This file is generated by tools/generate.js. DO NOT EDIT.
2
2
  /**
3
- * Copyright 2022 Planet Labs PBC
3
+ * Copyright 2023 Planet Labs PBC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planet/maps",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "Declarative mapping components for React",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -25,26 +25,24 @@
25
25
  "react-reconciler": "^0.29.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@astrojs/mdx": "^0.16.0",
28
+ "@astrojs/mdx": "^0.19.0",
29
29
  "@astrojs/react": "^2.0.2",
30
- "@octokit/rest": "^19.0.5",
30
+ "@octokit/rest": "^20.0.1",
31
31
  "@playwright/test": "^1.25.2",
32
32
  "@types/react": "^18.0.27",
33
33
  "@types/react-dom": "^18.0.10",
34
34
  "astro": "^2.0.8",
35
- "c8": "^7.12.0",
36
35
  "es-main": "^1.2.0",
37
36
  "eslint": "^8.32.0",
38
37
  "eslint-config-planet": "^20.0.3",
39
- "eslint-plugin-astro": "^0.23.0",
38
+ "eslint-plugin-astro": "^0.29.0",
40
39
  "eslint-plugin-mdx": "^2.0.5",
41
40
  "eslint-plugin-react": "^7.32.1",
42
41
  "fs-extra": "^11.1.0",
43
- "import-meta-resolve": "^2.0.2",
44
- "jsdom": "^21.0.0",
45
- "minimist": "^1.2.6",
42
+ "import-meta-resolve": "^3.0.0",
43
+ "jsdom": "^22.0.0",
46
44
  "mustache": "^4.2.0",
47
- "ol": "^7.1.0",
45
+ "ol": "^7.5.1",
48
46
  "prop-types": "^15.8.1",
49
47
  "react": "^18.2.0",
50
48
  "react-dom": "^18.2.0",
@@ -52,10 +50,11 @@
52
50
  "remark-parse": "^10.0.1",
53
51
  "semapro": "^1.1.0",
54
52
  "semver": "^7.3.7",
55
- "shiki": "^0.11.0",
56
- "unified": "^10.1.2",
53
+ "shiki": "^0.14.1",
54
+ "unified": "^11.0.2",
57
55
  "vite": "^4.0.4",
58
- "vitest": "^0.28.3"
56
+ "vitest": "^0.34.1",
57
+ "yargs-parser": "^21.1.1"
59
58
  },
60
59
  "eslintConfig": {
61
60
  "extends": [
package/readme.md CHANGED
@@ -56,13 +56,30 @@ Start the development server:
56
56
  npm start
57
57
  ```
58
58
 
59
+ The rendering tests use Playwright for visual snapshot comparison. See the [`tests/rendering/readme.md`](tests/rendering/readme.md) for more detail.
60
+
61
+ Before running tests for the first time, install the required Playwright browser:
62
+ ```bash
63
+ npx playwright install chromium
64
+ ```
65
+
59
66
  Run the tests:
60
67
  ```bash
61
68
  npm test
62
69
  ```
63
70
 
64
- The rendering tests use Playwright for visual snapshot comparison. See the [`tests/rendering/readme.md`](tests/rendering/readme.md) for more detail.
71
+ After updating the `ol` package to a new version, the generated component sources should be updated:
72
+ ```bash
73
+ npm run generate
74
+ ```
75
+
76
+ To publish a new release, choose the release type, update the `package.json` version and create a tag with `npm version`, and then push the change:
77
+ ```bash
78
+ npm version minor
79
+ git push --tags origin main
80
+ ```
65
81
 
82
+ After pushing the changes, draft release notes based on the tag and publish the [GitHub release](https://github.com/planetlabs/maps/releases).
66
83
 
67
84
  ## Prior Art
68
85