1

i have this

 mapa.addMarker(new MarkerOptions()
                       .position(latlng)
                       .title("HI")
                       .snippet("HI;HI")
           .icon(BitmapDescriptorFactory.fromResource(R.drawable.same)));

but no find information of how add into infowindow a icon someone can help me?

Quickcoding
  • 735
  • 8
  • 14
  • http://stackoverflow.com/questions/14123243/google-maps-api-v2-custom-infowindow-like-in-original-android-google-maps. – Raghunandan May 15 '13 at 19:01

1 Answers1

5

You will need to create your own InfoWindowAdapter and use getInfoContents() or getInfoWindow() to return the info window contents containing the image you seek.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • It's not great documentation is it? There are no concrete examples of the InfoWindowAdapter interface, just pictures of what it should look like if you manage to guess correctly. – Andrew S Apr 12 '15 at 17:48