osmcha-frontend
osmcha-frontend copied to clipboard
If BBox is provided, zoom pop up map to these coordinates
I'm submitting a feature request
Brief Description
After defining a filter with a BBox and searching, each refinement the BBox needs to start over from world view (zoom in + pan).
What is the motivation / use case for this feature?
Speed up refining an existing BBox - quite usual if you're interested in a group of neighbouring areas but do not want too much noise / irrelevant changesets
What is the expected behaviour ?
When filter field Bounding Box (BBox) is filled with e.g. 7.8481,47.9882,7.8492,47.9889 and user clicks into the field, the pop up map shows / zooms into the given BBox. If BBox does not match relation of the map (e.g. because it was manually edited in inconsistent way), ignore given BBox and initialize in world view as if text field was empty (=current behavior introduced by https://github.com/mapbox/osmcha-frontend/issues/119)
Please tell us about your environment:
Firefox 114 on Windows 10