both results.js and imap.js have identical code to load google maps
and initialize the map.
This code is only needed once:
>> google.load("maps", "2", {"other_params":"sensor=true"});
>> var map;
>> function initialize(){
>> window.map = new google.maps.Map2(document.getElementById("map"));
>> map.addControl(new GSmallMapControl());
>> }
>> google.setOnLoadCallback(initialize);
--
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.