Display Toolbar for Google Maps Marker Automatically

How to make marker titles on Google Maps display all at once automatically?

use showInfoWindow() like below

Marker marker = mMap.addMarker(new MarkerOptions().position(currentPosition).title("Your text"));
marker.showInfoWindow();

new buttons appear automatically on google maps(Android) when click on marker?How to remove?

This thing is called Map Toolbar. You can disable it by calling UiSettings.setMapToolbarEnabled(false):

GoogleMap map;
....... //init map

map.getUiSettings().setMapToolbarEnabled(false);


Related Topics



Leave a reply



Submit