diff client/src/components/map/styles.js @ 4279:30f26bf7ff24

Reordering of elements In order to improve user experience the configuration of avail, forceast vs. real and accuracy was changed in such a way, that it now mirrors the optics of the displayed triangle. The order in the identify tool was changed accordingly 1) avail 2) forcast vs. real 3) accuracy "Currency" was cleaned up to "recency"
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 29 Aug 2019 15:04:02 +0200
parents 1d4e588a61df
children be7c23af783c
line wrap: on
line diff
--- a/client/src/components/map/styles.js	Thu Aug 29 09:42:34 2019 +0200
+++ b/client/src/components/map/styles.js	Thu Aug 29 15:04:02 2019 +0200
@@ -308,7 +308,7 @@
           feature.getId().indexOf("bottlenecks") > -1
         ) {
           let colorUniformTriangle =
-            recencyColorCodes[classifications.surveyCurrency(feature)];
+            recencyColorCodes[classifications.surveyRecency(feature)];
           let frame = `<polyline points='16,0 32,28 0,28 16,0' stroke='grey' stroke-width='1' fill='${colorUniformTriangle}'/>`;
           let svg = `data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='28'><g>${frame}</g></svg>`;
           s.push(