One option is to write API code to build markers and also build an
infowindow for each marker.
Listen for a click on the marker and then display the corresponding
infowindow.
If all the data is already in one or more MyMaps, perhaps another
option is to just write API code to display the MyMaps.
Here's a snip:
masu.get_file = "http://maps.google.com/maps/ms?
ie=UTF8&hl=en&msa=0&msid=115989131533649953418.000450ae1d028a9db23ad&output=kml";
masu.kml = new google.maps.KmlLayer(masu.get_file,
{preserveViewport:false});
// Next line adds the KML to the map.
masu.kml.setMap(masu.map);
In prior threads I described making a small KML file with a 'network
link' that points to the KML file. I now realize that is not
necessary.
Instead, I am now using the above code.
--
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.