i know it's possible to add svg overlays to google maps. i'm wondering
if you can use svg files as markers. i tried setting it just like you
would a png or jpg file, but nothing shows up:
var image = new google.maps.MarkerImage('buses/images/marker.svg');
var marker2 = new google.maps.Marker({
position: coord,
map:map,
icon: image
});
also tried:
var marker2 = new google.maps.Marker({
position: coord,
map:map,
icon: "buses/images/marker.svg"
});
am i approaching this the wrong way?
thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.