On Feb 10, 4:05 pm, nicholas cipriano <[email protected]> wrote:
> Hello,
> My code below worked before the update which was released last
> Tuesday.  My goal was to create a map where I had a bus route created
> as a polyline on my map.  I wanted to be able to click two points on
> the polyline and highlight the area between the two routes.  I had
> done this by creating two markers and using the Directions service to
> show the distance and duration between the two points.  Since the
> update I am no longer able to set the click listener to be active when
> the click is on the polyline, it only works when i set the click
> listener to the entire map.  The code that I used is:
>


>
> This is the line when I change busRoute to map I am able to display
> two markers and the directions between the two:
>
>    google.maps.event.addDomListener(busRoute, 'click', addLatLng);
>
> Thanks in advance for any help.

Please, please, please read the posting guidelines and post a link to
your map, _not_ your code:

http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines

http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to