View on GitHub

leaflet-rotate

Leaflet plugin that allows to add rotation functionality to map tiles

leaflet-rotate

NPM version License

A Leaflet plugin that allows to add rotation functionality to map tiles

For a working example see the following demo

Leaflet rotate viewer


Initially based on the work of Iván Sánchez Ortega (see: #268)


Side notes:

Be aware that this is a proof of concept that shows how to alter the core leaflet library and make rotation feature usable as a standalone plugin. Check out fnicollet’s rotate-master branch if you prefer to use a reliable all-in-one solution.

Latest changes to this project have been updated comparing on the following: https://github.com/Leaflet/Leaflet/compare/master…fnicollet:rotate-master (ref: bac6c7d)


Compatibile with: Leaflet 1.x compatible!

Contributors: IvanSanchez, Fnicollet, Hyperknot, Raruto