-
Notifications
You must be signed in to change notification settings - Fork 26
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
Zoom level indicator auto-update #243
Comments
Hi @opk12 , yes it is the zoomlevel. Up to some time ago it was not possible in the flutter map lib to catch the pinch zoom event, so the number it connected to the zoom in and out buttons.
but still no pinch event. |
Thank you. Is it fleaflet/flutter_map? If so, I opened this ticket for a generic zoom event API, which seems not to exist indeed in the class list, if it can help somehow |
Great, thanks. When the event will be implemented, we can also move it to smash. |
Hi @opk12 , for a different reason I ended up checking the MapEvents once more and found that there is a multi finger event that is redirected into a MapEventMove. So listening to that one made the zoom indicator finally work. I want to do some more testing on this, but seems to work nicely. Closing this for now. |
Thank you. FYI There's a gesture API restructuring in the works. fleaflet/flutter_map#1715 |
Yep, thanks, I saw this and am not looking forward to migrate to flutter_map 5. Already 4 has been a pain. :-) |
Do I understand correctly that the number at the bottom right is the zoom level? It does not change, when I pinch the slippy map to zoom in or zoom out. It should auto-update instead. But then I press the blue arrow at the bottom right (toggle menu bar icons) and it gets updated.
The text was updated successfully, but these errors were encountered: