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

[FEATURE] Add option to zoom to map center instead of cursor location #2001

Open
JaffaKetchup opened this issue Dec 15, 2024 · 2 comments
Open
Labels
feature This issue requests a new feature P: 2 (soon™?)

Comments

@JaffaKetchup
Copy link
Member

What do you want implemented?

At the moment, zooming with a cursor zooms into the cursor location, which is what most use cases would require. However, some applications may prefer to have the map zoom into the center, regardless of the cursor location.

This has been requested twice in the Discord server: https://discord.com/channels/951867686378409984/1317675189701705778/1317675189701705778, https://discord.com/channels/951867686378409984/1166739850137980958/1166739850137980958

What other alternatives are available?

The second link's workaround was to play an animation immediately after the gesture has stopped to move the map back to the desired center, and move the desired marker/widget around to stay in the correct geographic position instead of screen center.

It may also be possible to use constraints to prevent moving during zoom?

Can you provide any other information?

No response

Severity

Annoying: Currently have to use workarounds

@JaffaKetchup JaffaKetchup added feature This issue requests a new feature P: 2 (soon™?) labels Dec 15, 2024
@JaffaKetchup
Copy link
Member Author

(This may be related (the solution) to #1905)

@monsieurtanuki
Copy link
Contributor

17343014939882807597925728120272
https://m.youtube.com/watch?v=kR2r-A9H3Kg

(Sorry about that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue requests a new feature P: 2 (soon™?)
Projects
Status: To do
Development

No branches or pull requests

2 participants