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
Handle rotation in plugins #396
Comments
I also want what you want. |
I assume this pull request will take care of it: #719 Well, most probably we will need a procedure that allows us to counter-rotate the plugins to have them kept right. Also touch events will be an issue, if they are issued in plugins. Most probably we will get (or we will implement :-) ) a rotation transformation from the map context to do this. |
#719 now implements this behavior: Note: I think I'll refactor to |
PR updated now there are |
I was wondering what the best practice would be in a plugin, to keep the graphics on screen even if the map rotates. For example the scalebar rotates with the map and therefore disappears.
I thought it would be simple as rotating back the drawing canvas of the same amount as the map.rotation, but it didn't work as expected.
Any hint? Thanks a ton.
The text was updated successfully, but these errors were encountered: