hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium
Other
87 stars 26 forks source link

getMarker when clusteritemclick #82

Closed usamecavga closed 7 years ago

usamecavga commented 7 years ago

Hi,

I need to getMarker for change marker icon in cluster with clusteritemclick event. I get mapView but not clicked marker. Can you help me?

Best, Usame

hansemannn commented 7 years ago

Cluster items are abstracted structured that do not have an instance behind it - to keep the clusters flexible and performant. You can identify the marker behind it by useing the userData property to store user-related data like the item ID. Properties returned:

There are no plans to change this behavior.