Strip another artifact of leaflet-timedimension

This commit is contained in:
Starbeamrainbowlabs 2019-07-22 15:37:17 +01:00
parent aee55acb37
commit 8b2b907948
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 6 deletions

View File

@ -21,12 +21,7 @@ class MapManager {
async setup() {
// Create the map
this.map = L.map("map", {
fullscreenControl: true,
timeDimension: true,
timeDimensionOptions: {
timeInterval: `2019-01-01/${(new Date()).toISOString().split("T")[0]}`,
period: "PT6M" // 6 minutes, in ISO 8601 Durations format: https://en.wikipedia.org/wiki/ISO_8601#Durations
}
fullscreenControl: true
});
this.map.setView(Config.default_location, Config.default_zoom);