Changed back to normal opacities instead of radial gradients; could add a var that's read from the config to determine styling: radial gradient || normal opacity

This commit is contained in:
efarooqui
2020-10-14 22:27:50 -07:00
parent 32da7f0105
commit 2aaa1752ad
3 changed files with 9 additions and 10 deletions

View File

@@ -169,11 +169,11 @@ export function calcOpacity (num) {
}
export function calcClusterOpacity (pointCount, totalPoints) {
return Math.min(0.8, 0.08 + (pointCount / totalPoints) * 50)
return Math.min(0.85, 0.08 + (pointCount / totalPoints) * 50)
}
export function calcClusterSize (pointCount, totalPoints) {
return Math.min(50, 10 + (pointCount / totalPoints) * 75)
return Math.min(50, 10 + (pointCount / totalPoints) * 250)
}
export function isLatitude (lat) {