OPENER-next / OpenStop

App for collecting OpenStreetMap-compliant accessibility data in public transport
https://openstop.app
GNU General Public License v3.0
65 stars 13 forks source link

Adjust zoom behavior when clicking on a stop area depending on current zoom level #146

Closed 7h30n3 closed 1 year ago

7h30n3 commented 1 year ago

Idea

Currently when a user is zoomed in on a stop area that extends over the bounding box/ viewport and clicks on that particular stop area the camera will zoom out so that the whole stop area will fit in the viewport. This behavior can be distracting.

I suggest to only zoom in on a clicked stop area, when the camera is far away and never zoom out when the camera is already close and the clicked stop area fills the whole viewport.

tl;dr: Don't zoom out to fit the stop area in the viewport, only zoom in.

Bug Relation

No response

Implementation

No response

Additional Info

No response

Robbendebiene commented 1 year ago

Obsolete since #172