summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2018-03-09 19:00:06 +0100
committerhellekin <hellekin@cepheide.org>2018-03-09 19:00:06 +0100
commit8abde391b2045e5dbdadee554686a6c8ab93e40f (patch)
tree9fea2d53e2fd99acdf4e741815d82434fa9673b0 /assets
parentb328679a9c6f9ca4eff165e9d4242e847dabb9fb (diff)
downloadwallonie-demain-proto-8abde391b2045e5dbdadee554686a6c8ab93e40f.tar.gz
Remove map tile choice
Diffstat (limited to 'assets')
-rw-r--r--assets/mapper.js11
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: '&copy; <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 &copy; <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)