Do not launch Google Maps when the map is clicked lite mode
suggest changeWhen 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);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents