comparison 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
comparison
equal deleted inserted replaced
3478:afab8d87932c 3480:965b2fbb1890
236 }) 236 })
237 }) 237 })
238 ); 238 );
239 } else { 239 } else {
240 // TODO: Get information from feature and check the ranges according to #423, #424, #425 240 // TODO: Get information from feature and check the ranges according to #423, #424, #425
241 let colorWaterlevel = "lime"; 241 let colorWaterlevel = classifications.gmAvailability(feature);
242 let colorUniformTriangle = "lime"; 242 let colorUniformTriangle = "lime";
243 let colorComparison = "white"; 243 let colorComparison = "white";
244 let colorAccuracy = classifications.forecastAccuracy(feature); 244 let colorAccuracy = classifications.forecastAccuracy(feature);
245 let maps = store.state.map.openLayersMaps; 245 let maps = store.state.map.openLayersMaps;
246 let geom = feature.getGeometry(); 246 let geom = feature.getGeometry();