From 029f86f6c78adac1213efc6c2694cdd38081dd74 Mon Sep 17 00:00:00 2001 From: Burathar Date: Fri, 11 Feb 2022 23:24:30 +0100 Subject: [PATCH] set new tileserver --- app/static/assets/leaflet/utils.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/static/assets/leaflet/utils.js b/app/static/assets/leaflet/utils.js index fce8ba4..1e4eb4b 100644 --- a/app/static/assets/leaflet/utils.js +++ b/app/static/assets/leaflet/utils.js @@ -126,8 +126,9 @@ function getMap(){ }); L.control.scale().addTo(map); - L.tileLayer( 'https://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaartpastel/EPSG:3857/{z}/{x}/{y}.png', { - attribution: 'Kaartgegevens © Kadaster' + //pioneer,atlas,neighbourhood,transport + L.tileLayer( 'https://tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey=df457ee6c2dd4b6e99b24c853421a1db', { + attribution: 'Kaartgegevens © Thunderforest' }).addTo( map ); return map } @@ -170,4 +171,4 @@ function get_latest_date(playerLocations){ return new Date(Math.max.apply(null, playerLocations.map(function(e) { return new Date(e.timestamp_utc); }))); -} \ No newline at end of file +}