-
Notifications
You must be signed in to change notification settings - Fork 935
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
Cant drag or zoom map when directions are on #298
Comments
What version are you using? I'm seeing similar behaviour on |
I am having a similar problem using fitBounds, did either of you find a resolution? |
@zlwaterfield @JoshuaGross @tbtommyb I'm not sure what's the cause to this. Could you check out if there's any option in Also, 6.0.0 is released on npm beta tag now. We also have a new demo page. Feel free to try it: |
@tomchentw In my case it turned out to be because fitBounds was immediately rebounding the map, so I had to change it so that it was only called once when my map's markers were created. |
Please refer to Getting Help section in the README (or #469). |
@tbtommyb can you please tell me how you managed to call the fitbounds only once after markers were created?? I used the fitbounds method in the onTilesLoaded so it will be calling all the time when i try to zoom. |
I have the directions showing, they are working, but when you drag or zoom the map it defaults back to where the directions are. It is like the map is locked on the directions.
GIF to show => http://g.recordit.co/R3sDpLyqB6.gif
The text was updated successfully, but these errors were encountered: