Android Do not launch Google Maps when the map is clicked (lite mode)


Example

When a Google Map is displayed in lite mode clicking on a map will open the Google Maps application. To disable this functionality you must call setClickable(false) on the MapView, e.g.:

final MapView mapView = (MapView)view.findViewById(R.id.map);
mapView.setClickable(false);