On Oct 21, 11:15 pm, CourseMapper <[EMAIL PROTECTED]> wrote:
> Anyone??
>
> I am still searching for this functionality.
>
> What i found so far:
> - triggering the mouseclick does not generate the onclick event of the
> line.

Yes there is a 'click' GEvent for a polyline. It returns the click
point GLatLng().
See an old quick test:
http://esa.ilmari.googlepages.com/polyclicktest.htm

As you can see, the click-sensing area depends on line weight. So if
you draw your lines on map with 1px  or 2px, you can have a thicker
but invisible copy of the line just for sensing the clicks. (opacity
0);



--~--~---------~--~----~------------~-------~--~----~
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