diff --git a/code/boot.js b/code/boot.js index fea7aa00..fa578d63 100644 --- a/code/boot.js +++ b/code/boot.js @@ -141,10 +141,10 @@ window.setupMap = function() { //their usage policy has no limits (except required notification above 4000 tiles/sec - we're perhaps at 50 tiles/sec based on CloudMade stats) var mqSubdomains = [ 'otile1','otile2', 'otile3', 'otile4' ]; var mqTileUrlPrefix = window.location.protocol !== 'https:' ? 'http://{s}.mqcdn.com' : 'https://{s}-s.mqcdn.com'; - var mqMapOpt = {attribution: osmAttribution+', Tiles Courtesy of MapQuest', maxZoom: 18, detectRetena: true, subdomains: mqSubdomains}; + var mqMapOpt = {attribution: osmAttribution+', Tiles Courtesy of MapQuest', maxZoom: 18, subdomains: mqSubdomains}; var mqMap = new L.TileLayer(mqTileUrlPrefix+'/tiles/1.0.0/map/{z}/{x}/{y}.jpg',mqMapOpt); //MapQuest satellite coverage outside of the US is rather limited - so not really worth having as we have google as an option - //var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', mazZoom: 18, detectRetena: true, subdomains: mqSubdomains}; + //var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', mazZoom: 18, subdomains: mqSubdomains}; //var mqSat = new L.TileLayer('http://{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg',mqSatOpt); var views = [ diff --git a/website/extras/iitc-cloudmade-maps.user.js b/website/extras/iitc-cloudmade-maps.user.js index 8f853bb3..5bdf7ab6 100755 --- a/website/extras/iitc-cloudmade-maps.user.js +++ b/website/extras/iitc-cloudmade-maps.user.js @@ -22,7 +22,8 @@ window.plugin.mapCloudMade = function() {}; window.plugin.mapCloudMade.setup = function() { //**** CloudMade settings start **** //set this to your API key - get an API key by registering at www.cloudmade.com - var cmApiKey = '8ee2a50541944fb9bcedded5165f09d9'; + //e.g. var cmApiKey = '8ee2a50541944fb9bcedded5165f09d9'; + var cmApiKey = 'YOUR_API_KEY'; //the list of styles you'd like to see var cmStyles = { '999': "Midnight",