[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
pull/26/head
Starbeamrainbowlabs 4 years ago
parent 16d58918b9
commit e86032c847
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 5
      client_src/js/Config.mjs
  2. 3
      client_src/js/LayerHeatmap.mjs

@ -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
}

@ -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
});
}

Loading…
Cancel
Save