Leaflet plugin for dynamic marker orientation
JavaScript
Latest commit a945cd8 Mar 16, 2016 @fabriceds fabriceds Merge pull request #3 from Cyrille37/master
add setAngle() and rotate() publics methods
Permalink
Failed to load latest commit information.
dist Add minimized js file May 14, 2015
examples Add activation example May 16, 2015
src variable "isOriented" not used Mar 14, 2016
LICENSE Initial commit May 13, 2015
README.md Update README.md May 18, 2015

README.md

leaflet.orientedMarker

Leaflet OrientedMarker is a Leaflet plugin which allows to manage oriented Markers dynamically.

Demo

Check out the demo

Usage

  • Download the Leaflet.orientedMarker.js
  • Include the file after you included leaflet.js
  • Initialize the orientedMarkers with L.orientedMarker().addTo(map) after you initialized your map
  • To modify orientation, call activateOrientation() on marker object
  • To finish, call validateOrientation() on marker objet