A leaflet control plugin to make simple rotating compass
Tested in Leaflet 0.7
require only HTML5 API
Tested platforms:
- Safari on iOS 7
Demo online:
labs.easyblog.it/maps/leaflet-compass
#How to use
Adding the Compass Control to the map:
map.addControl( new L.Control.Compass() );
#Where
Source code: