you can trigger a click on the marker like this:
<a href="javascript:google.maps.event.trigger(marker1,
'click');">Mary</a>
for this to work, marker1 will have to be a global object.
You could declare the markers before the initialize() function, and
then allocate them without using "var"
var marker1;
var marker2;
function initialize() {
...
...
marker1 = new google.maps.Marker(...
...
...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.