melisandre melisandre - 1 year ago 78
Android Question

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

I created a mobile application which uses Google Maps but I can't seem to make the marker titles display automatically. I always have to tap the marker for its title to appear. Is there any way for the marker title to automatically display once it appears on the map? I want to be able to display the titles of the markers all at once.

Answer Source

use showInfoWindow() like below

Marker marker = mMap.addMarker(new MarkerOptions().position(currentPosition).title("Your text"));
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download