Skip to content

Prechan/Leaflet.Resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet.Resizer

npm version

Easily resize your Leaflet map container with a button, in vanilla JS.

Tested with Leaflet 0.7.7 in Firefox and WebKit.

Demo

Gif 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

About

Easily resize your leaflet map container with a button.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published