can't add a custom marker to Google maps ( JS )

Posted by user296516 on Stack Overflow See other posts from Stack Overflow or by user296516
Published on 2010-04-14T14:52:36Z Indexed on 2010/04/14 14:53 UTC
Read the original article Hit count: 296

Filed under:
|

Hi, Was wondering, how do I add a custom marker to google maps, JavaScript, integrated into my site.

This code adds a regular marker:

var marker = new GMarker(center);
map.addOverlay(marker);

but where do I insert an image tag (say, "marker.png" ) for it to appear instead of the regular google marker?

Thanks!

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about JavaScript