The marker field will be generated by some PHP script. How can I use
GEvent.addListener to create an according list that lets the markers
pop up when clicked?

var markers = [
<?php
  foreach ($Array as $marker) {
        print "[{$marker['latitude']}, {$marker['longitude']}, " .
            "'" . addslashes($marker['info']) . "'],\n";
    });
  }
?>
];

-- 
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.

Reply via email to