Compare commits

...

1 Commits

Author SHA1 Message Date
Burathar 029f86f6c7 set new tileserver 3 years ago
  1. 7
      app/static/assets/leaflet/utils.js

7
app/static/assets/leaflet/utils.js

@ -126,8 +126,9 @@ function getMap(){
}); });
L.control.scale().addTo(map); L.control.scale().addTo(map);
L.tileLayer( 'https://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaartpastel/EPSG:3857/{z}/{x}/{y}.png', { //pioneer,atlas,neighbourhood,transport
attribution: 'Kaartgegevens &copy; <a href="https://kadaster.nl">Kadaster</a>' L.tileLayer( 'https://tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey=df457ee6c2dd4b6e99b24c853421a1db', {
attribution: 'Kaartgegevens &copy; <a href="https://www.thunderforest.com">Thunderforest</a>'
}).addTo( map ); }).addTo( map );
return 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(Math.max.apply(null, playerLocations.map(function(e) {
return new Date(e.timestamp_utc); return new Date(e.timestamp_utc);
}))); })));
} }

Loading…
Cancel
Save