mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Strip another artifact of leaflet-timedimension
This commit is contained in:
parent
aee55acb37
commit
8b2b907948
1 changed files with 1 additions and 6 deletions
|
@ -21,12 +21,7 @@ class MapManager {
|
||||||
async setup() {
|
async setup() {
|
||||||
// Create the map
|
// Create the map
|
||||||
this.map = L.map("map", {
|
this.map = L.map("map", {
|
||||||
fullscreenControl: true,
|
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
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
this.map.setView(Config.default_location, Config.default_zoom);
|
this.map.setView(Config.default_location, Config.default_zoom);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue