changeset 2237:a78f19ff7cde

LAYERS.WATERWAYAXIS: Set max- and minResolution. Modelled after d4d.
author Bjoern Schilberg <bjoern@intevation.de>
date Wed, 13 Feb 2019 14:20:47 +0100
parents 32441ac04c7c
children 3fce60e34395
files client/src/store/map.js
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Wed Feb 13 14:16:15 2019 +0100
+++ b/client/src/store/map.js	Wed Feb 13 14:20:47 2019 +0100
@@ -231,7 +231,11 @@
               lineDash: [5, 5],
               width: 2
             })
-          })
+          }),
+          // TODO: Set layer in layertree active/inactive depending on
+          // resolution.
+          maxResolution: 5,
+          minResolution: 0
         }),
         isVisible: true,
         showInLegend: true