In Google Maps v2 for Android, there is a Marker object. It has an icon field that allows you to set a drawable for this marker. However, I would like to get the icon that was previously set on a marker. Is there a way to do this? I have dozens of markers on the map, and I want to calculate the boundaries of the drawables of each of those markers, in order to avoid collisions.
Thank you,
Igor
This below is the sample code in the demo files of Google Maps APIS v2.
This shows us the HOW TO USE the custom icon in Google Maps.
R.drawable.arrow will be your custom icon : Make your icon using the Graphic software(such as Photoshop)and then insert your icon into the folder of res/drwable in your project.