Add CSS styled marker to google maps

Use RichMarker for Google Maps v3 – usage:

curMarker = new RichMarker({
    position: new google.maps.LatLng(position),
    map: map,
    content: '<div id="foo">Bar</div>'
});

JSFiddle example.

Leave a Comment