diff --git a/cmd/ursrv/static/index.html b/cmd/ursrv/static/index.html index 63d0e0a18..b161fa2e8 100644 --- a/cmd/ursrv/static/index.html +++ b/cmd/ursrv/static/index.html @@ -214,7 +214,7 @@ found in the LICENSE file. var locations = []; {{range $location, $weight := .locations}} - locations.push({lat:{{- $location.Latitude -}},lng:{{- $location.Longitude -}},count:Math.min(25, {{- $weight -}})}); + locations.push({lat:{{- $location.Latitude -}},lng:{{- $location.Longitude -}},count:Math.min(100, {{- $weight -}})}); {{- end}} function drawHeatMap() { @@ -233,6 +233,7 @@ found in the LICENSE file. ); var cfg = { "radius": 1, + "minOpacity": .25, "maxOpacity": .8, "scaleRadius": true, "useLocalExtrema": true, @@ -297,7 +298,7 @@ found in the LICENSE file. {{if .locations}}

- Heatmap max intensity is capped at 25 reports within a location. + Heatmap max intensity is capped at 100 reports within a location.