开发者

Placing Custom Images Instead of Default Google Map Markers

开发者 https://www.devze.com 2023-02-13 08:11 出处:网络
This is probably a silly question, but I am havin开发者_JAVA百科g a hard time finding good resources for this just by googling.

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

精彩评论

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