Go to file
Patrick Paskaris 8e96ac476d Fix box zoom race condition (#5452)
* Fix box zoom race condition

The deferred call to `_resetState` can interrupt the next box zoom if
the user initiates it before the timeout fires. This causes the mouse
move handler to create a second box zoom element, orphaning the first
one and leaving it in the DOM.

* Extract duplicate code into private method
2017-04-20 15:57:17 +02:00
build Add subresource integrity information & scripts (#5468) 2017-04-19 14:56:14 +02:00
debug Canvas: call ctx.setLineDash in _fillStroke (#5454) 2017-04-20 12:41:26 +02:00
dist Update toolbar inner border radius (#5361) 2017-02-27 16:42:16 +01:00
docs leaflet-map-builder plugin added (#5445) 2017-04-20 12:46:21 +02:00
spec Control.Layers: Only add layer events to layers when we are on the map. Fixes #5421 (#5422) 2017-03-28 23:10:29 +02:00
src Fix box zoom race condition (#5452) 2017-04-20 15:57:17 +02:00
.gitignore Merge branch 'gh-pages' into master-docs 2016-08-18 11:27:28 +02:00
.npmignore tag npm publish with beta 2015-10-14 18:28:31 +03:00
.travis.yml Tweak TravisCI config 2016-09-26 14:23:56 +02:00
bower.json ES6 modules & Rollup (#4989) 2017-01-30 11:35:16 +01:00
CHANGELOG.md Changelog for 1.0.3, version bump. (#5274) 2017-01-23 12:16:07 +01:00
CONTRIBUTING.md Add other h2 headers to ToC (#5448) 2017-04-12 11:12:41 +02:00
FAQ.md FAQ.md: Link to GoogleMutant instead of shramov, which is now deprecated 2016-11-18 15:00:33 +01:00
ISSUE_TEMPLATE.md Suggest stackoverflow or gis stackexchange for asking questions 2017-04-03 15:05:01 +02:00
Jakefile.js ES6 modules & Rollup (#4989) 2017-01-30 11:35:16 +01:00
LICENSE Update year range to 2016 2016-01-16 07:42:01 +05:30
package.json Add subresource integrity information & scripts (#5468) 2017-04-19 14:56:14 +02:00
PLUGIN-GUIDE.md Docs: peerDependencies in plugins guide (#5142) 2016-11-24 12:19:48 +01:00
README.md Update README.md: Leaflet 1.0.0 weights 37KiB, not 33KiB 2016-09-29 12:46:46 +02:00

Leaflet

Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 37 KB of gzipped JS code, it has all the mapping features most developers ever need.

Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms out of the box, taking advantage of HTML5 and CSS3 on modern browsers while being accessible on older ones too. It can be extended with a huge amount of plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.

For more info, docs and tutorials, check out the official website.
For Leaflet downloads (including the built master version), check out the download page.

We're happy to meet new contributors. If you want to get involved with Leaflet development, check out the contribution guide. Let's make the best mapping library that will ever exist, and push the limits of what's possible with online maps!

Build Status