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

build: OpenLayers 4.2.0 -> 4.6.5

parent e0154bf9
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
...@@ -169,7 +169,8 @@ function getLayersForCurrentTimestamp() ...@@ -169,7 +169,8 @@ function getLayersForCurrentTimestamp()
*/ */
async function initGridMap(inputModelId, wmsURL, mapAttribution) { async function initGridMap(inputModelId, wmsURL, mapAttribution) {
modelId = inputModelId; modelId = inputModelId;
var backgroundLayer = new ol.layer.Tile({ console.info("Init grid map " + inputModelId)
let backgroundLayer = new ol.layer.Tile({
source: new ol.source.OSM({ source: new ol.source.OSM({
attributions: [ attributions: [
new ol.Attribution({ new ol.Attribution({
...@@ -557,4 +558,4 @@ function moveDateSlider(step) ...@@ -557,4 +558,4 @@ function moveDateSlider(step)
newValue = newValue > max ? max : newValue < min ? min : newValue; newValue = newValue > max ? max : newValue < min ? min : newValue;
slider.value=newValue; slider.value=newValue;
slider.onchange(); slider.onchange();
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment