Hello,
I'm using supercluster and found that on certain point sets it throws given error.
The example set can be found on pastebin.
Bounds and zoom I have:
"bounds": [
37.41012735664174,
55.62057887866567,
37.82486124336097,
55.879882425496476
],
"zoom": 10
The options of supercluster are:
"radius": 40,
"maxZoom": 999
Digging a little bit inside I found that error is originated because we're trying to index an array with 5 elements (index.points) with originId === 324 which was calculated from clusterId === 16642 and this.points.length === 6266.
I'm not familiar with library code enough to dig deeper.
Hope that helps, let me know if you need more info.
Hello,
I'm using supercluster and found that on certain point sets it throws given error.
The example set can be found on pastebin.
Bounds and zoom I have:
The options of supercluster are:
Digging a little bit inside I found that error is originated because we're trying to index an array with 5 elements (
index.points) withoriginId === 324which was calculated fromclusterId === 16642andthis.points.length === 6266.I'm not familiar with library code enough to dig deeper.
Hope that helps, let me know if you need more info.