views:

481

answers:

2

I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android.

in the documentation they tell me to create a class that overrides ItemizedOverlay but in the constructor I'm asked to provide a drawable object.

how do I point to the standard Google Maps ones? thanks.

A: 

Those icons are not available from the Google Maps add-on for Android -- or, at least, they are not documented. Perhaps there is a way you can obtain them for legal download through Google Maps for the Web.

CommonsWare
isn't it weird that those are available outside of Android (regular use of Google API) but not from the Google-owned Android platform?
oriharel
I do not know if add-ons can easily publish resources. I do not know how much engineering time was devoted to the add-on. I do not know what priority Google would place on that development work versus other features. I do not know if Google considers it some sort of branding issue. And so on.
CommonsWare
A: 

this sample project helps you.

how to add a itemizedOverlay and when you click on it. it will show an balloon to display what you need..

Praveen Chandrasekaran