-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
[Nightly] {UnifiedMap] "Stay with me" survives pan, if happens during zooming #15590
Comments
Confirmed for UnifiedMap VTM, but seems to work for UnifiedMap Google |
VTM seems to be a bit confusing... mapUpdateListener sends slightly different events depending on type of actions and type of invocation:
With this "workaround" I can make VTM "manual zoom" behavior similar to UnifiedMap Google: On initiating zoom via two finger gesture (which nearly always includes a slight movement) disable "follow me". No "grace distance", though (both types). |
PR #15722 implements this behavior for UnifiedMap VTM (OSM). |
Sounds good - Thx! Grace distance is not that important anyway. If one wants to keep "follow me" there's nothing to say against using the zoom controls. ;) |
Describe your problem!
Usually ,I`m in Live map, OSM offline, with the "Stay with me" button ;) activated (i. e. map is set to follow my position).
And the "follow me" function is active until I pan the map. Which is perfectly fine.
But when I zoom and pan, the setting remains active and although I (intentionally) panned to a completely different region, it takes me back to my position. Most of the times immediately, sometimes after a second or so.
Which is pretty annoying, cause then I again have to zoom out and in again to the region I wanted to go to,
How to reproduce?
Actual result after these steps?
Expected result after these steps?
Map should stay where I have panned her, i. e. "stay with me" should also be deactivated if panning happens while zooming
Reproducible
Yes
c:geo Version
2024.04.13-NB-4ae1565
System information
No response
Additional Information
With "classic" map "stay with me" gets immediately deactivated even on zoom actions.
Which I would consider a bit harsh ... truth lies most probably somewhere in the middle ... as usual. ;)
So, zooming alone with just "a little bit of panning" (i. e. unintentional pan) may safely leave "stay with me" active,
but obviously intentional panning should definitely deactivate it.
The text was updated successfully, but these errors were encountered: