diff --git a/client_src/js/Config.mjs b/client_src/js/Config.mjs index 7686263..99d8497 100644 --- a/client_src/js/Config.mjs +++ b/client_src/js/Config.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 } diff --git a/client_src/js/LayerHeatmap.mjs b/client_src/js/LayerHeatmap.mjs index da3533a..66ce656 100644 --- a/client_src/js/LayerHeatmap.mjs +++ b/client_src/js/LayerHeatmap.mjs @@ -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 }); }