-
Notifications
You must be signed in to change notification settings - Fork 632
Added support for icon rotation using leaflet-plugins/layer/Marker.Rotate #308
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
Conversation
…tate Included example markers-rotation-example.html
|
Thanks for the patch. Tested on FF and Chrome, I don't see the marker rotated. What's the expected behaviour? |
|
nice, now it works :) |
Added support for icon rotation using leaflet-plugins/layer/Marker.Rotate
|
I know developers hate writing test, but it will be awesome if you can write a regression test for rotate when you have time :) |
|
I'll give it a go, this is my first attempt at contributing on github so I'm unsure of the correct flow. |
|
you are doing good. just send another PR for the test. |
|
In my code, when I am trying to use Rotate Function and Icon Customization (custom icons, and etc.) together, it fails with an error ( |
|
Thx! It is still not working. I have to check one more time. |
|
Hi is there a way to use the iconAngle with a variable like iconAngle: changeAngle, instead of a constant number? |


My project needed to be able to rotate markers so I thought it would be good to contribute this small change in case anyone else needs the same feature. A really simple example is included which shows where the iconAngle is set. I'm still finding my feet with angular so I might have missed something.