JSPM

@vpulim/leaflet-rotate

0.1.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q70633F
  • License GPL-3.0

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

Package Exports

  • @vpulim/leaflet-rotate
  • @vpulim/leaflet-rotate/dist/leaflet-rotate.js
  • @vpulim/leaflet-rotate/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vpulim/leaflet-rotate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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