My goal is to have multiple markers with text on each on the Android Google Maps API v2 map. The info windows approach (showInfoWindow()) is not suitable, because only one info window is displayed at a time. For example I want to have something like this:
As you can see each marker has its own data (number for this example) displayed all the time. How can I achieve this with Android Google Maps API v2?
to do that you'll have to customize the icon of each individual marker to be what you need. Here's the link: https://developers.google.com/maps/documentation/android/marker#customize_a_marker
Then you can put some PNG resources (a blue, a yellow and a red), and at runtime get correct Bitmap, write the text on the bitmap by code, and then set as the custom-marker with the fromBitmap (Bitmap image)
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With