Skip to content
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

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

Closed
7h30n3 opened this issue Feb 28, 2023 · 1 comment
Labels
feature request New feature request

Comments

@7h30n3
Copy link
Member

7h30n3 commented Feb 28, 2023

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

@7h30n3 7h30n3 added the feature request New feature request label Feb 28, 2023
@7h30n3 7h30n3 linked a pull request Jun 28, 2023 that will close this issue
@Robbendebiene Robbendebiene removed a link to a pull request Jun 28, 2023
@Robbendebiene
Copy link
Member

Obsolete since #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants