Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fitToCoordinates and animateCamera #2764

Closed
RWOverdijk opened this issue Mar 26, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@RWOverdijk
Copy link
Contributor

commented Mar 26, 2019

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.

@RWOverdijk RWOverdijk closed this Mar 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.