Skip to content
Snippets Groups Projects
Commit 51d533a4 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

fix: Make sure controllers are displayed correctly on grid map init

parent fe570813
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,10 @@ async function initGridMap(inputModelId, wmsURL, year, mapAttribution) { ...@@ -181,6 +181,10 @@ async function initGridMap(inputModelId, wmsURL, year, mapAttribution) {
WMSLayersDateBucket = {}; WMSLayersDateBucket = {};
timestamps = undefined; timestamps = undefined;
todayLayerIndex = undefined; todayLayerIndex = undefined;
document.getElementById("paramselector").style.display="block";
document.getElementById("layerLegend").style.display="block";
document.getElementById("slidecontainer").style.display="block";
document.getElementById("errorMessageContainer").style.display="none";
modelId = inputModelId; modelId = inputModelId;
let backgroundLayer = new ol.layer.Tile({ let backgroundLayer = new ol.layer.Tile({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment