Yaaaaagh! Rossko. Thank you for setting my mind back on the right track! For some reason I had started doing different things with polylines compared to markers.
Oh well. Live and learn. Thanks for your help. P On Nov 27, 9:02 am, Rossko <[email protected]> wrote: > > I am attempting to attach an onclick event to a number of polylines > > each with their own corresponding html variables all loaded from a > > mysql database via a php xml generator (based on Google example). > > You could get function closure on your data. Here's an example of > that, using markers -http://econym.org.uk/gmap/basic1.htm > 'Pitfall number 3' describes how you are doing it at the moment > More on closure -http://econym.org.uk/gmap/closure.htm -- 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.
