You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its not entirely clear in the docs how getClusters takes the input and generates clusters with it.
What is bbox? Is it the distance of each point in order to include it in a cluster? Is it the bbox of all the points that will be included in the cluster calculation?
What is zoom? How does this variable change the way the clusters are partitioned?
Where can we set the distance required between given points for them to be "clustered"?
I have the following points:
// Outlier
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[-73.7035824,40.8082369]}}
// Close Grouping
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[-73.6378459,40.7578053]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[-73.6368516,40.7578852]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[-73.637478,40.757829]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[-73.637179,40.7579205]}}
And I'm calling getCluster every time the map's bounds/zoom change. Ever time it returns one giant cluster when its clear that one of these points is an outlier.
Its not entirely clear in the docs how getClusters takes the input and generates clusters with it.
What is
bbox
? Is it the distance of each point in order to include it in a cluster? Is it thebbox
of all the points that will be included in the cluster calculation?What is
zoom
? How does this variable change the way the clusters are partitioned?Where can we set the distance required between given points for them to be "clustered"?
I have the following points:
Initial bounds:
And I'm calling getCluster every time the map's bounds/zoom change. Ever time it returns one giant cluster when its clear that one of these points is an outlier.
The text was updated successfully, but these errors were encountered: