From 8abe017785ef444139b9f8706d95e274e8679184 Mon Sep 17 00:00:00 2001 From: efarooqui Date: Tue, 11 May 2021 19:57:20 -0700 Subject: [PATCH] Changing clusterSize calculation --- src/common/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/utilities.js b/src/common/utilities.js index 11556cf..cf8c6c0 100644 --- a/src/common/utilities.js +++ b/src/common/utilities.js @@ -345,8 +345,8 @@ export function calcClusterSize(pointCount, totalPoints) { Just like with opacity, we use a multiplication factor to ensure that clusters with higher point counts appear larger. */ //TO-DO: Convert maxSize into a config var - const maxSize = totalPoints > 60 ? 60 : 40; - return Math.min(maxSize, 10 + (pointCount / totalPoints) * 150); + const maxSize = totalPoints > 60 ? 60 : 35; + return Math.min(maxSize, 10 + (pointCount / totalPoints) * 100); } export function calculateTotalClusterPoints(clusters) {