mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-22 10:25:01 +00:00
Add temperature gradient
This commit is contained in:
parent
497da77e61
commit
556585e848
1 changed files with 11 additions and 0 deletions
|
@ -64,6 +64,17 @@ class LayerHeatmap {
|
|||
"0.5": "hsl(176, 77%, 40%)",
|
||||
"1": "blue"
|
||||
}
|
||||
},
|
||||
"temperature": {
|
||||
max: 40,
|
||||
gradient: {
|
||||
"-0.25": "blue",
|
||||
"0.25": "cyan",
|
||||
"0.375": "green",
|
||||
"0.5": "yellow",
|
||||
"0.75": "orange",
|
||||
"1": "red"
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue