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

[Map] Zoom-related events triggered multiple times when updating zoomable at runtime #4327

Open
mbechev opened this issue Jun 13, 2024 · 0 comments
Labels
Bug FP: Unplanned Sync status with associated Feedback Item pkg:map Team1

Comments

@mbechev
Copy link
Contributor

mbechev commented Jun 13, 2024

Describe the bug
The zoom-related events (zoomChange, zoomStart, zoomEnd) are triggered multiple times if the zoomable property value is updated dynamically.

To Reproduce

  1. Zoom in/out to see the initial zoom level of the wheel.
  2. Click the button to disable the zooming feature.
  3. Click the button to enable it back.
  4. Zoom in/out. Now the map is zoomed out at different levels because of the multiple event trigger.

https://stackblitz.com/edit/angular-24cesj

@mbechev mbechev added Bug Team1 pkg:map FP: Unplanned Sync status with associated Feedback Item labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug FP: Unplanned Sync status with associated Feedback Item pkg:map Team1
Projects
None yet
Development

No branches or pull requests

1 participant