leighhalliday / use-supercluster

A React Hook for using Supercluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unbond data with same coordinate

RicardoBrito1938 opened this issue · comments

Hello, first of all, congratulations, i saw your youtube video, and it helped me a lot on the implementation

But i need guidance regarding when we achive the maxZoom, but we have to properties with same coordinates, how could desustructure them?

for example: following exactly your video about cluster, i could implement successfully, but i may face very rare cases, where even with the maxZoom, some applications have the same exact coordinate, but, they are different application, with different data,

image

how could i unbod them and know exaclty what i have inside this cluster?

searching i found getChildren(clusterId), but is not bringing me the children yet

Hello guys, not sure what was going on on my code, but by just adding

const clusterPoints = supercluster?.getChildren(id);

it worked!, i am closing the issue, if someone came looking for this post, feel free to reach me and i can share what i did here, bye bye