diff options
-rw-r--r-- | assets/mapper.js | 11 |
1 files changed, 6 insertions, 5 deletions
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: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>' }); +/* 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 © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>', 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) |