From 8abde391b2045e5dbdadee554686a6c8ab93e40f Mon Sep 17 00:00:00 2001 From: hellekin Date: Fri, 9 Mar 2018 19:00:06 +0100 Subject: Remove map tile choice --- assets/mapper.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'assets') diff --git a/assets/mapper.js b/assets/mapper.js index 39cd713..49ade25 100644 --- a/assets/mapper.js +++ b/assets/mapper.js @@ -491,6 +491,7 @@ $(document).ready(function() { attribution: '© OpenStreetMap, Tiles courtesy of Humanitarian OpenStreetMap Team' }); +/* var OpenStreetMap_BlackAndWhite = L.tileLayer('http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png', { maxZoom: 18, @@ -515,7 +516,7 @@ $(document).ready(function() { ext: 'png' }); -/* +*//* L.tileLayer('//stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', maxZoom: 18, @@ -524,8 +525,7 @@ $(document).ready(function() { }).addTo(map) */ - OpenStreetMap_HOT.addTo(map) - +/* const BaseLayers = { 'OSM HOT': OpenStreetMap_HOT, 'OSM B&W': OpenStreetMap_BlackAndWhite, @@ -533,8 +533,9 @@ $(document).ready(function() { 'Stamen Toner': Stamen_Toner } L.control.layers(BaseLayers).addTo(map) - - // L.control.layers(SectionLayers).addTo(map) +*/ + + OpenStreetMap_HOT.addTo(map) mcg.addTo(map) -- cgit v1.2.3