From 585bf9ce29b0d4d40b0012915669b7d0962904c8 Mon Sep 17 00:00:00 2001 From: Arne Hamann Date: Wed, 6 Sep 2023 23:42:14 +0200 Subject: [PATCH] finetune heatmap options Signed-off-by: Arne Hamann --- src/components/top-matter/MapSplitMatter.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/top-matter/MapSplitMatter.vue b/src/components/top-matter/MapSplitMatter.vue index 2006c124..28cb6536 100644 --- a/src/components/top-matter/MapSplitMatter.vue +++ b/src/components/top-matter/MapSplitMatter.vue @@ -35,9 +35,9 @@ :initial-points="points" :options="{ // minOpacity: null, - // maxZoom: null, - radius: 15, - blur: 10, + maxZoom: 16, + radius: 50, + blur: 30, gradient: { 0.4: 'blue', 0.65: 'lime', 1: 'red' }, }" /> @@ -283,7 +283,7 @@ export default defineComponent({ // Params have changed, quit const res = await axios.get(url); this.points = res.data.map((c) => { - return [c.center[0], c.center[1], c.count] + return [c.center[0], c.center[1], 1] }); },