Change marker icons with directionsRenderer

493 views
Skip to first unread message

Corey Hart

unread,
Jan 27, 2011, 10:09:41 PM1/27/11
to google-map...@googlegroups.com
I'm looking to give the start position marker a new icon image, and the end position marker a different icon image when using the DirectionsRenderer object. I know that you can give both the start and end points the same image by setting markerOptions to a MarkerImage class, but I'm looking to give the start and end points different icons. Any Ideas?

Ralph Ames

unread,
Jan 27, 2011, 10:15:29 PM1/27/11
to google-map...@googlegroups.com

Try this link:

http://www.geocodezip.com/v3_directions_custom_iconsC.html


Ralph
-
www.easypagez.com/maps/map_index.html
www.easypagez.com/maps/v3_basicmap.html


--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-a...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.


Reply all
Reply to author
Forward
0 new messages