开发者

Android and Google Maps API - Icons

I want to place markers on the map. I want to use the standard Google Maps icons for markers.开发者_StackOverflow 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.


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..


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.


A simple solution can be found here: https://github.com/jgilfelt/android-mapviewballoons/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜