/** 
 * Given an array of Marker objects, we need to display them on a world (google) map.
 * 
 * @author Momchil Kyurkchiev
 * @date March, 2007
 */
function displayGoogleMap(gmap, markers) {  
  gmap.addControl(new GLargeMapControl());
  gmap.addControl(new GMapTypeControl());
  gmap.setCenter(new GLatLng(0,0),0);               

  // Set the zoom level of the map based on the bounds of all points. 
  gmap.setZoom(gmap.getBoundsZoomLevel(bounds));

  // Set the center of the map based on the bounds of all points. 
  setMapCenterViaBounds(gmap);  

  placeMarkersOnMap(gmap, markers);        
}
