Q:

Hide get directions in SupporMapFragment

I have a SupportMapFragment with a marker in it. By default when I tab on the marker two buttons appear in the right bottom corner: get directions and open map. Is there any way to disable this and prevent them from appearing? 

A:

Just do as follows:
GoogleMap mGoogleMap;

Disable Map Toolbar:
mGoogleMap.getUiSettings().setMapToolbarEnabled(false);

