From 28c56c4bb05f7feddd1338a6924b2c65f5470ae9 Mon Sep 17 00:00:00 2001 From: Steve Kashishian Date: Tue, 4 Mar 2014 10:54:41 -0500 Subject: [PATCH] Remove cloudmade tilesets --- debug/hacks/jitter.html | 10 ++--- debug/map/controls.html | 17 ++++----- debug/map/geolocation.html | 8 ++-- debug/map/image-overlay.html | 8 ++-- debug/map/map-mobile.html | 8 ++-- debug/map/map.html | 10 ++--- debug/map/max-bounds.html | 8 ++-- debug/map/opacity.html | 42 ++++----------------- debug/map/scroll.html | 8 ++-- debug/map/wms.html | 12 +++--- debug/map/zoomlevels.html | 14 +++---- debug/tests/click_on_canvas.html | 8 ++-- debug/tests/dragging_and_copyworldjump.html | 2 +- debug/tests/opacity.html | 8 ++-- debug/tests/popupcontextmenuclicks.html | 3 +- debug/tests/reuse_popups.html | 7 +--- debug/tests/rtl.html | 8 ++-- debug/vector/bounds-extend.html | 6 +-- debug/vector/feature-group-bounds.html | 8 ++-- debug/vector/geojson.html | 6 +-- debug/vector/rectangle.html | 8 ++-- debug/vector/touchzoomemu.html | 6 +-- debug/vector/vector-bounds.html | 7 ++-- debug/vector/vector-canvas.html | 7 ++-- debug/vector/vector-mobile.html | 7 ++-- debug/vector/vector-simple.html | 9 ++--- debug/vector/vector.html | 7 ++-- debug/vector/vector2.html | 7 ++-- 28 files changed, 108 insertions(+), 151 deletions(-) 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 @@