// Build map using Google map API, and show location of The Manor House, All Stretton

//<![CDATA[
function load() {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
// Centre not on the house, but so that good view of South Hams is shown
		map.setCenter(new GLatLng(52.55565072127699, -2.797793447971344), 7);

// Create icon
		var baseIcon = new GIcon();
		baseIcon.image = "http://www.manorhouseallstretton.co.uk/images/mapicon.png";
		baseIcon.iconSize = new GSize(11, 11);
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.iconAnchor = new GPoint(5, 5);
		baseIcon.infoWindowAnchor = new GPoint(5, 2);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);
		markerOptions = { icon:baseIcon , title:'The Manor House, All Stretton' };	
	
// Set up marker with info windows 

		var point = new GLatLng(52.55565072127699, -2.797793447971344);
		var marker = new GMarker(point, markerOptions);
		map.addOverlay(marker);

	}
}
//]]>