On Nov 15, 10:46 pm, achick <achick...@gmail.com> wrote: > I want to show a infoWindow when user click the route on map, > I had tried addListener on DirectionsRenderer and DirectionsRoute but > not work,
You need to add a click listener to the polyline if you want it to respond to clicks. The only way I know to do that is to use the suppressPolylines option and draw it yourself. One of my examples which does that: http://www.geocodezip.com/v3_directions_custom_iconsC.html > here is my code: Not helpful. A link to your map might be. -- Larry > 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.