0.1.3 • Published 8 years ago
leaflet.resizer v0.1.3
Leaflet.Resizer
Easily resize your Leaflet map container with a button, in vanilla JS.
Tested with Leaflet 0.7.7 in Firefox and WebKit.
Demo
You can check out the Demo.
Install & Usage
Set up:
Bower
bower install --save leaflet.resizer
NPM
npm install --save leaflet.resizer
The Classical Way
Download and include CSS file and JS file
Initialize plugin (so easy !)
L.resizer().addTo(map);
Dependencies
Obviously, Leaflet.Resizer needs Leaflet. But also Font Awesome to handle the icon.
License
MIT