Each map can have its own infoWindow. You need to use different variable
names for the two maps, e.g.
var map1 = new GMap(document.getElementById("crestline"));
var map2 = new GMap(document.getElementById("redlands"));
Then either do the same thing for your two markers, or use Function
Closure, to distinguish the references to the two markers.
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---