Genadinik
Genadinik

Reputation: 18639

Placing Custom Images Instead of Default Google Map Markers

This is probably a silly question, but I am having 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

Upvotes: 0

Views: 90

Answers (1)

mu is too short
mu is too short

Reputation: 434665

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.

Upvotes: 1

Related Questions