Commit 32dd7c39 authored by alain's avatar alain 🐙
Browse files

get offline station color from settings

parent bd79cf5c
......@@ -89,7 +89,7 @@ class StationLayer extends CompositeLayer {
getPosition: d => this.getCoordinates(d, count, radius),
getFillColor: d => {
if(d.mean === null) {
return getColorArray("#ccc")
return getColorArray(mapItemSettings.colorOffline)
} else {
return getColorArray(color(d.mean, legend, (scale === 'log')))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment