
var map;
var bounds;
var northEast;
var southWest;
var pins = new Array();
var markers = new Array();

function initMap() {

	map = new GMap2(document.getElementById("map_canvas"));
	
	map.setCenter(new GLatLng(51.4972472, 3.8193733), 14);
	map.setMapType(G_NORMAL_MAP);
	map.setUIToDefault();
 
/* 
 * G_NORMAL_MAP displays the default road map view.
 * G_SATELLITE_MAP displays Google Earth satellite images. *
 * G_HYBRID_MAP displays a mixture of normal and satellite views.*
 * G_DEFAULT_MAP_TYPES contains an array of the above three types, useful for iterative processing.
 * G_PHYSICAL_MAP displays a physical map based on terrain information. 
 */

	bounds = map.getBounds();
	northEast = bounds.getNorthEast();
	southWest = bounds.getSouthWest();
	
	var point = new GLatLng(51.4972472, 3.8193733);
	map.addOverlay(new GMarker(point));
}

$(document).ready(function() {
	initMap();
});
$(document).unload(GUnload());
