I want to stick labels on the screen ( not marker ) like this :
how can I add this blue text to the map beside marker?
I want to stick labels on the screen ( not marker ) like this :
how can I add this blue text to the map beside marker?
You need to create a custom Bitmap
with the blue text and icon and set it using the icon
method of Marker
object.
// add marker to Map
mMap.addMarker(new MarkerOptions()
.position(USER_POSITION)
.icon(BitmapDescriptorFactory.fromBitmap(YOUR_CUSTOM_BITMAP))
// Specifies the anchor to be at a particular point in the marker image.
.anchor(0.5f, 1));
Detailed example can be found here