diff client/src/components/map/styles.js @ 3480:965b2fbb1890

Colorize gauge symbol based on availability of measurements
author Tom Gottfried <tom@intevation.de>
date Mon, 27 May 2019 15:45:55 +0200
parents 71022e6bd98e
children c5c7cc24fe72
line wrap: on
line diff
--- a/client/src/components/map/styles.js	Mon May 27 15:08:44 2019 +0200
+++ b/client/src/components/map/styles.js	Mon May 27 15:45:55 2019 +0200
@@ -238,7 +238,7 @@
       );
     } else {
       // TODO: Get information from feature and check the ranges according to #423, #424, #425
-      let colorWaterlevel = "lime";
+      let colorWaterlevel = classifications.gmAvailability(feature);
       let colorUniformTriangle = "lime";
       let colorComparison = "white";
       let colorAccuracy = classifications.forecastAccuracy(feature);