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
It turns out the problem is that if you have a list of markers and one of the points has a null latitude or longitude. All the clusters will fail to be created. Even if all the other markers have valid latitude or longitudes.
You can recreate it yourself if you have a list of markers with lat long values and set one of the points lat or long values to null.
I think this is a bug, currently we are working around it ourselves by filtering out points with lat or long. But I think the expected behavior would be:
index. load() function to filter out invalid markers.
A warning could be raised to let user know Warning: 5 markers were dropped due to invalid lat or long values
Create a function index.getWarningMessages() to let the user know that certain points had to be filtered out due to invalid lat or long values and let the user know what points those were.
Some of my zoom levels are returning an empty list cluster, while other zoom levels are properly returning a list of clusters.
The text was updated successfully, but these errors were encountered: