eclipse - Differenciate between onMarkerClick and onClusterItemClick event in Android -
i using google map v2 1000 plus markers being fetched web service. reason using map clustering. showing info window onmarkerclick
problem when user click on cluster shows info window because onmarkerclick
event triggered. want zoom further when cluster of markers clicked. there onclusteritemclick
event not working onmarkerclick
. feasible solution appreciated in advance.
thanks
i found answer of issue. can use following 2 listeners on clustermanager
object mclustermanager
according requirement :
1- setonclusterclicklistener 2- setonclusteritemclicklistener
but before have set this:
map.setonmarkerclicklistener(mclustermanager);
Comments
Post a Comment