diff --git a/index.html b/index.html index f436ee69..6e3eaf79 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - Leaflet - a lightweight JavaScript library for map display and interaction by CloudMade + Leaflet - a modern, lightweight JavaScript library for interactive maps by CloudMade @@ -23,7 +23,7 @@

Leaflet

-

A Lightweight Open-Source JavaScript Library for Map Display and Interaction by CloudMade

+

A Modern, Lightweight Open-Source JavaScript Library for Interactive Maps by CloudMade



About the library

-

Leaflet is a lightweight BSD-licensed JavaScript library for tile-based map display and interaction. It will form the core of CloudMade's next generation JavaScript API.

+

Leaflet is a modern, lightweight BSD-licensed JavaScript library for powering websites and web apps with tile-based interactive maps. It will form the core of CloudMade's next generation JavaScript API.

-

Leaflet is built from the ground up to work well on both desktop and mobile web browsers, utilizing cutting-edge technologies included in HTML5. It's main priorities are usability, performance, 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 and modify.

+

Leaflet is built from the ground up to work efficiently and smoothly on both desktop and mobile web browsers, utilizing cutting-edge technologies included in HTML5. It's main priorities are usability, performance, 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.


@@ -49,8 +49,7 @@
-
var map = new L.Map('map'),
-	cloudmadeUrl = 'http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png',
+		
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png',
 	cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18});
 	
+var map = new L.Map('map');
 map.setView(new L.LatLng(51.505, -0.09), 13).addLayer(cloudmade);
 
 var marker = new L.Marker(new L.LatLng(51.5, -0.09));
-	
 map.addLayer(marker);
-marker.bindPopup("A pretty CSS3 popup.<br />Easily customizable.").openPopup();
+ +marker.bindPopup("A pretty CSS3 popup.<br />Easily customizable.").openPopup();

@@ -85,6 +84,4 @@ marker.bindPopup("A pretty CSS3 popup.<br />Easily customizable.").openPop - \ No newline at end of file + \ No newline at end of file diff --git a/reference.html b/reference.html index a25040c1..7660b51f 100644 --- a/reference.html +++ b/reference.html @@ -1,28 +1,29 @@ - Leaflet - a lightweight JavaScript library for map display and interaction by CloudMade + Leaflet - a modern, lightweight JavaScript library for interactive maps by CloudMade - API reference - - - + + + - + - - + + - - + + +

Leaflet

-

A Lightweight Open-Source JavaScript Library for Map Display and Interaction by CloudMade

+

A Modern, Lightweight Open-Source JavaScript Library for Interactive Maps by CloudMade



-

© 2010 CloudMade. Map data © 2010 OpenStreetMap.org contributors.

+

© 2011 CloudMade. Map data © 2011 OpenStreetMap contributors, CC-BY-SA.

+ Fork me on GitHub +