Moved supercluster config outside of map; to set the lowest level at which clusters appear, set maxZoom in config

This commit is contained in:
efarooqui
2020-10-21 20:52:59 -07:00
parent 534400cc7f
commit d7ddc80c5c
2 changed files with 10 additions and 5 deletions

View File

@@ -52,7 +52,11 @@ const initial = {
maxZoom: 16,
bounds: null,
maxBounds: [[180, -180], [-180, 180]],
clusterRadius: 30
},
cluster: {
radius: 30,
minZoom: 2,
maxZoom: 16
},
timeline: {
dimensions: {