changeset 4222:c5cc6540940e

client: improve LOD for one layer * Display the diagrams in the `Bottlenecks Fairway Availability` always, if the layer is visible.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 16 Aug 2019 17:09:39 +0200
parents 56588a4ba196
children a76a6b26e327
files client/src/components/map/styles.js
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/map/styles.js	Fri Aug 16 17:06:51 2019 +0200
+++ b/client/src/components/map/styles.js	Fri Aug 16 17:09:39 2019 +0200
@@ -190,11 +190,7 @@
           })
         );
       }
-      if (
-        feature.get("fa_critical") &&
-        feature.get("fa_data") &&
-        resolution > 15
-      ) {
+      if (feature.get("fa_critical") && feature.get("fa_data")) {
         let data = feature.get("fa_data");
         let lnwlHeight = (80 / 100) * data.ldc;
         let belowThresholdHeight = (80 / 100) * data.below;