I need the map rotation function in the same way as the openLayers 3 function (example below):
http://ol3js.org/en/master/examples/drag-rotate-and-zoom.html
Is there a way to do the same using leafletjs library or perhaps using my own plugin?
Currently, the leaflet does not support map rotation, as it will not be supported by the full range of browsers. This is also not supported by plugins, as the rotation logic must be implemented in the core of the leaflet.