On Sep 8, 4:01 am, Garito <[email protected]> wrote: > Hi all! > How can I define a custom image for a waypoint? > > I do something like: > var iconUrl = "http://chart.apis.google.com/chart? > chst=d_map_pin_letter_withshadow&chld=" + totalMarkers++ + "|65ba4a| > 000000"; > var directionsService = new google.maps.DirectionsService(), > directionsDisplay = new > google.maps.DirectionsRenderer({markerOptions: {icon: iconUrl}}); > > and add the waypoints with the request object but I can't specify the > custom icon for the waypoint > > Is this posible?
Is this what you are trying to do? http://www.geocodezip.com/v3_GoogleEx_directions-waypointsE.html -- Larry > > Thanks a lot -- 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.
