From 7ed785ebaa34ca4f02102fb2becf03c370717540 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Fri, 3 Oct 2025 11:36:06 -0700 Subject: [PATCH] Bump version in docs and examples --- docs/api-reference/mapbox/attribution-control.md | 2 +- docs/api-reference/mapbox/fullscreen-control.md | 2 +- docs/api-reference/mapbox/geolocate-control.md | 2 +- docs/api-reference/mapbox/layer.md | 2 +- docs/api-reference/mapbox/map-provider.md | 2 +- docs/api-reference/mapbox/map.md | 2 +- docs/api-reference/mapbox/marker.md | 2 +- docs/api-reference/mapbox/navigation-control.md | 2 +- docs/api-reference/mapbox/popup.md | 2 +- docs/api-reference/mapbox/scale-control.md | 2 +- docs/api-reference/mapbox/source.md | 2 +- docs/api-reference/mapbox/use-control.md | 2 +- docs/api-reference/mapbox/use-map.md | 4 ++-- docs/api-reference/maplibre/attribution-control.md | 2 +- docs/api-reference/maplibre/fullscreen-control.md | 2 +- docs/api-reference/maplibre/geolocate-control.md | 2 +- docs/api-reference/maplibre/layer.md | 2 +- docs/api-reference/maplibre/logo-control.md | 2 +- docs/api-reference/maplibre/map-provider.md | 2 +- docs/api-reference/maplibre/map.md | 2 +- docs/api-reference/maplibre/marker.md | 2 +- docs/api-reference/maplibre/navigation-control.md | 2 +- docs/api-reference/maplibre/popup.md | 2 +- docs/api-reference/maplibre/scale-control.md | 2 +- docs/api-reference/maplibre/source.md | 2 +- docs/api-reference/maplibre/terrain-control.md | 2 +- docs/api-reference/maplibre/use-control.md | 2 +- docs/api-reference/maplibre/use-map.md | 4 ++-- docs/get-started/adding-custom-data.md | 2 +- docs/get-started/get-started.md | 2 +- docs/get-started/state-management.md | 8 ++++---- examples/get-started/basic/package.json | 2 +- examples/get-started/controlled/package.json | 2 +- examples/get-started/hook/package.json | 2 +- examples/get-started/maplibre/package.json | 2 +- examples/get-started/nextjs/package.json | 2 +- examples/get-started/redux/package.json | 2 +- examples/mapbox/clusters/package.json | 2 +- examples/mapbox/clusters/src/control-panel.tsx | 2 +- examples/mapbox/controls/package.json | 2 +- examples/mapbox/controls/src/control-panel.tsx | 2 +- examples/mapbox/custom-cursor/package.json | 2 +- examples/mapbox/custom-cursor/src/control-panel.tsx | 2 +- examples/mapbox/custom-overlay/package.json | 2 +- examples/mapbox/custom-overlay/src/control-panel.tsx | 2 +- examples/mapbox/deckgl-overlay/package.json | 2 +- examples/mapbox/draggable-markers/package.json | 2 +- examples/mapbox/draggable-markers/src/control-panel.tsx | 2 +- examples/mapbox/draw-polygon/package.json | 2 +- examples/mapbox/draw-polygon/src/control-panel.tsx | 2 +- examples/mapbox/filter/package.json | 2 +- examples/mapbox/filter/src/control-panel.tsx | 2 +- examples/mapbox/geocoder/package.json | 2 +- examples/mapbox/geocoder/src/control-panel.tsx | 2 +- examples/mapbox/geojson-animation/package.json | 2 +- examples/mapbox/geojson-animation/src/control-panel.tsx | 2 +- examples/mapbox/geojson/package.json | 2 +- examples/mapbox/geojson/src/control-panel.tsx | 2 +- examples/mapbox/heatmap/package.json | 2 +- examples/mapbox/heatmap/src/control-panel.tsx | 2 +- examples/mapbox/interaction/package.json | 2 +- examples/mapbox/interaction/src/control-panel.tsx | 2 +- examples/mapbox/layers/package.json | 2 +- examples/mapbox/layers/src/control-panel.tsx | 2 +- examples/mapbox/side-by-side/package.json | 2 +- examples/mapbox/side-by-side/src/control-panel.tsx | 2 +- examples/mapbox/terrain/package.json | 2 +- examples/mapbox/terrain/src/control-panel.tsx | 2 +- examples/mapbox/viewport-animation/package.json | 2 +- examples/mapbox/viewport-animation/src/control-panel.tsx | 2 +- examples/mapbox/zoom-to-bounds/package.json | 2 +- examples/mapbox/zoom-to-bounds/src/control-panel.tsx | 2 +- examples/maplibre/clusters/package.json | 2 +- examples/maplibre/clusters/src/control-panel.tsx | 2 +- examples/maplibre/controls/package.json | 2 +- examples/maplibre/controls/src/control-panel.tsx | 2 +- examples/maplibre/custom-cursor/package.json | 2 +- examples/maplibre/custom-cursor/src/control-panel.tsx | 2 +- examples/maplibre/custom-overlay/package.json | 2 +- examples/maplibre/custom-overlay/src/control-panel.tsx | 2 +- examples/maplibre/deckgl-overlay/package.json | 2 +- examples/maplibre/draggable-markers/package.json | 2 +- examples/maplibre/draggable-markers/src/control-panel.tsx | 2 +- examples/maplibre/draw-polygon/package.json | 2 +- examples/maplibre/draw-polygon/src/control-panel.tsx | 2 +- examples/maplibre/filter/package.json | 2 +- examples/maplibre/filter/src/control-panel.tsx | 2 +- examples/maplibre/geocoder/package.json | 2 +- examples/maplibre/geocoder/src/control-panel.tsx | 2 +- examples/maplibre/geojson-animation/package.json | 2 +- examples/maplibre/geojson-animation/src/control-panel.tsx | 2 +- examples/maplibre/geojson/package.json | 2 +- examples/maplibre/geojson/src/control-panel.tsx | 2 +- examples/maplibre/globe/package.json | 2 +- examples/maplibre/globe/src/control-panel.tsx | 2 +- examples/maplibre/heatmap/package.json | 2 +- examples/maplibre/heatmap/src/control-panel.tsx | 2 +- examples/maplibre/interaction/package.json | 2 +- examples/maplibre/interaction/src/control-panel.tsx | 2 +- examples/maplibre/layers/package.json | 2 +- examples/maplibre/layers/src/control-panel.tsx | 2 +- examples/maplibre/side-by-side/package.json | 2 +- examples/maplibre/side-by-side/src/control-panel.tsx | 2 +- examples/maplibre/terrain/package.json | 2 +- examples/maplibre/terrain/src/control-panel.tsx | 2 +- examples/maplibre/viewport-animation/package.json | 2 +- .../maplibre/viewport-animation/src/control-panel.tsx | 2 +- examples/maplibre/zoom-to-bounds/package.json | 2 +- examples/maplibre/zoom-to-bounds/src/control-panel.tsx | 2 +- 109 files changed, 114 insertions(+), 114 deletions(-) diff --git a/docs/api-reference/mapbox/attribution-control.md b/docs/api-reference/mapbox/attribution-control.md index 5f006880..a931e250 100644 --- a/docs/api-reference/mapbox/attribution-control.md +++ b/docs/api-reference/mapbox/attribution-control.md @@ -52,4 +52,4 @@ Placement of the control relative to the map. ## Source -[attribution-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/attribution-control.ts) +[attribution-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/attribution-control.ts) diff --git a/docs/api-reference/mapbox/fullscreen-control.md b/docs/api-reference/mapbox/fullscreen-control.md index c61e4b73..c4289828 100644 --- a/docs/api-reference/mapbox/fullscreen-control.md +++ b/docs/api-reference/mapbox/fullscreen-control.md @@ -49,4 +49,4 @@ Placement of the control relative to the map. ## Source -[fullscreen-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/fullscreen-control.ts) +[fullscreen-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/fullscreen-control.ts) diff --git a/docs/api-reference/mapbox/geolocate-control.md b/docs/api-reference/mapbox/geolocate-control.md index 52f41ec1..dd26bb50 100644 --- a/docs/api-reference/mapbox/geolocate-control.md +++ b/docs/api-reference/mapbox/geolocate-control.md @@ -102,4 +102,4 @@ function App() { ## Source -[geolocate-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/geolocate-control.ts) +[geolocate-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/geolocate-control.ts) diff --git a/docs/api-reference/mapbox/layer.md b/docs/api-reference/mapbox/layer.md index 652438a7..b5ade0b8 100644 --- a/docs/api-reference/mapbox/layer.md +++ b/docs/api-reference/mapbox/layer.md @@ -68,4 +68,4 @@ Note that layers are added by the order that they mount. They are *NOT* reordere ## Source -[layer.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/layer.ts) +[layer.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/layer.ts) diff --git a/docs/api-reference/mapbox/map-provider.md b/docs/api-reference/mapbox/map-provider.md index fbaa8d17..90707f82 100644 --- a/docs/api-reference/mapbox/map-provider.md +++ b/docs/api-reference/mapbox/map-provider.md @@ -23,4 +23,4 @@ See [useMap](./use-map.md) for more information. ## Source -[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/use-map.tsx) +[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/use-map.tsx) diff --git a/docs/api-reference/mapbox/map.md b/docs/api-reference/mapbox/map.md index 163a38ce..dabe3b7b 100644 --- a/docs/api-reference/mapbox/map.md +++ b/docs/api-reference/mapbox/map.md @@ -568,4 +568,4 @@ Returns the native `Map` ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/map/ ## Source -[map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/map.tsx) +[map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/map.tsx) diff --git a/docs/api-reference/mapbox/marker.md b/docs/api-reference/mapbox/marker.md index e95e314e..658679e1 100644 --- a/docs/api-reference/mapbox/marker.md +++ b/docs/api-reference/mapbox/marker.md @@ -148,4 +148,4 @@ function App() { ## Source -[marker.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/marker.ts) +[marker.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/marker.ts) diff --git a/docs/api-reference/mapbox/navigation-control.md b/docs/api-reference/mapbox/navigation-control.md index ef5f0a39..2e1e5f81 100644 --- a/docs/api-reference/mapbox/navigation-control.md +++ b/docs/api-reference/mapbox/navigation-control.md @@ -52,4 +52,4 @@ Placement of the control relative to the map. ## Source -[navigation-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/navigation-control.ts) +[navigation-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/navigation-control.ts) diff --git a/docs/api-reference/mapbox/popup.md b/docs/api-reference/mapbox/popup.md index 48b3ccc2..24a3dbb1 100644 --- a/docs/api-reference/mapbox/popup.md +++ b/docs/api-reference/mapbox/popup.md @@ -118,4 +118,4 @@ function App() { ## Source -[popup.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/popup.ts) +[popup.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/popup.ts) diff --git a/docs/api-reference/mapbox/scale-control.md b/docs/api-reference/mapbox/scale-control.md index 511d7c42..f2215987 100644 --- a/docs/api-reference/mapbox/scale-control.md +++ b/docs/api-reference/mapbox/scale-control.md @@ -57,4 +57,4 @@ Placement of the control relative to the map. ## Source -[scale-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/scale-control.ts) +[scale-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/scale-control.ts) diff --git a/docs/api-reference/mapbox/source.md b/docs/api-reference/mapbox/source.md index 436d335d..2f7b017a 100644 --- a/docs/api-reference/mapbox/source.md +++ b/docs/api-reference/mapbox/source.md @@ -62,4 +62,4 @@ Required. Type of the source. ## Source -[source.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/source.ts) +[source.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/source.ts) diff --git a/docs/api-reference/mapbox/use-control.md b/docs/api-reference/mapbox/use-control.md index e05d8dd3..79baf39e 100644 --- a/docs/api-reference/mapbox/use-control.md +++ b/docs/api-reference/mapbox/use-control.md @@ -85,4 +85,4 @@ Returns: ## Source -[use-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/use-control.ts) +[use-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/use-control.ts) diff --git a/docs/api-reference/mapbox/use-map.md b/docs/api-reference/mapbox/use-map.md index 93589bd1..edb24441 100644 --- a/docs/api-reference/mapbox/use-map.md +++ b/docs/api-reference/mapbox/use-map.md @@ -57,7 +57,7 @@ function NavigateButton() { ``` -See a full example [here](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/hook). +See a full example [here](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/hook). ## Signature @@ -69,4 +69,4 @@ If the hook is used inside a decendent of a `Map` component, the returned object ## Source -[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-mapbox/src/components/use-map.tsx) +[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-mapbox/src/components/use-map.tsx) diff --git a/docs/api-reference/maplibre/attribution-control.md b/docs/api-reference/maplibre/attribution-control.md index 902ad0bd..aaf9cefd 100644 --- a/docs/api-reference/maplibre/attribution-control.md +++ b/docs/api-reference/maplibre/attribution-control.md @@ -53,4 +53,4 @@ Placement of the control relative to the map. ## Source -[attribution-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/attribution-control.ts) +[attribution-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/attribution-control.ts) diff --git a/docs/api-reference/maplibre/fullscreen-control.md b/docs/api-reference/maplibre/fullscreen-control.md index 02eb77ac..05cc1173 100644 --- a/docs/api-reference/maplibre/fullscreen-control.md +++ b/docs/api-reference/maplibre/fullscreen-control.md @@ -48,4 +48,4 @@ Placement of the control relative to the map. ## Source -[fullscreen-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/fullscreen-control.ts) +[fullscreen-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/fullscreen-control.ts) diff --git a/docs/api-reference/maplibre/geolocate-control.md b/docs/api-reference/maplibre/geolocate-control.md index d09c8478..11f94c75 100644 --- a/docs/api-reference/maplibre/geolocate-control.md +++ b/docs/api-reference/maplibre/geolocate-control.md @@ -103,4 +103,4 @@ function App() { ## Source -[geolocate-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/geolocate-control.ts) +[geolocate-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/geolocate-control.ts) diff --git a/docs/api-reference/maplibre/layer.md b/docs/api-reference/maplibre/layer.md index 47ae38b2..c9c42e4c 100644 --- a/docs/api-reference/maplibre/layer.md +++ b/docs/api-reference/maplibre/layer.md @@ -68,4 +68,4 @@ Note that layers are added by the order that they mount. They are *NOT* reordere ## Source -[layer.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/layer.ts) +[layer.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/layer.ts) diff --git a/docs/api-reference/maplibre/logo-control.md b/docs/api-reference/maplibre/logo-control.md index 5640ac47..ca0b3b56 100644 --- a/docs/api-reference/maplibre/logo-control.md +++ b/docs/api-reference/maplibre/logo-control.md @@ -50,4 +50,4 @@ Placement of the control relative to the map. ## Source -[logo-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/logo-control.ts) +[logo-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/logo-control.ts) diff --git a/docs/api-reference/maplibre/map-provider.md b/docs/api-reference/maplibre/map-provider.md index 796a9e5d..0fe79a08 100644 --- a/docs/api-reference/maplibre/map-provider.md +++ b/docs/api-reference/maplibre/map-provider.md @@ -23,4 +23,4 @@ See [useMap](./use-map.md) for more information. ## Source -[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/use-map.tsx) +[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/use-map.tsx) diff --git a/docs/api-reference/maplibre/map.md b/docs/api-reference/maplibre/map.md index 0169a90e..c161441e 100644 --- a/docs/api-reference/maplibre/map.md +++ b/docs/api-reference/maplibre/map.md @@ -549,4 +549,4 @@ Returns the native [Map](https://maplibre.org/maplibre-gl-js/docs/API/classes/Ma ## Source -[map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/map.tsx) +[map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/map.tsx) diff --git a/docs/api-reference/maplibre/marker.md b/docs/api-reference/maplibre/marker.md index 375be884..45537dbe 100644 --- a/docs/api-reference/maplibre/marker.md +++ b/docs/api-reference/maplibre/marker.md @@ -146,4 +146,4 @@ function App() { ## Source -[marker.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/marker.ts) +[marker.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/marker.ts) diff --git a/docs/api-reference/maplibre/navigation-control.md b/docs/api-reference/maplibre/navigation-control.md index c84d8c04..e91468ab 100644 --- a/docs/api-reference/maplibre/navigation-control.md +++ b/docs/api-reference/maplibre/navigation-control.md @@ -52,4 +52,4 @@ Placement of the control relative to the map. ## Source -[navigation-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/navigation-control.ts) +[navigation-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/navigation-control.ts) diff --git a/docs/api-reference/maplibre/popup.md b/docs/api-reference/maplibre/popup.md index d051ea76..8d6de5bb 100644 --- a/docs/api-reference/maplibre/popup.md +++ b/docs/api-reference/maplibre/popup.md @@ -119,4 +119,4 @@ function App() { ## Source -[popup.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/popup.ts) +[popup.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/popup.ts) diff --git a/docs/api-reference/maplibre/scale-control.md b/docs/api-reference/maplibre/scale-control.md index 5c991993..baeed791 100644 --- a/docs/api-reference/maplibre/scale-control.md +++ b/docs/api-reference/maplibre/scale-control.md @@ -56,4 +56,4 @@ Placement of the control relative to the map. ## Source -[scale-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/scale-control.ts) +[scale-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/scale-control.ts) diff --git a/docs/api-reference/maplibre/source.md b/docs/api-reference/maplibre/source.md index 297c1da6..ca7c241e 100644 --- a/docs/api-reference/maplibre/source.md +++ b/docs/api-reference/maplibre/source.md @@ -61,4 +61,4 @@ Required. Type of the source. ## Source -[source.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/source.ts) +[source.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/source.ts) diff --git a/docs/api-reference/maplibre/terrain-control.md b/docs/api-reference/maplibre/terrain-control.md index 4112cef9..bc97b7a6 100644 --- a/docs/api-reference/maplibre/terrain-control.md +++ b/docs/api-reference/maplibre/terrain-control.md @@ -82,4 +82,4 @@ Placement of the control relative to the map. ## Source -[terrain-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/terrain-control.ts) +[terrain-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/terrain-control.ts) diff --git a/docs/api-reference/maplibre/use-control.md b/docs/api-reference/maplibre/use-control.md index ee3d8b7f..651d9539 100644 --- a/docs/api-reference/maplibre/use-control.md +++ b/docs/api-reference/maplibre/use-control.md @@ -84,4 +84,4 @@ Returns: ## Source -[use-control.ts](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/use-control.ts) +[use-control.ts](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/use-control.ts) diff --git a/docs/api-reference/maplibre/use-map.md b/docs/api-reference/maplibre/use-map.md index a0d55d4a..5825af26 100644 --- a/docs/api-reference/maplibre/use-map.md +++ b/docs/api-reference/maplibre/use-map.md @@ -55,7 +55,7 @@ function NavigateButton() { ``` -See a full example [here](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/hook). +See a full example [here](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/hook). ## Signature @@ -67,4 +67,4 @@ If the hook is used inside a decendent of a `Map` component, the returned object ## Source -[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.0-release/modules/react-maplibre/src/components/use-map.tsx) +[use-map.tsx](https://github.com/visgl/react-map-gl/tree/8.1-release/modules/react-maplibre/src/components/use-map.tsx) diff --git a/docs/get-started/adding-custom-data.md b/docs/get-started/adding-custom-data.md index 2bf12934..aa283df0 100644 --- a/docs/get-started/adding-custom-data.md +++ b/docs/get-started/adding-custom-data.md @@ -56,7 +56,7 @@ For dynamically updating data sources and layers, check out the [GeoJSON](https: ## Custom Overlays -You can implement a custom HTML or SVG overlay on top of the map that redraws whenever the camera changes. By calling `map.project()` you can adjust the DOM or CSS properties so that the customly-drawn features are always aligned with the map. See a full example [here](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/custom-overlay). +You can implement a custom HTML or SVG overlay on top of the map that redraws whenever the camera changes. By calling `map.project()` you can adjust the DOM or CSS properties so that the customly-drawn features are always aligned with the map. See a full example [here](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/custom-overlay). ## Other vis.gl Libraries diff --git a/docs/get-started/get-started.md b/docs/get-started/get-started.md index a7505a63..3e5ca9a7 100644 --- a/docs/get-started/get-started.md +++ b/docs/get-started/get-started.md @@ -1,6 +1,6 @@ # Get Started -You may find complete project setups in [get-started examples](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started). +You may find complete project setups in [get-started examples](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started). ## Installation diff --git a/docs/get-started/state-management.md b/docs/get-started/state-management.md index 6d4c142a..3ce44457 100644 --- a/docs/get-started/state-management.md +++ b/docs/get-started/state-management.md @@ -8,7 +8,7 @@ There are two ways to use a [Map](../api-reference/maplibre/map.md): ## Uncontrolled Map -You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/basic). +You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/basic). ```tsx import * as React from 'react'; @@ -28,7 +28,7 @@ function App() { ## Controlled Map -You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/controlled). +You may clone a full app configuration for this example [here](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/controlled). ```tsx import * as React from 'react'; @@ -51,8 +51,8 @@ function App() { A real-world application likely uses more complicated state flows: -- Using map with a state store (Redux) [example](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/redux) -- Using map with SSR (Next.js) [example](https://github.com/visgl/react-map-gl/tree/8.0-release/examples/get-started/nextjs) +- Using map with a state store (Redux) [example](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/redux) +- Using map with SSR (Next.js) [example](https://github.com/visgl/react-map-gl/tree/8.1-release/examples/get-started/nextjs) ## Custom Camera Constraints diff --git a/examples/get-started/basic/package.json b/examples/get-started/basic/package.json index 5953329b..72e7f5b7 100644 --- a/examples/get-started/basic/package.json +++ b/examples/get-started/basic/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/get-started/controlled/package.json b/examples/get-started/controlled/package.json index 5953329b..72e7f5b7 100644 --- a/examples/get-started/controlled/package.json +++ b/examples/get-started/controlled/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/get-started/hook/package.json b/examples/get-started/hook/package.json index 5953329b..72e7f5b7 100644 --- a/examples/get-started/hook/package.json +++ b/examples/get-started/hook/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/get-started/maplibre/package.json b/examples/get-started/maplibre/package.json index 27741cc9..b3e18633 100644 --- a/examples/get-started/maplibre/package.json +++ b/examples/get-started/maplibre/package.json @@ -7,7 +7,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/get-started/nextjs/package.json b/examples/get-started/nextjs/package.json index cd91424c..88d41b6f 100644 --- a/examples/get-started/nextjs/package.json +++ b/examples/get-started/nextjs/package.json @@ -9,7 +9,7 @@ "next": "12.0.7", "react": "17.0.2", "react-dom": "17.0.2", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/get-started/redux/package.json b/examples/get-started/redux/package.json index 65d27ba4..7dfa8c20 100644 --- a/examples/get-started/redux/package.json +++ b/examples/get-started/redux/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "react-redux": "^7.0.0", "mapbox-gl": "^3.5.0" }, diff --git a/examples/mapbox/clusters/package.json b/examples/mapbox/clusters/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/clusters/package.json +++ b/examples/mapbox/clusters/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/clusters/src/control-panel.tsx b/examples/mapbox/clusters/src/control-panel.tsx index f0b9b55a..cba3e8f9 100644 --- a/examples/mapbox/clusters/src/control-panel.tsx +++ b/examples/mapbox/clusters/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Use Mapbox GL JS' built-in functions to visualize points as clusters.

View Code ↗ diff --git a/examples/mapbox/controls/package.json b/examples/mapbox/controls/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/controls/package.json +++ b/examples/mapbox/controls/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/controls/src/control-panel.tsx b/examples/mapbox/controls/src/control-panel.tsx index 87259466..7ada5d65 100644 --- a/examples/mapbox/controls/src/control-panel.tsx +++ b/examples/mapbox/controls/src/control-panel.tsx @@ -16,7 +16,7 @@ function ControlPanel() {

View Code ↗ diff --git a/examples/mapbox/custom-cursor/package.json b/examples/mapbox/custom-cursor/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/custom-cursor/package.json +++ b/examples/mapbox/custom-cursor/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/custom-cursor/src/control-panel.tsx b/examples/mapbox/custom-cursor/src/control-panel.tsx index 6e09fb9d..a033f5b1 100644 --- a/examples/mapbox/custom-cursor/src/control-panel.tsx +++ b/examples/mapbox/custom-cursor/src/control-panel.tsx @@ -50,7 +50,7 @@ function StyleControls(props) {

Customize the cursor based on interactivity.

View Code ↗ diff --git a/examples/mapbox/custom-overlay/package.json b/examples/mapbox/custom-overlay/package.json index 0124955e..6d93f54b 100644 --- a/examples/mapbox/custom-overlay/package.json +++ b/examples/mapbox/custom-overlay/package.json @@ -8,7 +8,7 @@ "d3-shape": "^3.1.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/custom-overlay/src/control-panel.tsx b/examples/mapbox/custom-overlay/src/control-panel.tsx index 0d9cd64c..7bc5a06d 100644 --- a/examples/mapbox/custom-overlay/src/control-panel.tsx +++ b/examples/mapbox/custom-overlay/src/control-panel.tsx @@ -32,7 +32,7 @@ function ControlPanel() {

View Code ↗ diff --git a/examples/mapbox/deckgl-overlay/package.json b/examples/mapbox/deckgl-overlay/package.json index e39e1f5e..fd8133a2 100644 --- a/examples/mapbox/deckgl-overlay/package.json +++ b/examples/mapbox/deckgl-overlay/package.json @@ -8,7 +8,7 @@ "deck.gl": "^8.8.0-beta.2", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/draggable-markers/package.json b/examples/mapbox/draggable-markers/package.json index 4c057577..24d6aa2e 100644 --- a/examples/mapbox/draggable-markers/package.json +++ b/examples/mapbox/draggable-markers/package.json @@ -8,7 +8,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/draggable-markers/src/control-panel.tsx b/examples/mapbox/draggable-markers/src/control-panel.tsx index 0a230c25..3de80c36 100644 --- a/examples/mapbox/draggable-markers/src/control-panel.tsx +++ b/examples/mapbox/draggable-markers/src/control-panel.tsx @@ -26,7 +26,7 @@ function ControlPanel(props: {events: Record}) {
View Code ↗ diff --git a/examples/mapbox/draw-polygon/package.json b/examples/mapbox/draw-polygon/package.json index 144ecc36..e92abc15 100644 --- a/examples/mapbox/draw-polygon/package.json +++ b/examples/mapbox/draw-polygon/package.json @@ -10,7 +10,7 @@ "@turf/area": "^6.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/draw-polygon/src/control-panel.tsx b/examples/mapbox/draw-polygon/src/control-panel.tsx index c675dfd1..462ce76b 100644 --- a/examples/mapbox/draw-polygon/src/control-panel.tsx +++ b/examples/mapbox/draw-polygon/src/control-panel.tsx @@ -18,7 +18,7 @@ function ControlPanel(props) { )}
View Code ↗ diff --git a/examples/mapbox/filter/package.json b/examples/mapbox/filter/package.json index 4c057577..24d6aa2e 100644 --- a/examples/mapbox/filter/package.json +++ b/examples/mapbox/filter/package.json @@ -8,7 +8,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/filter/src/control-panel.tsx b/examples/mapbox/filter/src/control-panel.tsx index 5238941e..6e0221c6 100644 --- a/examples/mapbox/filter/src/control-panel.tsx +++ b/examples/mapbox/filter/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Hover over counties to highlight counties that share the same name.

View Code ↗ diff --git a/examples/mapbox/geocoder/package.json b/examples/mapbox/geocoder/package.json index d4424a1a..76364d42 100644 --- a/examples/mapbox/geocoder/package.json +++ b/examples/mapbox/geocoder/package.json @@ -9,7 +9,7 @@ "@types/mapbox__mapbox-gl-geocoder": "^4.7.2", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/geocoder/src/control-panel.tsx b/examples/mapbox/geocoder/src/control-panel.tsx index ac7d6d8e..095e60db 100644 --- a/examples/mapbox/geocoder/src/control-panel.tsx +++ b/examples/mapbox/geocoder/src/control-panel.tsx @@ -6,7 +6,7 @@ function ControlPanel() {

Geocoder

View Code ↗ diff --git a/examples/mapbox/geojson-animation/package.json b/examples/mapbox/geojson-animation/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/geojson-animation/package.json +++ b/examples/mapbox/geojson-animation/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/geojson-animation/src/control-panel.tsx b/examples/mapbox/geojson-animation/src/control-panel.tsx index 1c49cb59..446c24da 100644 --- a/examples/mapbox/geojson-animation/src/control-panel.tsx +++ b/examples/mapbox/geojson-animation/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Render animation by updating GeoJSON data source.

View Code ↗ diff --git a/examples/mapbox/geojson/package.json b/examples/mapbox/geojson/package.json index f1cc8a45..f9c0d5c6 100644 --- a/examples/mapbox/geojson/package.json +++ b/examples/mapbox/geojson/package.json @@ -10,7 +10,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/geojson/src/control-panel.tsx b/examples/mapbox/geojson/src/control-panel.tsx index 14adb949..40180d0a 100644 --- a/examples/mapbox/geojson/src/control-panel.tsx +++ b/examples/mapbox/geojson/src/control-panel.tsx @@ -18,7 +18,7 @@ function ControlPanel(props) {

View Code ↗ diff --git a/examples/mapbox/heatmap/package.json b/examples/mapbox/heatmap/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/heatmap/package.json +++ b/examples/mapbox/heatmap/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/heatmap/src/control-panel.tsx b/examples/mapbox/heatmap/src/control-panel.tsx index 96335b85..bcb2dacb 100644 --- a/examples/mapbox/heatmap/src/control-panel.tsx +++ b/examples/mapbox/heatmap/src/control-panel.tsx @@ -57,7 +57,7 @@ function ControlPanel(props) {

View Code ↗ diff --git a/examples/mapbox/interaction/package.json b/examples/mapbox/interaction/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/interaction/package.json +++ b/examples/mapbox/interaction/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/interaction/src/control-panel.tsx b/examples/mapbox/interaction/src/control-panel.tsx index 8a63ede4..aba3a000 100644 --- a/examples/mapbox/interaction/src/control-panel.tsx +++ b/examples/mapbox/interaction/src/control-panel.tsx @@ -47,7 +47,7 @@ function ControlPanel(props) {

Turn interactive features off/on.

View Code ↗ diff --git a/examples/mapbox/layers/package.json b/examples/mapbox/layers/package.json index 74a94cef..fc632e88 100644 --- a/examples/mapbox/layers/package.json +++ b/examples/mapbox/layers/package.json @@ -9,7 +9,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/layers/src/control-panel.tsx b/examples/mapbox/layers/src/control-panel.tsx index 577a7167..0f826e61 100644 --- a/examples/mapbox/layers/src/control-panel.tsx +++ b/examples/mapbox/layers/src/control-panel.tsx @@ -82,7 +82,7 @@ function StyleControls(props) {

Dynamically show/hide map layers and change color with Immutable map style.

View Code ↗ diff --git a/examples/mapbox/side-by-side/package.json b/examples/mapbox/side-by-side/package.json index 4c057577..24d6aa2e 100644 --- a/examples/mapbox/side-by-side/package.json +++ b/examples/mapbox/side-by-side/package.json @@ -8,7 +8,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/side-by-side/src/control-panel.tsx b/examples/mapbox/side-by-side/src/control-panel.tsx index b56400c7..26af8212 100644 --- a/examples/mapbox/side-by-side/src/control-panel.tsx +++ b/examples/mapbox/side-by-side/src/control-panel.tsx @@ -26,7 +26,7 @@ function ControlPanel(props: {mode: Mode; onModeChange: (newMode: Mode) => void}
View Code ↗ diff --git a/examples/mapbox/terrain/package.json b/examples/mapbox/terrain/package.json index 4c057577..24d6aa2e 100644 --- a/examples/mapbox/terrain/package.json +++ b/examples/mapbox/terrain/package.json @@ -8,7 +8,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/terrain/src/control-panel.tsx b/examples/mapbox/terrain/src/control-panel.tsx index 7b1ab437..b8c5b256 100644 --- a/examples/mapbox/terrain/src/control-panel.tsx +++ b/examples/mapbox/terrain/src/control-panel.tsx @@ -8,7 +8,7 @@ function ControlPanel() {
View Code ↗ diff --git a/examples/mapbox/viewport-animation/package.json b/examples/mapbox/viewport-animation/package.json index a9b9c1af..1376fb99 100644 --- a/examples/mapbox/viewport-animation/package.json +++ b/examples/mapbox/viewport-animation/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "mapbox-gl": "^3.5.0" }, "devDependencies": { diff --git a/examples/mapbox/viewport-animation/src/control-panel.tsx b/examples/mapbox/viewport-animation/src/control-panel.tsx index 1f1ebfff..1a0aafee 100644 --- a/examples/mapbox/viewport-animation/src/control-panel.tsx +++ b/examples/mapbox/viewport-animation/src/control-panel.tsx @@ -9,7 +9,7 @@ function ControlPanel(props) {

Smooth animate of the viewport.

View Code ↗ diff --git a/examples/mapbox/zoom-to-bounds/package.json b/examples/mapbox/zoom-to-bounds/package.json index 07c93c72..f205212a 100644 --- a/examples/mapbox/zoom-to-bounds/package.json +++ b/examples/mapbox/zoom-to-bounds/package.json @@ -9,7 +9,7 @@ "mapbox-gl": "^3.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/mapbox/zoom-to-bounds/src/control-panel.tsx b/examples/mapbox/zoom-to-bounds/src/control-panel.tsx index 7fe0f8ac..a5e35795 100644 --- a/examples/mapbox/zoom-to-bounds/src/control-panel.tsx +++ b/examples/mapbox/zoom-to-bounds/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Click on a San Fransisco Neighborhood to zoom in.

View Code ↗ diff --git a/examples/maplibre/clusters/package.json b/examples/maplibre/clusters/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/clusters/package.json +++ b/examples/maplibre/clusters/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/clusters/src/control-panel.tsx b/examples/maplibre/clusters/src/control-panel.tsx index 9333acda..a2c1e999 100644 --- a/examples/maplibre/clusters/src/control-panel.tsx +++ b/examples/maplibre/clusters/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Use Maplibre GL JS' built-in functions to visualize points as clusters.

View Code ↗ diff --git a/examples/maplibre/controls/package.json b/examples/maplibre/controls/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/controls/package.json +++ b/examples/maplibre/controls/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/controls/src/control-panel.tsx b/examples/maplibre/controls/src/control-panel.tsx index 641ca38c..e48be0f0 100644 --- a/examples/maplibre/controls/src/control-panel.tsx +++ b/examples/maplibre/controls/src/control-panel.tsx @@ -16,7 +16,7 @@ function ControlPanel() {

View Code ↗ diff --git a/examples/maplibre/custom-cursor/package.json b/examples/maplibre/custom-cursor/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/custom-cursor/package.json +++ b/examples/maplibre/custom-cursor/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/custom-cursor/src/control-panel.tsx b/examples/maplibre/custom-cursor/src/control-panel.tsx index d0b01b88..721e7794 100644 --- a/examples/maplibre/custom-cursor/src/control-panel.tsx +++ b/examples/maplibre/custom-cursor/src/control-panel.tsx @@ -50,7 +50,7 @@ function StyleControls(props) {

Customize the cursor based on interactivity.

View Code ↗ diff --git a/examples/maplibre/custom-overlay/package.json b/examples/maplibre/custom-overlay/package.json index 628fe279..1435545d 100644 --- a/examples/maplibre/custom-overlay/package.json +++ b/examples/maplibre/custom-overlay/package.json @@ -8,7 +8,7 @@ "d3-shape": "^3.1.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/custom-overlay/src/control-panel.tsx b/examples/maplibre/custom-overlay/src/control-panel.tsx index e22bded6..fe56edbc 100644 --- a/examples/maplibre/custom-overlay/src/control-panel.tsx +++ b/examples/maplibre/custom-overlay/src/control-panel.tsx @@ -32,7 +32,7 @@ function ControlPanel() {

View Code ↗ diff --git a/examples/maplibre/deckgl-overlay/package.json b/examples/maplibre/deckgl-overlay/package.json index 19b2a2a1..b7a9d783 100644 --- a/examples/maplibre/deckgl-overlay/package.json +++ b/examples/maplibre/deckgl-overlay/package.json @@ -8,7 +8,7 @@ "deck.gl": "^9.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/draggable-markers/package.json b/examples/maplibre/draggable-markers/package.json index 67c8fcd4..ca0af36e 100644 --- a/examples/maplibre/draggable-markers/package.json +++ b/examples/maplibre/draggable-markers/package.json @@ -8,7 +8,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/draggable-markers/src/control-panel.tsx b/examples/maplibre/draggable-markers/src/control-panel.tsx index aa7cd611..dd03ff57 100644 --- a/examples/maplibre/draggable-markers/src/control-panel.tsx +++ b/examples/maplibre/draggable-markers/src/control-panel.tsx @@ -26,7 +26,7 @@ function ControlPanel(props: {events: Record}) {
View Code ↗ diff --git a/examples/maplibre/draw-polygon/package.json b/examples/maplibre/draw-polygon/package.json index d1f500a5..07ab4da7 100644 --- a/examples/maplibre/draw-polygon/package.json +++ b/examples/maplibre/draw-polygon/package.json @@ -10,7 +10,7 @@ "@turf/area": "^6.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/draw-polygon/src/control-panel.tsx b/examples/maplibre/draw-polygon/src/control-panel.tsx index 62fa8945..3772c861 100644 --- a/examples/maplibre/draw-polygon/src/control-panel.tsx +++ b/examples/maplibre/draw-polygon/src/control-panel.tsx @@ -18,7 +18,7 @@ function ControlPanel(props) { )}
View Code ↗ diff --git a/examples/maplibre/filter/package.json b/examples/maplibre/filter/package.json index 67c8fcd4..ca0af36e 100644 --- a/examples/maplibre/filter/package.json +++ b/examples/maplibre/filter/package.json @@ -8,7 +8,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/filter/src/control-panel.tsx b/examples/maplibre/filter/src/control-panel.tsx index 1632d1d8..cf41d936 100644 --- a/examples/maplibre/filter/src/control-panel.tsx +++ b/examples/maplibre/filter/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Hover over counties to highlight counties that share the same name.

View Code ↗ diff --git a/examples/maplibre/geocoder/package.json b/examples/maplibre/geocoder/package.json index 5fab2277..1178258d 100644 --- a/examples/maplibre/geocoder/package.json +++ b/examples/maplibre/geocoder/package.json @@ -8,7 +8,7 @@ "@maplibre/maplibre-gl-geocoder": "^1.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/geocoder/src/control-panel.tsx b/examples/maplibre/geocoder/src/control-panel.tsx index 988219d5..ed425b02 100644 --- a/examples/maplibre/geocoder/src/control-panel.tsx +++ b/examples/maplibre/geocoder/src/control-panel.tsx @@ -6,7 +6,7 @@ function ControlPanel() {

Geocoder

View Code ↗ diff --git a/examples/maplibre/geojson-animation/package.json b/examples/maplibre/geojson-animation/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/geojson-animation/package.json +++ b/examples/maplibre/geojson-animation/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/geojson-animation/src/control-panel.tsx b/examples/maplibre/geojson-animation/src/control-panel.tsx index 099b0053..ec0f029a 100644 --- a/examples/maplibre/geojson-animation/src/control-panel.tsx +++ b/examples/maplibre/geojson-animation/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Render animation by updating GeoJSON data source.

View Code ↗ diff --git a/examples/maplibre/geojson/package.json b/examples/maplibre/geojson/package.json index 1619fad7..fbb50231 100644 --- a/examples/maplibre/geojson/package.json +++ b/examples/maplibre/geojson/package.json @@ -10,7 +10,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/geojson/src/control-panel.tsx b/examples/maplibre/geojson/src/control-panel.tsx index deb5cbd7..b6036bf2 100644 --- a/examples/maplibre/geojson/src/control-panel.tsx +++ b/examples/maplibre/geojson/src/control-panel.tsx @@ -15,7 +15,7 @@ function ControlPanel(props) {

View Code ↗ diff --git a/examples/maplibre/globe/package.json b/examples/maplibre/globe/package.json index 8522c980..0fd3dd28 100644 --- a/examples/maplibre/globe/package.json +++ b/examples/maplibre/globe/package.json @@ -8,7 +8,7 @@ "maplibre-gl": "^5.0.0-pre.1", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/globe/src/control-panel.tsx b/examples/maplibre/globe/src/control-panel.tsx index ff0970f8..2cfb52c9 100644 --- a/examples/maplibre/globe/src/control-panel.tsx +++ b/examples/maplibre/globe/src/control-panel.tsx @@ -8,7 +8,7 @@ function ControlPanel() {
View Code ↗ diff --git a/examples/maplibre/heatmap/package.json b/examples/maplibre/heatmap/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/heatmap/package.json +++ b/examples/maplibre/heatmap/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/heatmap/src/control-panel.tsx b/examples/maplibre/heatmap/src/control-panel.tsx index 55479da2..1b7fc662 100644 --- a/examples/maplibre/heatmap/src/control-panel.tsx +++ b/examples/maplibre/heatmap/src/control-panel.tsx @@ -57,7 +57,7 @@ function ControlPanel(props) {

View Code ↗ diff --git a/examples/maplibre/interaction/package.json b/examples/maplibre/interaction/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/interaction/package.json +++ b/examples/maplibre/interaction/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/interaction/src/control-panel.tsx b/examples/maplibre/interaction/src/control-panel.tsx index 46f5ed60..fd652105 100644 --- a/examples/maplibre/interaction/src/control-panel.tsx +++ b/examples/maplibre/interaction/src/control-panel.tsx @@ -47,7 +47,7 @@ function ControlPanel(props) {

Turn interactive features off/on.

View Code ↗ diff --git a/examples/maplibre/layers/package.json b/examples/maplibre/layers/package.json index a2b1f582..278fd8aa 100644 --- a/examples/maplibre/layers/package.json +++ b/examples/maplibre/layers/package.json @@ -9,7 +9,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/layers/src/control-panel.tsx b/examples/maplibre/layers/src/control-panel.tsx index 24b72311..78d81621 100644 --- a/examples/maplibre/layers/src/control-panel.tsx +++ b/examples/maplibre/layers/src/control-panel.tsx @@ -82,7 +82,7 @@ function StyleControls(props) {

Dynamically show/hide map layers and change color with Immutable map style.

View Code ↗ diff --git a/examples/maplibre/side-by-side/package.json b/examples/maplibre/side-by-side/package.json index 67c8fcd4..ca0af36e 100644 --- a/examples/maplibre/side-by-side/package.json +++ b/examples/maplibre/side-by-side/package.json @@ -8,7 +8,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/side-by-side/src/control-panel.tsx b/examples/maplibre/side-by-side/src/control-panel.tsx index 6c622350..d0690ce7 100644 --- a/examples/maplibre/side-by-side/src/control-panel.tsx +++ b/examples/maplibre/side-by-side/src/control-panel.tsx @@ -26,7 +26,7 @@ function ControlPanel(props: {mode: Mode; onModeChange: (newMode: Mode) => void}
View Code ↗ diff --git a/examples/maplibre/terrain/package.json b/examples/maplibre/terrain/package.json index 67c8fcd4..ca0af36e 100644 --- a/examples/maplibre/terrain/package.json +++ b/examples/maplibre/terrain/package.json @@ -8,7 +8,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/terrain/src/control-panel.tsx b/examples/maplibre/terrain/src/control-panel.tsx index a8a07170..981130e6 100644 --- a/examples/maplibre/terrain/src/control-panel.tsx +++ b/examples/maplibre/terrain/src/control-panel.tsx @@ -8,7 +8,7 @@ function ControlPanel() {
View Code ↗ diff --git a/examples/maplibre/viewport-animation/package.json b/examples/maplibre/viewport-animation/package.json index 172c2f35..1b771285 100644 --- a/examples/maplibre/viewport-animation/package.json +++ b/examples/maplibre/viewport-animation/package.json @@ -7,7 +7,7 @@ "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0", + "react-map-gl": "^8.1.0", "maplibre-gl": "^5.0.0" }, "devDependencies": { diff --git a/examples/maplibre/viewport-animation/src/control-panel.tsx b/examples/maplibre/viewport-animation/src/control-panel.tsx index c87a77aa..e9f9673d 100644 --- a/examples/maplibre/viewport-animation/src/control-panel.tsx +++ b/examples/maplibre/viewport-animation/src/control-panel.tsx @@ -9,7 +9,7 @@ function ControlPanel(props) {

Smooth animate of the viewport.

View Code ↗ diff --git a/examples/maplibre/zoom-to-bounds/package.json b/examples/maplibre/zoom-to-bounds/package.json index 2578c277..094d22e6 100644 --- a/examples/maplibre/zoom-to-bounds/package.json +++ b/examples/maplibre/zoom-to-bounds/package.json @@ -9,7 +9,7 @@ "maplibre-gl": "^5.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-map-gl": "^8.0.0" + "react-map-gl": "^8.1.0" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/examples/maplibre/zoom-to-bounds/src/control-panel.tsx b/examples/maplibre/zoom-to-bounds/src/control-panel.tsx index 99c87fed..ca95fa1f 100644 --- a/examples/maplibre/zoom-to-bounds/src/control-panel.tsx +++ b/examples/maplibre/zoom-to-bounds/src/control-panel.tsx @@ -7,7 +7,7 @@ function ControlPanel() {

Click on a San Fransisco Neighborhood to zoom in.