From c98dc289c44c7bcaceaa7e0e61337cd5a3361bbc Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Sun, 4 Nov 2012 15:11:27 +0100 Subject: [PATCH 01/24] Added link to locate control plugin --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index 522a33f9..39798796 100644 --- a/plugins.md +++ b/plugins.md @@ -201,6 +201,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Kartena + + + Leaflet.Locate + + A customizable locate control. + + Dominik + + leaflet.zoomfs From 8744d74fa5010f2cc3e7bec005088a09cbfa7966 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Thu, 8 Nov 2012 17:14:45 -0500 Subject: [PATCH 02/24] added leaflet-ajax plugin added link to plugin that extents L.GeoJSON to allow ajax loading of the geojson --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index 522a33f9..dbc790b1 100644 --- a/plugins.md +++ b/plugins.md @@ -154,6 +154,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Samuel Piquet + + + Leaflet Ajax + + Add GeoJSON data via ajax or jsonp. + + Calvin Metcalf + + From 57cecf33544d714b82fdcdc974fb3d6c7596ce5a Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Fri, 9 Nov 2012 09:43:33 -0500 Subject: [PATCH 03/24] Add Leaflet.AnimatedMarker plugin. --- plugins.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins.md b/plugins.md index dbc790b1..25ab923a 100644 --- a/plugins.md +++ b/plugins.md @@ -53,7 +53,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s George MacKerron - + TileLayer.BoundaryCanvas @@ -62,7 +62,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Alexander Parshin - + HeatCanvas @@ -71,6 +71,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Sun Ning + + + Leaflet.AnimatedMarker + + Animate a marker along a polyline. + + Aaron Ogle + + From 809735a9db3831816e54958f32ae08a0adef0584 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Sun, 11 Nov 2012 17:26:09 +0100 Subject: [PATCH 04/24] add mask canvas plugin --- plugins.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/plugins.md b/plugins.md index d357dac3..ab4f6572 100644 --- a/plugins.md +++ b/plugins.md @@ -62,6 +62,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Alexander Parshin + + + MaskCanvas + + Canvas layer that can be used to visualize coverage. + + Dominik Moritz + + HeatCanvas @@ -225,7 +234,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s A customizable locate control. - Dominik + Dominik Moritz From a74d1773d1260cd198ad5a056635156686bc8d18 Mon Sep 17 00:00:00 2001 From: Robert Nordan Date: Wed, 14 Nov 2012 15:59:04 +0100 Subject: [PATCH 05/24] Added Leaflet.MiniMap to plugins page This adds a link to our new Minimap plugin for Leaflet. Should I announce it on the Google group as well or is it enough adding it here? --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index ab4f6572..0b6883ab 100644 --- a/plugins.md +++ b/plugins.md @@ -273,6 +273,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Robert Kajic + + + Leaflet.MiniMap + + A small minimap showing the map at a different scale to aid navigation. + + Robert Nordan + + From 94f41bb71933bb2805820886bea4481a8bc5c6c1 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Sun, 18 Nov 2012 17:43:38 +0400 Subject: [PATCH 06/24] fix mouseover/mouseout for Map in docs --- reference.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference.html b/reference.html index 12793647..5d18b838 100644 --- a/reference.html +++ b/reference.html @@ -425,12 +425,12 @@ var map = L.map('map', { Fired when the user pushes the mouse button on the map. - mouseenter + mouseover MouseEvent Fired when the mouse enters the map. - mouseleave + mouseout MouseEvent Fired when the mouse leaves the map. From dcade644fcc9cdddeca538e0ad936ca0d30ebb59 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Sat, 24 Nov 2012 17:25:39 -0500 Subject: [PATCH 07/24] added leaf-pouch plugin --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index 0b6883ab..3acb73b2 100644 --- a/plugins.md +++ b/plugins.md @@ -181,6 +181,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Calvin Metcalf + + + Leaflet.Pouch + + Use PouchDB to sync CouchDB data to local storage (indexedDB), to just add couchDB data or as just a less confusing implementation of indexedDB. + + Calvin Metcalf + + From 3b46c41ec038a27ab212a8f10aff0599ce2f8ca9 Mon Sep 17 00:00:00 2001 From: danzel Date: Tue, 27 Nov 2012 17:05:47 +1300 Subject: [PATCH 08/24] Add leaflet.utfgrid to plugins --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index 0b6883ab..440db4f2 100644 --- a/plugins.md +++ b/plugins.md @@ -201,6 +201,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Jacob Toye + + + Leaflet.utfgrid + + Provides a utfgrid interaction handler for leaflet a very small footprint. + + Dave Leaver + + Leaflet.EditableHandlers From 7f56b159b577bef9226ccc9b9fc4b9141fe30f8e Mon Sep 17 00:00:00 2001 From: Jan Pieter Waagmeester Date: Fri, 30 Nov 2012 18:02:14 +0100 Subject: [PATCH 09/24] Add Leaflet-semicircle to plugin list --- plugins.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.md b/plugins.md index 978fd574..46230173 100644 --- a/plugins.md +++ b/plugins.md @@ -89,6 +89,15 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Aaron Ogle + + + Leaflet-semicircle + + Adds functionality to
L.Circle
to draw semicircles. + + Jieter + + From 9d95587cf5580cfa650f6e3ba3ce6bc5d230f013 Mon Sep 17 00:00:00 2001 From: Mattias Bengtsson Date: Thu, 6 Dec 2012 10:04:04 +0100 Subject: [PATCH 10/24] Leaflet.zoomslider and Leaflet.Pancontrol got their own web pages --- plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins.md b/plugins.md index 46230173..4ebe31bc 100644 --- a/plugins.md +++ b/plugins.md @@ -239,7 +239,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s - Leaflet.Pancontrol + Leaflet.Pancontrol A simple panning control. @@ -248,7 +248,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s - Leaflet.zoomslider + Leaflet.zoomslider A zoom slider control. From 80b4f342cac86ced8fd74badc7462cb09b18993c Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Tue, 11 Dec 2012 12:15:56 -0800 Subject: [PATCH 11/24] adding Rrose to the plugin directory under "Controls and Interaction" --- plugins.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins.md b/plugins.md index 4ebe31bc..4cf327ee 100644 --- a/plugins.md +++ b/plugins.md @@ -309,6 +309,16 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s Robert Nordan + + + Leaflet.Rrose + + A Leaflet Plugin for Edge Cases. For use when you want popups on _mouseover_, not _click_, and + you need popup tips to reorient as you get close to the edges of your map. + + Eric Theise + + From 93547a9677f8d7302e9ef33ad67109c0ca02aabb Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Thu, 20 Dec 2012 17:57:21 +0200 Subject: [PATCH 12/24] front page cleanup and improvements --- _layouts/default.html | 8 ++++---- docs/css/screen.css | 7 ++++--- docs/images/paper.png | Bin 0 -> 85055 bytes index.md | 42 ++++++++++++++++++++++++++++++++++-------- 4 files changed, 42 insertions(+), 15 deletions(-) create mode 100644 docs/images/paper.png diff --git a/_layouts/default.html b/_layouts/default.html index b6bfeebd..627d12e4 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ - + @@ -51,14 +51,14 @@

Leaflet

-

An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps by CloudMade

+

An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps

- Fork me on GitHub + Fork me on GitHub @@ -137,7 +140,7 @@ diff --git a/index.md b/index.md index dc047173..3afb1a66 100644 --- a/index.md +++ b/index.md @@ -5,7 +5,7 @@ layout: default Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps. -It is developed by [Vladimir Agafonkin][] of [CloudMade][] with a team of dedicated [contributors][]. +It is developed by [Vladimir Agafonkin][] with a team of dedicated [contributors][]. Weighing just about 27 KB of JS code, it has all the [features][] most developers ever need for online maps. @@ -34,20 +34,20 @@ Used by:
-In this basic example, we create a map with tiles of our choice, add a marker and bind a popup with some text to it: +In this basic example, we create a map with tiles of our choice, add a marker and bind a popup with some text to it: - -
// create a map in the "map" div, set the view to a given place and zoom
-var map = L.map('map').setView([51.505, -0.09], 13);
+	// create a map in the "map" div, set the view to a given place and zoom
+	var map = L.map('map').setView([51.505, -0.09], 13);
 
-// add a CloudMade tile layer with style #997
-L.tileLayer('http://{s}.tile.cloudmade.com/[API-key]/997/256/{z}/{x}/{y}.png', {
-    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>'
-}).addTo(map);
+	// add an OpenStreetMap tile layer
+	L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
+		attribution: '© OpenStreetMap contributors'
+	}).addTo(map);
 
-// add a marker in the given location, attach some popup content to it and open the popup
-L.marker([51.5, -0.09]).addTo(map)
-    .bindPopup('A pretty CSS3 popup. <br> Easily customizable.').openPopup();
+ // add a marker in the given location, attach some popup content to it and open the popup + L.marker([51.5, -0.09]).addTo(map) + .bindPopup('A pretty CSS3 popup.
Easily customizable.') + .openPopup(); Learn more with the [quick start guide](examples/quick-start.html), check out [other tutorials](examples.html), or head straight to the [API documentation](reference.html). @@ -84,15 +84,14 @@ Check out the [contribution guide][contribute] for more information on getting i