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

OnScaleListener not called when user zooms the map with double tap #2900

Open
iwo opened this issue Oct 3, 2024 · 2 comments
Open

OnScaleListener not called when user zooms the map with double tap #2900

iwo opened this issue Oct 3, 2024 · 2 comments
Labels
android bug Something isn't working more info needed Further information is requested

Comments

@iwo
Copy link

iwo commented Oct 3, 2024

Describe the bug
When user changes map scale by double tap the MapLibreMap.OnScaleListener is not called.
The listener is correctly called for pinch-zoom or double tap and swipe (single finger zoom).

To Reproduce
Steps to reproduce the behavior:

  1. Register a listener using MapBoxMap.addOnScaleListener(listener)
  2. Double tap the map

Expected behavior
OnScaleListener.onScaleBegin() is called, map zooms in, OnScaleListener.onScaleEnd() is called

Actual behavior
Map is zoomed in but no listeners are called.

Platform information (please complete the following information):

  • OS: Android 11 - 14 (not version dependent)
  • MapLibre Native version 11.5.0
@iwo iwo added the bug Something isn't working label Oct 3, 2024
@louwers louwers added the more info needed Further information is requested label Oct 3, 2024
@louwers
Copy link
Collaborator

louwers commented Oct 3, 2024

Please provide version of MapLibre Native Android used, Android version and device type.

@louwers louwers added the android label Oct 3, 2024
@iwo
Copy link
Author

iwo commented Oct 4, 2024

@louwers I added the versions to the bug description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working more info needed Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants