You can create the default marker manually like so:
new google.maps.Marker({icon: new google.maps.MarkerImage('http://
maps.gstatic.com/intl/en_us/mapfiles/markers/marker_sprite.png', new
google.maps.Size(20, 34)),
shadow: new google.maps.MarkerImage('http://maps.gstatic.com/intl/
en_us/mapfiles/markers/marker_sprite.png', new google.maps.Size(37,
34), new google.maps.Point(20, 0), new google.maps.Point(10, 34))});
Just change the icon image and leave the shadow.
Chad Killingsworth
On Jun 15, 6:09 am, Ric <[email protected]> wrote:
> Hi,
>
> I'm currently porting our application from v2 to v3. We use a large
> number of custom markers, which are identical in shape to the standard
> google teardrop markers.
>
> In v2, I could create a standard marker and just swap the image, which
> mean't I got the shadow etc for free.
>
> I can't see a way to do this in v3.
>
> Any help greatly appreciated.
>
> Ric
--
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.