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