Go to file
Kenny Shepard 86a3e0cc8c Initialize _sizeChanged to prevent async issues
When asynchronously initializing a map, the series of events can
create a scenario where _size is incorrectly initialized, and
therefore calls to getSize will not cause a new value to be generated.

This fix sets _sizeChanged to true upon map initialization, which
allows the following first call to getSize to work properly.

Closes #3031
2014-11-21 17:54:46 -05:00
build Merge pull request #3028 from tomhughes/jshint 2014-11-17 13:54:31 -08:00
debug add interactive option on ImageOverlay 2014-11-09 13:23:19 -06:00
dist Merged css declarations 2014-09-03 21:07:30 +02:00
spec No-op Control#remove if not on a map (fixes #2877) 2014-11-13 11:25:49 -08:00
src Initialize _sizeChanged to prevent async issues 2014-11-21 17:54:46 -05:00
.gitignore add publish script for component and bower 2014-03-19 20:29:41 -04:00
.npmignore Add .npmignore 2013-04-14 13:22:58 -07:00
.travis.yml fix travis build uploads, ref travis-ci/travis-artifacts#23 2014-03-19 17:47:12 -07:00
CHANGELOG.md add 0.7.3 changelog 2014-05-23 12:23:46 +03:00
CONTRIBUTING.md Fix typos in CONTRIBUTING 2014-06-30 18:46:20 -05:00
FAQ.md Changed language referring to layers 2014-07-05 20:17:57 -07:00
Jakefile.js Fixed jake build if leaflet copy is not a git repository 2014-06-24 22:58:54 +02:00
LICENSE update year to 2014 2014-01-08 20:40:04 +02:00
package.json update package.json & deps 2014-10-29 17:20:55 +02:00
PLUGIN-GUIDE.md simplify AMD definition 2014-10-21 12:32:06 -05:00
README.md fix readme link 2013-11-08 01:49:41 +02:00

Leaflet

Leaflet is an open source JavaScript library for mobile-friendly interactive maps. It is developed by Vladimir Agafonkin of MapBox with a team of dedicated contributors. Weighing just about 30 KB of gzipped JS code, it has all the features most developers ever need for online maps.

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