javaandroidgoogle-mapsgoogle-maps-markersgoogle-maps-android-api-2

Google android maps api v2 Show Marker Title Always


I have a google maps v2 in my android application and some markers on it. When user click one of these markers, a title popup comes. How can I show these titles always without user click?


Solution

  • Just call Marker.showInfoWindow();. See https://developers.google.com/maps/documentation/android/marker#info_windows and https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/Marker#showInfoWindow()