Skip to content

Commit 3c13569

Browse files
committed
update cloudmade API key on all debug pages
1 parent b657f32 commit 3c13569

23 files changed

+77
-77
lines changed

debug/hacks/jitter.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<div id="map"></div>
1818
<div >
19-
<form method="get">Click in field then scroll map (in up/left direction) to see shift of map tiles.
19+
<form method="get">Click in field then scroll map (in up/left direction) to see shift of map tiles.
2020
<fieldset><label for="textField">Name</label>:
2121
<input id="textField" name="textField" type="text" value="">
2222
</fieldset>
@@ -29,7 +29,7 @@
2929
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/997/256/{z}/{x}/{y}.png', {
3030
maxZoom: 18,
3131
attribution: 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
32-
key: 'BC9A493B41014CAABB98F0471D759707'
32+
key: 'd4fc77ea4a63471cab2423e66626cbb6'
3333
});
3434

3535
//Disable the hack fix

debug/map/controls.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<script type="text/javascript">
1919

2020
function getCloudMadeUrl(styleId) {
21-
return 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/' + styleId + '/256/{z}/{x}/{y}.png';
21+
return 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/' + styleId + '/256/{z}/{x}/{y}.png';
2222
}
2323

2424
var cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',

debug/map/geolocation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<script type="text/javascript">
2020

21-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
21+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2222
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2323
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution});
2424

debug/map/image-overlay.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<script type="text/javascript">
2222

23-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
23+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2424
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2525
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
2626
latlng = new L.LatLng(50.5, 30.51);

debug/map/map-mobile.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<script type="text/javascript">
2121

22-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
22+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2323
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2424
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
2525
latlng = new L.LatLng(50.5, 30.51);

debug/map/map.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/997/256/{z}/{x}/{y}.png', {
2424
maxZoom: 18,
2525
attribution: 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
26-
key: 'BC9A493B41014CAABB98F0471D759707'
26+
key: 'd4fc77ea4a63471cab2423e66626cbb6'
2727
});
2828

2929
var map = L.map('map')

debug/map/max-bounds.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
<link rel="stylesheet" href="../../dist/leaflet.css" />
99
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
10-
10+
1111
<link rel="stylesheet" href="../css/mobile.css" />
12-
12+
1313
<script type="text/javascript" src="../../build/deps.js"></script>
1414
<script src="../leaflet-include.js"></script>
1515
</head>
@@ -19,19 +19,19 @@
1919

2020
<script type="text/javascript">
2121

22-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
22+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2323
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2424
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
2525
bounds = new L.LatLngBounds(new L.LatLng(49.5, -11.3), new L.LatLng(61.2, 2.5));
26-
26+
2727
var map = new L.Map('map', {
2828
center: bounds.getCenter(),
2929
zoom: 7,
3030
layers: [cloudmade],
3131
maxBounds: bounds
3232
});
33-
33+
3434

3535
</script>
3636
</body>
37-
</html>
37+
</html>

debug/map/scroll.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<link rel="stylesheet" href="../../dist/leaflet.css" />
77
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
8-
8+
99
<link rel="stylesheet" href="../css/screen.css" />
10-
10+
1111
<script type="text/javascript" src="../../build/deps.js"></script>
1212
<script src="../leaflet-include.js"></script>
1313
</head>
@@ -23,14 +23,14 @@
2323

2424
<script type="text/javascript">
2525

26-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
26+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2727
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2828
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
2929
latlng = new L.LatLng(50.5, 30.51);
30-
30+
3131
var map = new L.Map('map', {center: latlng, zoom: 15, layers: [cloudmade]});
32-
33-
32+
33+
3434
</script>
3535
</body>
36-
</html>
36+
</html>

debug/map/wms.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<script type="text/javascript">
1919
var map = new L.Map('map');
2020

21-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png',
21+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/{styleId}/256/{z}/{x}/{y}.png',
2222
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2323
cloudmade = new L.TileLayer(cloudmadeUrl, {styleId: 997, attribution: cloudmadeAttribution}),
2424
cloudmade2 = new L.TileLayer(cloudmadeUrl, {styleId: 998, attribution: cloudmadeAttribution});

debug/map/zoomlevels.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717

1818
<script type="text/javascript">
1919
// Test that changing between layers with differing zoomlevels also updates
20-
// the zoomlevels in the map + also
20+
// the zoomlevels in the map + also
2121

2222
function getCloudMadeUrl(styleId) {
23-
return 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/' + styleId + '/256/{z}/{x}/{y}.png';
23+
return 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/' + styleId + '/256/{z}/{x}/{y}.png';
2424
}
2525

2626
var map = L.map('map').setView(L.latLng(50.5, 30.51), 0);
2727

2828
var cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2929
cloudmade = L.tileLayer(getCloudMadeUrl(997), {attribution: cloudmadeAttribution, minZoom: 0, maxZoom: 10}).addTo(map),
3030
cloudmade2 = L.tileLayer(getCloudMadeUrl(998), {attribution: 'Hello world', minZoom: 5, maxZoom: 18});
31-
31+
3232
L.control.layers({
3333
'CloudMade Pale Dawn (5-18)': cloudmade2,
3434
'CloudMade Fresh (0-10)': cloudmade

debug/tests/click_on_canvas.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script>
1515
L_PREFER_CANVAS = true;
1616
$(document).ready(function() {
17-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
17+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
1818
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
1919
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution});
2020

debug/tests/opacity.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<script type="text/javascript">
2626

27-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
27+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2828
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2929
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
3030
latlng = new L.LatLng(50.5, 30.51);

debug/tests/reuse_popups.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<link rel="stylesheet" href="../../dist/leaflet.css" />
77
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
8-
8+
99
<link rel="stylesheet" href="../css/screen.css" />
1010
<script type="text/javascript" src="../../build/deps.js"></script>
1111
<script src="../leaflet-include.js"></script>
@@ -29,13 +29,13 @@
2929
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', {
3030
attribution: 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
3131
maxZoom: 18,
32-
key: 'BC9A493B41014CAABB98F0471D759707',
32+
key: 'd4fc77ea4a63471cab2423e66626cbb6',
3333
styleId: 997
3434
}).addTo(map);
3535

3636
var a_popup = L.popup().setContent('Previously created')
37-
37+
3838
marker2.bindPopup(a_popup);
3939
</script>
4040
</body>
41-
</html>
41+
</html>

debug/vector/bounds-extend.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<link rel="stylesheet" href="../../dist/leaflet.css" />
77
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
8-
8+
99
<link rel="stylesheet" href="../css/screen.css" />
10-
10+
1111
<script type="text/javascript" src="../../build/deps.js"></script>
1212
<script src="../leaflet-include.js"></script>
1313
</head>
@@ -17,7 +17,7 @@
1717
<button onclick="boundsExtendLatLng()">Extend the bounds of the center rectangle with the lower left marker</button>
1818
<script src="route.js"></script>
1919
<script>
20-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
20+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2121
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18});
2222

2323
var latLng = new L.LatLng(54.18815548107151, -7.657470703124999);
@@ -39,10 +39,10 @@
3939
var marker = new L.Marker(latLng);
4040

4141
map.addLayer(rectangle1).addLayer(rectangle2).addLayer(marker);
42-
43-
44-
45-
42+
43+
44+
45+
4646

4747
function boundsExtendBounds() {
4848
if (rectangle3) {
@@ -60,7 +60,7 @@
6060
opacity: 1,
6161
fillOpacity: 0
6262
});
63-
63+
6464
map.addLayer(rectangle3);
6565
}
6666

@@ -80,10 +80,10 @@
8080
opacity: 1,
8181
fillOpacity: 0
8282
});
83-
83+
8484
map.addLayer(rectangle3);
8585
}
86-
86+
8787
</script>
8888
</body>
89-
</html>
89+
</html>

debug/vector/feature-group-bounds.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<script type="text/javascript" src="geojson-sample.js"></script>
2121
<script type="text/javascript">
2222

23-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
23+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2424
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2525
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}),
2626
rectangle,
@@ -33,7 +33,7 @@
3333
});
3434

3535
var geojson = L.geoJson(geojsonSample, {
36-
36+
3737
style: function (feature) {
3838
return {color: feature.properties.color};
3939
},

debug/vector/geojson.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', {
5757
attribution: 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
58-
key: 'BC9A493B41014CAABB98F0471D759707',
58+
key: 'd4fc77ea4a63471cab2423e66626cbb6',
5959
styleId: 998
6060
}).addTo(map);
6161

debug/vector/rectangle.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<link rel="stylesheet" href="../../dist/leaflet.css" />
99
<!--[if lte IE 8]><link rel="stylesheet" href="../../dist/leaflet.ie.css" /><![endif]-->
10-
10+
1111
<script type="text/javascript" src="../../build/deps.js"></script>
1212
<script src="../leaflet-include.js"></script>
1313
</head>
@@ -18,10 +18,10 @@
1818

1919
<script type="text/javascript">
2020

21-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
21+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2222
cloudmadeAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',
2323
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution});;
24-
24+
2525
var bounds = new L.LatLngBounds(new L.LatLng(54.559322, -5.767822), new L.LatLng(56.1210604, -3.021240));
2626
var bounds2 = new L.LatLngBounds(new L.LatLng(56.2124322195806, -3.427734375), new L.LatLng(56.307776937156945, -3.2560729980468746));
2727

@@ -36,7 +36,7 @@
3636
rectangle.on("click", function () {
3737
alert("you clicked a rectangle.")
3838
});
39-
39+
4040
var map = new L.Map('map', {
4141
center: bounds.getCenter(),
4242
zoom: 7,
@@ -51,4 +51,4 @@
5151

5252
</script>
5353
</body>
54-
</html>
54+
</html>

debug/vector/touchzoomemu.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div style="background-color:coral; width: 100px; height:100px; position: absolute; left: 850px; top: 120px" onclick="Hack2()">Hack2Touch</div>
1818
<script src="route.js"></script>
1919
<script>
20-
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
20+
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d4fc77ea4a63471cab2423e66626cbb6/997/256/{z}/{x}/{y}.png',
2121
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18}),
2222
map = new L.Map('map', {layers: [cloudmade], center: new L.LatLng(51.505, -0.04), zoom: 13});
2323

0 commit comments

Comments
 (0)