mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
Fix broken link to viewport transition (#1307)
This commit is contained in:
parent
7d2b56e242
commit
bbd1664025
@ -50,7 +50,7 @@ const viewport = new WebMercatorViewport({width: 800, height: 600})
|
||||
|
||||
You cannot manipulate the map camera via `getMap()` and the native mapbox-gl API. To conform to the reactive programming paradigm, all camera changes should be driven by prop changes on the React component. Circumventing this will break the binding between React components and the underlying map instance.
|
||||
|
||||
Instead, use the [InteractiveMap](/docs/api-reference/interactive-map.md)'s transition props. See [viewport transition](docs/advanced/viewport-transition.md) for examples.
|
||||
Instead, use the [InteractiveMap](/docs/api-reference/interactive-map.md)'s transition props. See [viewport transition](/docs/advanced/viewport-transition.md) for examples.
|
||||
|
||||
## mapbox-gl-draw does not work with react-map-gl
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user