-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
[BUG] v6: Unable to smoothly rotate when colliding with constraints #1682
Comments
Hi @tlserver, thanks for reporting. Can you try disabling the new transparent gestures feature in MapOptions? |
Do you mean |
Ah, I've got it now. I originally misunderstood this, but I can see what you mean. When zoomed out to the constraints, rotating the map does not smoothly zoom it in and out to allow for full rotation touching the bounds. Instead, it rubs against the bounds and stops gestures. Not being able to zoom out is expected, as we've added these bounds to prevent the user from seeing the gray background. I can't remember the behaviour in previous versions, but I suppose it's possibly the same, just rarely noticed due to the relative underuse of this feature. Anyway, it should be able to be worked around by setting |
In previous version, user can zoom in or out or rotate freely when zoom = 1 but keep seeing the gray background. I think this should be the default behaviour. Since seeing background is not a big problem to the user, but non-responding gesture is. I do not think any user will expect the boundary of map will stop him/her to rotate the map. |
You're right, the easy fix is to change this default. However, I'm not so sure. Whilst we don't support infinite repeating Earth's, it's not great UX to let the users see these 'false' projections (as they won't be able to interact with them, because the lat/lng range is constrained to reality), let alone grey tiles. The proper fix is to allow a rotation gesture to change the zoom level as necessary in order to comply with the constraints, then smoothly restore to the correct level as possible. But this does sound like a lot of work in an already overcomplicated system, so maybe we'll revert the change that changed this default 😂. |
What is the bug?
User cannot zoomout or rotate by gesture if the space is not fully filled with tile.
How can we reproduce it?
Do you have a potential solution?
No response
Platforms
Android 13 [XiaoMi13i, MIUI Global 14.0.5]
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: