Unable to get GoogleMap OnMarkerClickListener to work
android, google-maps, google-maps-markers
Solution
Managed to get it to work by using the OnInfoWindowClickListener instead. Don't know why it wouldn't respond to the marker click though.
Problem
Using V2 maps. Got it all basically working, including adding of markers. However, I need to take action when the marker is tapped, so I've installed a handler: ``` thisMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override public boolean onMarkerClick(Marker marker) { // Take some action here return true; } } ); ``` Only problem is - `onMarkerClick()` never gets called at all. Cannot see why - tried creating the listener when the map was originally created and also after the marker is put in place, no difference. ?