Modified clusters to take in radial gradient as input if specified

This commit is contained in:
efarooqui
2020-10-15 09:23:19 -07:00
parent 2aaa1752ad
commit 3bf80bce00
5 changed files with 11 additions and 6 deletions

View File

@@ -173,7 +173,7 @@ export function calcClusterOpacity (pointCount, totalPoints) {
}
export function calcClusterSize (pointCount, totalPoints) {
return Math.min(50, 10 + (pointCount / totalPoints) * 250)
return Math.min(50, 10 + (pointCount / totalPoints) * 150)
}
export function isLatitude (lat) {