On Nov 18, 4:46 pm, Wired <[EMAIL PROTECTED]> wrote:
> I am trying to open the markerTitle on a point using the
> GEvent.trigger. The click event works manually but does not fire on
> the page load.

You can't trigger an event on zero:
GEvent.trigger(0, "click");

You need to add your marker into an array (presumably you're using
index so that you can have more than one). Make an array of markers
 var markers = [];
Then in your createMarker function, add the created marker to the
array so that you can keep track of it, before returning the marker to
the calling routine:
  markers[index]=marker;
Then you can trigger the event on a marker you know about:
  GEvent.trigger(markers[0],"click")

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]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to