# HG changeset patch # User Bjoern Schilberg # Date 1550064047 -3600 # Node ID a78f19ff7cde9e7c4cb43333809271b4c1e01902 # Parent 32441ac04c7c32fdbe204c01eb89f56969b5dc05 LAYERS.WATERWAYAXIS: Set max- and minResolution. Modelled after d4d. diff -r 32441ac04c7c -r a78f19ff7cde client/src/store/map.js --- 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