Marcelo,
I have tried it on the link 
www.sacred-egypt.com/ancient_egypt/cities/menu2.html,
but cant figure out how to really set it up. Please have a quick
look :-) thanks again.

On Sep 4, 3:17 pm, marcelo <[EMAIL PROTECTED]> wrote:
> You need to keep references to all the markers in an array in the
> global scope, and then use those references to trigger the click
> event.
>
> 1. Create an array that is global, defined outside of the function
> initialize()
>
> var myMarkers = Array();
>     function initialize() {
>       if (GBrowserIsCompatible()) {
> ...
>
> 2. add each marker to that array and keep track of the index number.
>
> var marker = createMarker( ...
> myMarkers.push(marker)
>
> 3. Then create your html links like this:
> <a href="#" onclick="function()
> {GEvent.trigger(myMarkers[3],'click');return false;}">Link to marker
> 3</a>
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
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