From 8b2b907948dcb17384759205842af57610d21778 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 22 Jul 2019 15:37:17 +0100 Subject: [PATCH] Strip another artifact of leaflet-timedimension --- client_src/js/MapManager.mjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client_src/js/MapManager.mjs b/client_src/js/MapManager.mjs index 1a778d1..ccee785 100644 --- a/client_src/js/MapManager.mjs +++ b/client_src/js/MapManager.mjs @@ -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);