leaflet-rotate
Version:
A Leaflet plugin that allows to add rotation functionality to map tiles
13 lines (12 loc) • 368 B
JavaScript
/**
* @external L.LatLngBounds
*
* @see https://github.com/Leaflet/Leaflet/tree/v1.9.3/src/geo/LatLngBounds.js
*/
/**
* @TODO find out if should override here some functions in order
* to always get correct { _southWest, _northEast } bounds on a rotaded
* map, for example: at 180° "_southWest" should becomes "_northEast"?
*
* @see L.Map.getBounds()
*/