Hello I would like to add a dynamic display with a number in my point.
As in the picture, I already have the icons on the map.
Adding the numbers in point?
Hello I would like to add a dynamic display with a number in my point.
As in the picture, I already have the icons on the map.
Adding the numbers in point?
You may use android-maps-utils to achieve such effect.
Simply create 9-patch out of your pin with empty rectangle above and make rectangle be the content.
Then use
IconGenerator
to create aBitmap
with your text and 9-patch like here:Then use this
Bitmap
to setMarker
s icon: