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