-
Notifications
You must be signed in to change notification settings - Fork 143
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
Can't get zoom working in Android #185
Comments
I'm facing the same issue in my Ionic react app. Would like to add that when 2-finger dragging, the map updates center to the wrong position causing jumps/stuttering |
have u tried this workaround: |
I was facing this issue, but it doesn't seem to affect maps with Also worth noting that the example works in mobile, not sure what's different there. |
Setting zoomsnap to 'false' did the trick for me. Thanks for that! |
idk how many hours I lost trying to figure this out. thanks. |
I'm sure I'm missing something here, but I can't get zoom working in Android. Whenever I zoom in or zoom out on an Android device. The zoom level snaps back to its original value. I'm told the same thing happens on iOS, but I haven't tested it myself. Zooming works fine on the desktop browsers I've tried (Chrome and Firefox). The example below uses a controlled component, but I've also tried using
defaultCenter
anddefaultZoom
with an uncontrolled component.Steps to reproduce:
The text was updated successfully, but these errors were encountered: