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

LayerSwitcher: add an option that rotates the map's View to a pre-defined value when a layer is made visible #1451

Closed
jacobwod opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels
Projects
Milestone

Comments

@jacobwod
Copy link
Member

We've recently added some layers containing photographies taken at a certain angle. These layers are "directed" in a specific direction, e.g. towards south. Since the map is always rotated with north at top, this leads to a strange perspective when such a layer is enabled.

User can of course rotate the View manually (Alt+Shift+Drag), but it'd really be preferable to rotate the View when such a layer is enabled.

@jacobwod jacobwod added the idea label Jan 15, 2024
@jacobwod jacobwod added this to the 3.x milestone Jan 15, 2024
@jacobwod jacobwod self-assigned this Jan 15, 2024
@jacobwod jacobwod added this to Approved ideas in Hajk via automation Jan 15, 2024
@jacobwod
Copy link
Member Author

Proposed solution triggers only when background layer visibility is changed. Given a set of four photographies taken in different directions, the results can be something like:

Skarminspelning.2024-01-17.kl.14.15.11.mov

Hajk automation moved this from Approved ideas to Done Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Hajk
  
Done
Development

No branches or pull requests

1 participant