==================
Leaflet OrientedMarker is a Leaflet plugin which allows to manage oriented Markers dynamically.
Check out the demo
- Download the
Leaflet.orientedMarker.js
- Include the file after you included
leaflet.js
- Initialize the orientedMarkers with
L.orientedMarker().addTo(map)
after you initialized yourmap
- To modify orientation, call
activateOrientation()
on marker object - To finish, call
validateOrientation()
on marker objet