Go to file
Vladimir Agafonkin 15ae002e07 Merge pull request #781 from JasonSanford/gh-pages-master
FeatureGroup#getBounds docs
2012-07-04 23:42:04 -07:00
build update build 2012-06-02 10:55:59 +03:00
debug Merge branch 'master' into gh-pages-master 2012-06-21 15:04:19 +03:00
dist update build 2012-06-21 14:54:09 +03:00
docs update features page 2012-02-25 12:46:14 +02:00
examples update examples according to master changes 2 2012-06-21 15:18:41 +03:00
spec fix superclass regression 2012-03-09 11:28:14 +02:00
src Merge branch 'master' into gh-pages-master 2012-06-21 15:04:19 +03:00
.gitignore add gitignore 2012-06-23 14:01:57 +03:00
CHANGELOG.md update changelog 2012-06-21 15:01:17 +03:00
CNAME new domain settings 2011-04-11 11:26:07 +03:00
download.html Update download.html 2012-04-24 22:28:30 +03:00
examples.html Add UserVoice widget to all pages 2012-02-21 17:14:40 +02:00
features.html update features 2012-06-21 16:15:18 +03:00
index.html Update wording on the website 2012-03-26 11:15:06 +03:00
Jakefile.js CR LF -> LF 2012-05-10 11:11:52 +03:00
LICENSE fix license whitespace 2011-06-17 01:36:31 +03:00
README.md Update README.md 2012-04-12 01:24:40 -03:00
reference-tpl.html html template for docs 2012-02-26 13:45:44 +02:00
reference.html FeatureGroup#getBounds method documentation 2012-07-04 19:01:56 -06:00

Leaflet

Leaflet is a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps, developed by CloudMade to form the core of its next generation JavaScript API. Weighting just about 21kb of gzipped JS code, it still has all the features you will ever need for your web mapping needs while providing a fast, smooth, pleasant user experience.

It is built from the ground up to work efficiently and smoothly on both desktop and mobile platforms like iOS and Android, utilizing cutting-edge technologies included in HTML5 and CSS3, focusing on usability, performance, small size, A-grade browser support, flexibility and easy to use API. The OOP-based code of the library is designed to be modular, extensible and very easy to understand.

Check out the website for more information: leaflet.cloudmade.com

Contributing to Leaflet

Let's make the best open-source library for maps that can possibly exist!

Contributing is simple: make the changes in your fork, make sure that Leaflet builds successfully (see below) and then create a pull request to Vladimir Agafonkin (Leaflet maintainer). Updates to Leaflet documentation and examples (located in the gh-pages branch) are really appreciated too.

Here's a list of the awesome people that joined us already. Looking forward to your contributions!

Building Leaflet

Leaflet build system is powered by the Node.js platform and Jake, JSHint and UglifyJS libraries, which install easily and work well across all major platforms. Here are the steps to install it:

  1. Download and install Node
  2. Run the following commands in the command line:
npm install -g jake
npm install jshint
npm install uglify-js

Now that you have everything installed, run jake inside the Leaflet directory. This will check Leaflet source files for JavaScript errors and inconsistencies, and then combine and compress it to the dist folder.

To make a custom build of the library with only the things you need, use the build helper (build/build.html) to choose the components (it figures out dependencies for you) and then run the command generated with it.

If you add any new files to the Leaflet source, make sure to also add them to build/deps.js so that the build system knows about them. Happy coding!