开发者

Placing Custom Images Instead of Default Google Map Markers

This is probably a silly question, but I am havin开发者_JAVA百科g a hard time finding good resources for this just by googling.

I have 3 different markers that I'd simply like to look different. Is there a good and simple tutorial for this? or could someone just paste some code to do that? I imagine its a one-liner kind of thing.

Thanks, Alex


When you create your Marker, set the icon and shadow properties of the MarkerOptions to the images of your choice. There are lots of examples, this one might get you started.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜