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

.flyTo:false removes map-panning completely #61

Closed
peterqliu opened this issue Oct 11, 2016 · 3 comments
Closed

.flyTo:false removes map-panning completely #61

peterqliu opened this issue Oct 11, 2016 · 3 comments

Comments

@peterqliu
Copy link

Check out https://jsfiddle.net/dm5zw8gn/. While the code intends simply to remove the flyTo animation, it completely prevents the geocoder from moving the map to the desired spot

cc/ @tristen

@peterqliu
Copy link
Author

peterqliu commented Oct 11, 2016

Unsure if I'm reading this right, but this if block might need an else.

@tristen
Copy link
Member

tristen commented Oct 11, 2016

That's the intended behaviour. It allows an implementor to listen to geocoder events and animate in their own code or not.

@tristen
Copy link
Member

tristen commented Oct 11, 2016

What we should do is this though: #51

@tristen tristen closed this as completed Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants