From 6788e676ead2d7b4ea9c233960d82236b1e08591 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 23 May 2013 05:50:44 +0100 Subject: [PATCH] remove now redundant commented out map layers - OSM tiles are now in a plugin --- code/boot.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/boot.js b/code/boot.js index 6c4f64c9..aa3ee313 100644 --- a/code/boot.js +++ b/code/boot.js @@ -125,13 +125,9 @@ window.setupMap = function() { //OpenStreetMap attribution - required by several of the layers osmAttribution = 'Map data © OpenStreetMap contributors'; - //OpenStreetMap tiles - we shouldn't use these by default, or even an option - https://wiki.openstreetmap.org/wiki/Tile_usage_policy - // "Heavy use (e.g. distributing an app that uses tiles from openstreetmap.org) is forbidden without prior permission from the System Administrators" - //var osmOpt = {attribution: osmAttribution, maxZoom: 18, detectRetina: true}; - //var osm = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', osmOpt); //CloudMade layers - only 500,000 tiles/month in their free plan. nowhere near enough for IITC - var cmOpt = {attribution: osmAttribution+', Imagery © CloudMade', maxZoom: 18, detectRetina: true}; + //var cmOpt = {attribution: osmAttribution+', Imagery © CloudMade', maxZoom: 18, detectRetina: true}; //var cmMin = new L.TileLayer('http://{s}.tile.cloudmade.com/{your api key here}/22677/256/{z}/{x}/{y}.png', cmOpt); //var cmMid = new L.TileLayer('http://{s}.tile.cloudmade.com/{your api key here}/999/256/{z}/{x}/{y}.png', cmOpt);