//Declaring some variables we will be using var gmap_search_state = false; var map; var markerArray = new Array(); var circleArray = new Array(); var xmlhttp; var targetDiv = "infotop"; var selected = false; var overNode; var markerSelected; var polygons_on_map_array = new Array(); //This function is called from index.php function initialize_map() { suggestMarkers(""); //We will only do this function if the browser is compatible if (GBrowserIsCompatible()) { //Adding the google map into the div called #mapcanvas map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new",}}); //Center the map on Leiden map.setCenter(new GLatLng(52.162687, 4.493294), 11); // Vars should go to config map.setUIToDefault(); //Go through the array 'markers' (Declared in index.php) and add a marker for each marker stored in the array using our addMarker function for (var i=0; i