0
Guys I have a question, I am creating an application that uses Google Maps V2, has how to REMOVE these default options from the Map ? This happens when I click on the marker and these two default options automatically appear.
0
Guys I have a question, I am creating an application that uses Google Maps V2, has how to REMOVE these default options from the Map ? This happens when I click on the marker and these two default options automatically appear.
1
To remove these two buttons simply disable the MapToolbar
using:
GoogleMap map = ...;
map.getUiSettings().setMapToolbarEnabled(false);
More information: https://developers.google.com/maps/documentation/android/interactivity#map_toolbar
Browser other questions tagged android google-maps
You are not signed in. Login or sign up in order to post.
Can you include the creation code? Looking at the API just use the method
setMapToolbarEnabled
passing byfalse
in its objectUiSettings
relative to the map you are using.– Wakim
Thanks Wakim, that’s right I just had to put the setMapToolbarEnabled as false and gone.
– Alessandro Barreto