mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
Bump version in docs and examples
This commit is contained in:
parent
948fd2e4f4
commit
7ed785ebaa
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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"
|
||||
},
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Use Mapbox GL JS' built-in functions to visualize points as clusters.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/clusters"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/clusters"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -16,7 +16,7 @@ function ControlPanel() {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/controls"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/controls"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -50,7 +50,7 @@ function StyleControls(props) {
|
||||
<p>Customize the cursor based on interactivity.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/custom-cursor"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/custom-cursor"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -32,7 +32,7 @@ function ControlPanel() {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/custom-overlay"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/custom-overlay"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -26,7 +26,7 @@ function ControlPanel(props: {events: Record<string, LngLat>}) {
|
||||
</div>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/draggable-markers"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/draggable-markers"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -18,7 +18,7 @@ function ControlPanel(props) {
|
||||
)}
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/draw-polygon"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/draw-polygon"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Hover over counties to highlight counties that share the same name.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/filter"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/filter"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -6,7 +6,7 @@ function ControlPanel() {
|
||||
<h3>Geocoder</h3>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/geocoder"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/geocoder"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Render animation by updating GeoJSON data source.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/geojson-animation"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/geojson-animation"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -18,7 +18,7 @@ function ControlPanel(props) {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/geojson"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/geojson"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -57,7 +57,7 @@ function ControlPanel(props) {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/heatmap"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/heatmap"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -47,7 +47,7 @@ function ControlPanel(props) {
|
||||
<p>Turn interactive features off/on.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/interaction"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/interaction"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -82,7 +82,7 @@ function StyleControls(props) {
|
||||
<p>Dynamically show/hide map layers and change color with Immutable map style.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/layers"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/layers"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -26,7 +26,7 @@ function ControlPanel(props: {mode: Mode; onModeChange: (newMode: Mode) => void}
|
||||
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/side-by-side"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/side-by-side"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -8,7 +8,7 @@ function ControlPanel() {
|
||||
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/terrain"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/terrain"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -9,7 +9,7 @@ function ControlPanel(props) {
|
||||
<p>Smooth animate of the viewport.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/viewport-animation"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/viewport-animation"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Click on a San Fransisco Neighborhood to zoom in.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/mapbox/zoom-to-bounds"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/mapbox/zoom-to-bounds"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Use Maplibre GL JS' built-in functions to visualize points as clusters.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/clusters"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/clusters"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -16,7 +16,7 @@ function ControlPanel() {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/controls"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/controls"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -50,7 +50,7 @@ function StyleControls(props) {
|
||||
<p>Customize the cursor based on interactivity.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/custom-cursor"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/custom-cursor"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -32,7 +32,7 @@ function ControlPanel() {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/custom-overlay"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/custom-overlay"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -26,7 +26,7 @@ function ControlPanel(props: {events: Record<string, LngLat>}) {
|
||||
</div>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/draggable-markers"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/draggable-markers"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -18,7 +18,7 @@ function ControlPanel(props) {
|
||||
)}
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/draw-polygon"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/draw-polygon"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Hover over counties to highlight counties that share the same name.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/filter"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/filter"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -6,7 +6,7 @@ function ControlPanel() {
|
||||
<h3>Geocoder</h3>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/geocoder"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/geocoder"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -7,7 +7,7 @@ function ControlPanel() {
|
||||
<p>Render animation by updating GeoJSON data source.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/geojson-animation"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/geojson-animation"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -15,7 +15,7 @@ function ControlPanel(props) {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/geojson"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/geojson"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -8,7 +8,7 @@ function ControlPanel() {
|
||||
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/globe"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/globe"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -57,7 +57,7 @@ function ControlPanel(props) {
|
||||
</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/heatmap"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/heatmap"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -47,7 +47,7 @@ function ControlPanel(props) {
|
||||
<p>Turn interactive features off/on.</p>
|
||||
<div className="source-link">
|
||||
<a
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.0-release/examples/maplibre/interaction"
|
||||
href="https://github.com/visgl/react-map-gl/tree/8.1-release/examples/maplibre/interaction"
|
||||
target="_new"
|
||||
>
|
||||
View Code ↗
|
||||
|
||||
@ -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",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user