I\'ve been searching for help on implementing OnMarkerClickListener but nothing I\'ve found has worked. This is my marker below and when clicked it only changes colour(light
I suggest use of OnInfoWindowClickListener, it will trigger when you click on marker and then the snippet. Use setTag to attach any object with the marker.
Marker marker = mMap.addMarker(markerOptions);
marker.setTag(myObject);
and the listener
mMap.setOnInfoWindowClickListener(new OnInfoWindowClickListener() {
@Override
public void onInfoWindowClick(Marker arg0) {
MyObject mo = (MyObject )arg0.getTag();
}
});