Reputation: 5575
I'm adding maps to a website dynamically, finding the lat and lng by using google's geocoding service. I'd like to put a marker on the position returned by the geocoding service, on top of that, I'd like the marker to be a custom image.
Upvotes: 2
Views: 4090
Reputation: 46067
You need to use the GIcon class. Please take a look at this:
http://code.google.com/apis/maps/documentation/javascript/v2/overlays.html#Custom_Icons
Upvotes: 3