Skip to content

Commit

Permalink
limit openaip / nexrad / radolan to a maximum zoom lvl of 15
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Aug 9, 2020
1 parent 2e9ae20 commit e16c1fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function createBaseLayers() {
opacity: 0.7,
visible: false,
zIndex: 99,
maxZoom: 15,
}));

let nexrad = new ol.layer.Tile({
Expand All @@ -216,6 +217,7 @@ function createBaseLayers() {
opacity: 0.3,
visible: false,
zIndex: 99,
maxZoom: 15,
});

let refreshNexrad = function() {
Expand Down Expand Up @@ -245,6 +247,7 @@ function createBaseLayers() {
opacity: 0.3,
visible: false,
zIndex: 99,
maxZoom: 15,
});


Expand Down

0 comments on commit e16c1fb

Please sign in to comment.