-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Don't zoom out to z15 when editing a note #10807
Comments
@maro-21 I don't understand your reproduction steps. Could you add some more context and steps? |
I think the issue is when pasting the note id into iD's search bar. When clicking on any search result, iD normally tries to "fit" the map to show the full feature (i.e. zooming in to a small feature, or zooming out to fit a large one). For point features (nodes and notes), there appear to be hardcoded zoom values: zoom=20 for nodes and zoom=15 for notes. The level 15 is especially annoying, as it zooms one quite far out (so far that iD does not even render the OSM data anymore). At first glance, I would agree that just preserving the mapper's zoom level is a better solution for notes. For consistency, the behaviour should then be the same also for nodes. For ways/relations it might also make sense in the case where the feature already fully fits the map at the current zoom level. |
I wrote the exact steps, but you must of course replace "xxxxx" with a note number.
It's an old issue and it's been here since notes where added to iD, I think. |
The text was updated successfully, but these errors were encountered: