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 and untilPanOrZoom combination breaks following #314

Open
Sp3EdeR opened this issue Sep 28, 2022 · 0 comments
Open

flyTo and untilPanOrZoom combination breaks following #314

Sp3EdeR opened this issue Sep 28, 2022 · 0 comments

Comments

@Sp3EdeR
Copy link

Sp3EdeR commented Sep 28, 2022

When the options contains flyTo: true, setView: 'untilPanOrZoom', the code self-cancels following instantly in the following call stack:

_onZoom
fire
_moveStart
flyTo
setView

I think that _moveStart should not fire the 'zoomstart' event when it is caused by flyTo or _onZoom should ignore the event while the zoom happens due to flyTo.

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

1 participant