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
Hello,
thanks for your incredible work. I am using the clustering markers but I'm encountering unexpected behavior.
This is the code:
ArrayList<ClusterManager<ClusterMarkerMeter>> clusterManagers = new ArrayList<>();
for (int i = 0; i < routes.size(); i++) {
Route route = routes.get(i);
ClusterManager<ClusterMarkerMeter> clusterManager = new ClusterManager<>(ctx, map);
clusterManager.setRenderer(new MarkerMeterIconRender(ctx, map, clusterManager, customColors[i % customColors.length]));
clusterManagers.add(clusterManager);
for (Reading reading : route.readings) {
ClusterMarkerMeter item = routes.size() == 1 ? getMarkerColorByStatus(reading) : getClusterMarker(reading, i);
clusterManager.addItem(item);
}
clusterManager.getMarkerCollection().setInfoWindowAdapter(new InfoWindowAdapter(ctx));
clusterManager.cluster();
}
The setInfoWindowAdapter function works only on the latest clusterManager and not for the previous one. How can i fix this?
The text was updated successfully, but these errors were encountered:
MrJJOn
added
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Jun 10, 2024
Hello,
thanks for your incredible work. I am using the clustering markers but I'm encountering unexpected behavior.
This is the code:
The setInfoWindowAdapter function works only on the latest clusterManager and not for the previous one. How can i fix this?
The text was updated successfully, but these errors were encountered: