Read the post I made a little more carefully..... are you listening for a
"parsed" event in your
code? the one I said GeoXml fires after it finishes creating that array of
elements?



On Mon, Dec 14, 2009 at 7:29 PM, Lance Dyas <[email protected]> wrote:

> You want to trigger a click on a marker when the maps finished parsing...
> Add an event listener .. GeoXml throws a "parsed" event, in your listener
> function
> trigger the marker "click"
>
>
> On Mon, Dec 14, 2009 at 7:02 PM, tanos_8888888888 <
> [email protected]> wrote:
>
>> Thanks, but I have that part fine, and the variable pass, its
>> just that when I want to execute this at the of my code to
>> load the map, the map is not yet loaded actually the markers
>> array not yet filled to be able to run an GEvent.trigger on.
>>
>> Any thoughts?  My map takes anywhere from 1 sec to 10 or
>> so depending on bandwidth.
>>
>>
>>
>> On Dec 14, 1:49 pm, Andrew Leach <[email protected]>
>> wrote:
>> > On Dec 14, 9:22 pm, tanos_8888888888 <[email protected]>
>> > wrote:
>> >
>> >
>> >
>> > > I have the IsBroswer compatible that does everything... then when the
>> > > map is loaded
>> > > I need to run some javascript...
>> >
>> > To open the infoWindow that you referenced in the link? Put that code
>> > at the bottom of the script, perhaps something like
>> > GEvent.trigger(eval("marker"+n),"click")
>> > where you pass n=1 and want to open a marker called marker1. It's
>> > easier with arrays of markers:
>> > GEvent.trigger(gmarkers[n],"click")
>> >
>> > If you would like to ask if someone would tell you exactly what to
>> > put, you'll need to give a link to the map you want to activate in
>> > this way.
>> >
>> > Andrew
>>
>> --
>>
>> 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]<google-maps-api%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-api?hl=en.
>>
>>
>>
>

--

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