> function myclick(lat,long) {
>         var thisPoint = new GLatLng(lat,long);
>         thisMarker = new GMarker(thisPoint);
>         GEvent.trigger(thisMarker, "click");
>       }

um, don't think that's what you want ; it would create a brand-new
marker object, which isn't shown on the map, and then trigger a click
on it.   The new marker has no click handler so nothing happens ...

Finding out if a marker is present at a lat/long is do-able but not
easy.

Maybe you could keep an array of the markers as you create/plot them,
by some unique ref, and have a function that finds existing markers in
the array and triggers a click on it.   The unique ref could be the
lat/long I suppose.

cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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