mSapps
mSapps

Reputation: 601

Performing click event on google map cluster item in android

I am using Google Maps Android API Utility Library . I want to perform click event on a cluster item (marker) without actually clicking it .

When I didn't use clustering rather I use plain Marker I used this .

marker.showInfoWindow()

But in case of clustering , I couldn't find a similar way .

Upvotes: 0

Views: 1366

Answers (1)

prakash
prakash

Reputation: 162

For zoom in and show markers (ungrouping the cluster) in cluster.

clusterManager.setOnClusterClickListener(this);

For individual marker click listener in cluster.

clusterManager.setOnClusterItemClickListener(this);

Upvotes: 1

Related Questions