
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
leaflet-rotate-map
Advanced tools
Enable to rotate Leaflet maps. The code is based on a merger between lastest official leaflet version and leaflet rotate
branch.
In addition, there are some improvements like:
map.setView
_onDragStart
when map has maxBounds
and map is rotatedLook at index.html
file in examples
folder
leaflet-src.js
in ./dist
folder.<script src="leaflet-src.js"></script>
npm install leaflet-rotate-map
or yarn add leaflet-rotate-map
.To instantiate a L.Map
with rotation, add rotate
option
const map = L.map('map', { rotate: true });
0.3.1 (2012-02-14)
FAQs
Enable to rotate Leaflet map
The npm package leaflet-rotate-map receives a total of 79 weekly downloads. As such, leaflet-rotate-map popularity was classified as not popular.
We found that leaflet-rotate-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.