diff --git a/debug/hacks/jitter.html b/debug/hacks/jitter.html index 1ec35a05..77cdcd14 100644 --- a/debug/hacks/jitter.html +++ b/debug/hacks/jitter.html @@ -25,18 +25,16 @@ diff --git a/debug/map/controls.html b/debug/map/controls.html index b84adb62..bb177869 100644 --- a/debug/map/controls.html +++ b/debug/map/controls.html @@ -16,15 +16,12 @@ diff --git a/debug/map/zoomlevels.html b/debug/map/zoomlevels.html index 87203bfb..fc9ef4d6 100644 --- a/debug/map/zoomlevels.html +++ b/debug/map/zoomlevels.html @@ -18,19 +18,15 @@ // Test that changing between layers with differing zoomlevels also updates // the zoomlevels in the map + also - function getCloudMadeUrl(styleId) { - return 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/' + styleId + '/256/{z}/{x}/{y}.png'; - } - var map = L.map('map').setView(L.latLng(50.5, 30.51), 0); - var cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', - cloudmade = L.tileLayer(getCloudMadeUrl(997), {attribution: cloudmadeAttribution, minZoom: 0, maxZoom: 10}).addTo(map), - cloudmade2 = L.tileLayer(getCloudMadeUrl(998), {attribution: 'Hello world', minZoom: 5, maxZoom: 18}); + var osmAttrib = '© OpenStreetMap contributors', + osm = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {attribution: osmAttrib, minZoom: 0, maxZoom: 10}).addTo(map), + osm2 = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {attribution: 'Hello world', minZoom: 5, maxZoom: 18}); L.control.layers({ - 'CloudMade Pale Dawn (5-18)': cloudmade2, - 'CloudMade Fresh (0-10)': cloudmade + 'OSM (5-18)': osm2, + 'OSM (0-10)': osm }).addTo(map); L.control.scale().addTo(map); diff --git a/debug/tests/click_on_canvas.html b/debug/tests/click_on_canvas.html index db7c0375..f4a6b9c0 100644 --- a/debug/tests/click_on_canvas.html +++ b/debug/tests/click_on_canvas.html @@ -13,16 +13,16 @@ diff --git a/debug/vector/vector.html b/debug/vector/vector.html index f39b830f..ae9d44ea 100644 --- a/debug/vector/vector.html +++ b/debug/vector/vector.html @@ -14,15 +14,16 @@