diff --git a/docs/images/mobile.png b/docs/images/mobile.png index cf8cf5b8..7aa0539e 100644 Binary files a/docs/images/mobile.png and b/docs/images/mobile.png differ diff --git a/examples/mobile-example.html b/examples/mobile-example.html index c8d5b44c..5a04e869 100644 --- a/examples/mobile-example.html +++ b/examples/mobile-example.html @@ -36,7 +36,7 @@ var marker = new L.Marker(e.latlng); map.addLayer(marker); - marker.bindPopup("
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.
"); + marker.bindPopup("You are within " + e.accuracy + " meters from this point").openPopup(); }); map.locateAndSetView(); diff --git a/examples/quick-start.html b/examples/quick-start.html index cf0eef7b..4692abbe 100644 --- a/examples/quick-start.html +++ b/examples/quick-start.html @@ -127,7 +127,7 @@By default (as we didn't pass any options when creating the map instance), all mouse and touch interactions on the map are enabled, and it has zoom and attribution controls.
-Next we'll create a tile layer to add to our map, in this case it's a CloudMade tile layer with Pale Dawn style. Creating a tile layer usually involves setting the URL template for the tile images (get yours at CloudMade), the attribution text and the maximum zoom level of the layer:
+Next we'll create a tile layer to add to our map, in this case it's a CloudMade tile layer with Fresh style. Creating a tile layer usually involves setting the URL template for the tile images (get yours at CloudMade), the attribution text and the maximum zoom level of the layer:
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png',
cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade',
@@ -263,7 +263,7 @@ function onMapClick(e) {
map.openPopup(popup);
}
- Try clicking on the first map on this page and you will see the coordinates in a popup.
+Try clicking on the map and you will see the coordinates in a popup. View the full example →
Now you've learned Leaflet basics and can start building map apps straight away! Don't forget to take a look at the detailed documentation or other examples.