Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
fitToCoordinates and animateCamera #2764
Before creating a full issue with examples and all that good stuff, I want to ask if this is even a bug or not.
I use fitToCoordinates when a marker is pressed so I can create space to draw the route from the user's current location to that marker on the map.
After doing that, animateCamera stops working. It just doesn't do anything. No errors, no warnings... No animations.
Is this on purpose? Do I need to disable "fitToCoordinates" somehow? Or is it a bug?
Update: Silent update to hide my shame. I was running this in componentDidUpdate because I didn't pay attention.