-
-
Notifications
You must be signed in to change notification settings - Fork 860
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] Implement rotation functionality on mouse/cursor based platforms #1568
Comments
Hi @BearnLee, |
Ok,thx! |
A few attempts have been made to implement this. @TesteurManiak managed to piece together a POC that works with the CTRL key and uses a simple maths function to rotate the maths. The result, whilst working, was not 100% satisfactory for a few reasons. We've also tried porting OpenLayers' code from this source file which does a similar thing. The web demo for that works really nicely: https://openlayers.org/en/latest/examples/rotation.html. However, our implementation attempts did not reproduce this behaviour. We're not sure whether this will make it into v6. We want it to, so we'll probably have another attempt, but any help from any readers of this would be greatly appriciated! |
Where's the POC or the port ? |
@ibrierley Check the private Discord channel for those snippets and a link above that for a 'full' test implementation. |
ok! |
What do you want implemented?
Have you considered the function of rotating the map by right-clicking and long-pressing the map?
What other alternatives are available?
Have you considered the function of rotating the map by right-clicking and long-pressing the map?
Can you provide any other information?
Have you considered the function of rotating the map by right-clicking and long-pressing the map?
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered: