mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-21 10:25:00 +00:00
Remove heatmap blob radius ui setting
This commit is contained in:
parent
cc42cbc030
commit
bc3c631c89
2 changed files with 3 additions and 14 deletions
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# v0.10.1
|
||||||
|
- Remove heatmap blob radius ui setting
|
||||||
|
|
||||||
# v0.10
|
# v0.10
|
||||||
- Change heatmap into a voronoi diagram ([#30](https://github.com/ConnectedHumber/Air-Quality-Web/issues/30))
|
- Change heatmap into a voronoi diagram ([#30](https://github.com/ConnectedHumber/Air-Quality-Web/issues/30))
|
||||||
|
|
||||||
|
|
|
@ -37,20 +37,6 @@ class UI {
|
||||||
);
|
);
|
||||||
|
|
||||||
this.ui_panel.loadConfig([
|
this.ui_panel.loadConfig([
|
||||||
{
|
|
||||||
type: "range",
|
|
||||||
name: "Heatmap Blob Radius",
|
|
||||||
items: [
|
|
||||||
0.001, // min
|
|
||||||
0.05, // max
|
|
||||||
Config.heatmap.blob_radius, // initial value
|
|
||||||
0.001 // step
|
|
||||||
],
|
|
||||||
callback: ((event) => {
|
|
||||||
this.map_manager.heatmap.overlay_config.radius = parseFloat(event.target.value);
|
|
||||||
this.map_manager.heatmap.refresh_display();
|
|
||||||
}).bind(this)
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "select",
|
type: "select",
|
||||||
name: "Reading Type",
|
name: "Reading Type",
|
||||||
|
|
Loading…
Reference in a new issue