[client] Try tweaking the heatmap, but it looks like we're going to have to swap it out

Looks like https://www.npmjs.com/package/leaflet-heatmap is a good place 
to look for a replacement
This commit is contained in:
Starbeamrainbowlabs 2019-01-18 00:18:34 +00:00
parent 16d58918b9
commit e86032c847
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,8 @@ export default {
default_zoom: 12,
// The size, in metres, of the blobs on the heatmap.
heatmap_blob_size: 500,
heatmap_blob_size: 5000,
heatmap_opacity: 0.75
heatmap_opacity: 0.75,
heatmap_alpha_range: 0.5
}

View File

@ -13,7 +13,8 @@ class LayerHeatmap {
this.layer = new L.webGLHeatmap({
size: Config.heatmap_blob_size,
opacity: Config.heatmap_opacity
opacity: Config.heatmap_opacity,
alphaRange: Config.heatmap_alpha_range
});
}