From b4981f1bbf23625b74c413eb0d2670e56c2e8473 Mon Sep 17 00:00:00 2001 From: efarooqui Date: Tue, 11 May 2021 19:24:05 -0700 Subject: [PATCH] Bumping maxsize for clusters --- src/common/utilities.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/utilities.js b/src/common/utilities.js index 902227a..11556cf 100644 --- a/src/common/utilities.js +++ b/src/common/utilities.js @@ -344,7 +344,8 @@ export function calcClusterSize(pointCount, totalPoints) { /* The larger the cluster size, the higher the count of points that the cluster represents. Just like with opacity, we use a multiplication factor to ensure that clusters with higher point counts appear larger. */ - const maxSize = totalPoints > 60 ? 40 : 20; + //TO-DO: Convert maxSize into a config var + const maxSize = totalPoints > 60 ? 60 : 40; return Math.min(maxSize, 10 + (pointCount / totalPoints) * 150); }