mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
Cluster sizes showing up appropriately and unclustering upon zoom; need to nail down styling and add onSelect for clusters
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user