Thanks for your input Andrew, though I'm afraid I don't follow. How did you get the info window to appear? Do I need to enter GEvent.trigger(gmarkers[2],"click"); somewhere into the code of the page to execute the open info window action, so that one someone clicks an external link to 'GordonSquare' everything loads in correctly?
On Jun 7, 2:50 pm, Andrew Leach <[email protected]> wrote: > On Jun 7, 2:30 pm, gray37 <[email protected]> wrote: > > > Thanks for the input. I have worked on the code a bit more, but I am > > still not getting any info windows popping up when I do direct url > > links. I have tried testing the following page, but although there > > aren't any error messages, I don't seem to be getting any other > > results either. Could someone please let me know where I am going > > wrong? > > One thing is your url is providing "?menu=GordonSquare" but your code > doesn't parse for "menu". I tried "?marker=2" instead, since Gordon > Square in marker 2, and got "Marker 2 does not exist". That's because > you try and click marker 2 before the XML has completed loading. If I > wait for the XML to load and then execute > GEvent.trigger(gmarkers[2],"click"); > I get an infoWindow with a movie in it. > > You need to ensure that you only try and do the action once the XML > has completed, not when the page has loaded. -- 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.
