[android] #3736 - clicks should ignore marker validation when an InfoWindowAdapter is supplied by end developer.

This commit is contained in:
Tobrun
2016-02-02 17:23:50 +01:00
parent 6dff169f2b
commit ce8c6e26d5

View File

@@ -628,7 +628,7 @@ public class MapboxMap {
}
if (!handledDefaultClick) {
if (isInfoWindowValidForMarker(marker)) {
if (isInfoWindowValidForMarker(marker) || getInfoWindowAdapter() != null) {
mInfoWindows.add(marker.showInfoWindow(this, mMapView));
}
}