Cluster sizes showing up appropriately and unclustering upon zoom; need to nail down styling and add onSelect for clusters

This commit is contained in:
efarooqui
2020-09-30 11:21:37 -07:00
parent aa87db6b84
commit 5020e73811
4 changed files with 12 additions and 18 deletions

View File

@@ -169,7 +169,7 @@ export function calcOpacity (num) {
}
export function calcClusterSize (pointCount, numClusters) {
return Math.min(50, 10 + (pointCount / numClusters) * 20)
return Math.min(50, 10 + (pointCount / numClusters) * 10)
}
export const dateMin = function () {