From 082ae890a0ce026f29716179507bfdb81085f147 Mon Sep 17 00:00:00 2001 From: leosw Date: Sat, 27 Mar 2021 18:41:16 +0100 Subject: [PATCH] Fix typo in map credits --- views/js/d.map.js | 7 ++----- views/js/d.poi_map.js | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/views/js/d.map.js b/views/js/d.map.js index 6c90374..eb578a8 100755 --- a/views/js/d.map.js +++ b/views/js/d.map.js @@ -2,11 +2,8 @@ var mymap; $( document ).ready(function() { // Differents layers for the map - var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, maxZoom: 20, attribution: 'Maps © © MapTiler, Data © OpenStreetMap contributors'}); - /*var wikimedia = L.tileLayer('//maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', {tms: true, maxZoom: 18, attribution: 'Maps © Wikimedia, Data © OpenStreetMap contributors'}); - var sat_cro = L.tileLayer('/_maps/sat_cro/{z}/{x}/{y}.png', {tms: true, maxZoom: 17, attribution: 'For dev purpose only'}); - var osm_cro = L.tileLayer('/_maps/osm_cro/{z}/{x}/{y}.png', {tms: true, maxZoom: 17, attribution: 'For dev purpose only'}); - var ign_cro = L.tileLayer('/_maps/ign_cro/{z}/{x}/{y}.jpg.tile', {tms: false, maxZoom: 13, attribution: 'For dev purpose only'});*/ + var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, maxZoom: 20, attribution: 'Maps © MapTiler, Data © OpenStreetMap contributors'}); + /*var wikimedia = L.tileLayer('//maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', {tms: true, maxZoom: 18, attribution: 'Maps © Wikimedia, Data © OpenStreetMap contributors'});*/ // Base layers var baseLayers = { "Topo": topo_maptiler, diff --git a/views/js/d.poi_map.js b/views/js/d.poi_map.js index 62724c4..c5afe61 100755 --- a/views/js/d.poi_map.js +++ b/views/js/d.poi_map.js @@ -3,7 +3,7 @@ var poi_layer; $( document ).ready(function() { // Differents layers for the map - var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, maxZoom: 20, attribution: 'Maps © © MapTiler, Data © OpenStreetMap contributors'}); + var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, maxZoom: 20, attribution: 'Maps © MapTiler, Data © OpenStreetMap contributors'}); /*var wikimedia = L.tileLayer('//maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', {tms: true, maxZoom: 18, attribution: 'Maps © Wikimedia, Data © OpenStreetMap contributors'});*/ // Base layers var baseLayers = {