Add temperature gradient

pull/26/head
Starbeamrainbowlabs 4 years ago
parent 497da77e61
commit 556585e848
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 11
      client_src/js/LayerHeatmap.mjs

@ -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…
Cancel
Save