google-maps-react icon indicating copy to clipboard operation
google-maps-react copied to clipboard

Animate to coordinates/location/region

Open RiatIO opened this issue 5 years ago • 1 comments

I've been trying to figure out how to find a similar function to animateToRegion for react-native-maps and "transitionInterpolator: new FlyToInterpolator()" for Mapbox GL JS without luck.

Currently, when I press a marker I just change the center coordinates and zoom, and it basically jumps to that region. However, how can I do a smooth transition on a Marker click?

RiatIO avatar May 18 '20 14:05 RiatIO

I've been trying to figure out how to find a similar function to animateToRegion for react-native-maps and "transitionInterpolator: new FlyToInterpolator()" for Mapbox GL JS without luck.

Currently, when I press a marker I just change the center coordinates and zoom, and it basically jumps to that region. However, how can I do a smooth transition on a Marker click?

I'm having this issue as well

AndriesJacobus avatar Oct 27 '20 11:10 AndriesJacobus