Animate a camera around a point #1537
Unanswered
jaballogian
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
http://visgl.github.io/react-map-gl/docs/advanced/viewport-transition |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found an example for animating a camera around a point from the official Mapbox GL JS documentation here but it's written in pure Javascript.
I'm using
react-map-gllibrary and trying to animate the camera around a point like the example above.Here is my code:
There was a compiled error:
Then I tried to repair the import into:
but there was a runtime error:
Then how do I implement the animate the camera around a point documentation properly?
Beta Was this translation helpful? Give feedback.
All reactions