> What you *could* do is push your lines on to the same array as your
> markers, so that you just trigger a click on whatever happens to be at
> position [i] in the array. It might be better to rename the array as
> "overlays" just to make it clear that it's a generic array rather than
> just containing markers.

thanks, Andrew.

Here's something: deleting the "myclick" function refering to lines
gets a window to pop up, but it is from the first marker in the xml
file. Is there no easy way to tell it to look for the right infowindow
data, or am I still barking up the wrong tree?

And if that is the case (likely), can I just flaunt my ignorance here
a bit and confirm that what I would need to do with the method
described above is change every instance of "line" and "marker" in
both the html and xml files to "overlay" and all of the
"gpolylines[a]" to "overlays[i]" ?

thanks again for your help. I was looking at this:
http://www.google.com/url?sa=D&q=http://www.geocodezip.com/GenericMapBrowser.asp%3Ffilename%3DRiverWalk080702e.xml&usg=AFQjCNHRTE0nfLaFkllEzQ7OX0lI428dCQ

which seems to be more or less what I want to do, but the code is way
too complicated for me to figure out what does what... if someone
could point me to the relevant bits, that would be great

cheers,

Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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