Mercurial > gemma
diff client/src/store/map.js @ 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 | 39586a34979c |
children | 23c03e2eaf4f |
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