MCPcopy Index your code
hub / github.com/Raruto/leaflet-rotate

github.com/Raruto/leaflet-rotate @v0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.0 ↗ · + Follow
5 symbols 9 edges 26 files 1 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
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

<a href="https://raruto.github.io/leaflet-rotate/examples/leaflet-rotate.html"><img src="https://raruto.github.io/img/leaflet-rotate.png" alt="Leaflet rotate viewer" /></a>

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/main...fnicollet:rotate-master (ref: bac6c7d)


Compatibile with: Leaflet 1.x compatible!

Contributors: IvanSanchez, Fnicollet, Hyperknot, Raruto

Core symbols most depended-on inside this repo

populate
called by 2
lib/debug.js
stepOn
called by 1
lib/debug.js
panInside
called by 0
src/map/Map.js

Shape

Function 5

Languages

TypeScript100%

Modules by API surface

lib/debug.min.js2 symbols
lib/debug.js2 symbols
src/map/Map.js1 symbols

For agents

$ claude mcp add leaflet-rotate \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page