-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 callback #1794
Labels
Comments
Can you listen for the |
Yes but it would be nice/clearer to do it within flyTo |
I think it's better to rely on |
👍 this is a good solution. Closing. |
I use this solution: map.on('moveend', ({ originalEvent }) => {
if (originalEvent) {
map.fire('usermoveend');
} else {
map.fire('flyend');
}
}); You can do the same for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be nice to have a callback function when a flyTo animation is complete.
The text was updated successfully, but these errors were encountered: