Thanks for that lead. I had been on the page but not quite figured out the "one listener" problem.
The discussion here seems to also address the problem very nicely! http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/1b717b6ef0d2fdc I have the basic mouseover working now, and will try a click. M On Sep 15, 7:27 pm, "[email protected]" <[email protected]> wrote: > On Sep 15, 6:06 pm, Michael M - As You Wish <[email protected]> > wrote: > > > Good afternoon mappers. I have 50-odd tracks across the Pacific, and > > I'd like to have some sort of popup or info window when mousing over > > each one. I am stuck at phase one. I can add a listener to each > > polyline, but they all seem to point to the LAST polyline in the list. > > Sounds like pitfall #3 - a reference to this page of Mike Williams' v2 > tutorial: > The Basics - Part 1 Markers with info > windowshttp://econym.org.uk/gmap/basic1.htm > > > > > The link to the website is > > http://pacificcup.org/OpenLayers/testbutton.html > > > > > For development, I am just trying to get the boatname in the box at > > the top of the page. Once I can get that to change, I'll do the real > > mouseover code. > > What I do on this page is use a "createClickablePolyline" function so > I get function > closure.http://www.geocodezip.com/v3_GenericMapBrowser.asp?filename=SteveFoss... > (the page is still under development, other pieces of it don't work > the way I want, but this part does). > > -- Larry > > > > > Thanks all! Any help is appreciated. -- 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.
