On Jun 7, 3:05 pm, gray37 <[email protected]> wrote:
> 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?

I used Firebug: I waited for the page to load completely and then
entered that into the Console tab.

Your indenting is a bit haphazard, which makes it **incredibly**
difficult to work out what is nested inside what. And it also appears
that there are two requests, one to campus.xml, which does exist and
sets up the sidebar and markers; and one to example.xml, which doesn't
exist. That's inside the function initialize(). I'd recommend removing
what you don't actually use.

In function addMarkersToMap(), at the end of the GDownloadUrl
callback, trigger the click on the marker you want. You will need to
parse for "?menu=" though if you want to specify a marker that way.

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

Reply via email to