Is there an example of how to add an event listener for Polylines? I
have been able to add all of the event listeners for markers, but none
for Polylines... I assume there is something wrong with:
google.maps.event.addListener(polyline, 'click', function ()
{ alert('click');});
where polyline is a polyline that is displayed. is there a
polyline.setClickable(); that needs to be set?
--
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.