-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Map rotates/zooms/moves to an inadequate position after opening the quest form #3346
Labels
Comments
Yes, I know. I believe this must be a tangram-bug but I have been too lazy to investigate if this is true. For anyone wanting to give it a shot, the code is in StreetComplete/app/src/main/java/de/westnordost/streetcomplete/map/tangram/KtMapController.kt Lines 234 to 279 in d677942
|
cyclingcat
changed the title
Map shows
Map rotates/zooms/moves to an inadequate position after opening the quest form
Oct 6, 2021
westnordost
added
the
needs PR
accepted suggestion, but only if a contributor implements it
label
Oct 15, 2021
westnordost
removed
the
needs PR
accepted suggestion, but only if a contributor implements it
label
Apr 15, 2024
Will be solved with #3123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
this one looks like a bug that must have been introduced many versions ago, but since the introduction of quests for longer OSM ways in v35.0 its impact has become more adverse.
If I click on a quest icon concerning a way, the quest form appears and the map rotates/zooms/moves. If I remember correctly, the zoom was calculated in a way that the whole way was completely visible on the displayed map section (which makes sense in order to show the way in its context). But sometimes the zoom/movement/rotation of the displayed map isn't really helpful, because the affected way is either not visible in its entirety or, even worse, not visible at all. For me it looks like some miscalculation takes place under certain cirumstances yet unknown to me.
I didn't succeed in reproducing the issue step by step, but I face it quite often. If I close the quest form, zoom/pan/rotate the map manually and click on the same quest again, the displayed map section often also changes, making things sometimes better, sometimes worse.
See these screenshots:
A road surface quest...
... after the click on it, the map zooms and pans, but the zoom factor is much too high and the affected road is displayed near the upper border of the screen:
During the next time I will try to narrow down this effect a little bit.
The cycling cat
The text was updated successfully, but these errors were encountered: