2

How to make such a custom marker?

Sebastián Palma
  • 32,692
  • 6
  • 40
  • 59
alexmx
  • 151
  • 4

1 Answers1

-1

Firstly use BitmapDescriptorFactory.fromResource(id goes here)

Then add marker to the map using

Marker marker = GoogleMap.addMarker(new MarkerOptions().position(latLng)
                                    .icon(BitmapDescriptorFactory.fromResource(id goes here));

For the text you can use

marker.setTitle(string);   //text on top
marker.setSnippet(string); //text below the title
Aniruddha Bera
  • 399
  • 6
  • 19