Zoom 14
var myCenter=new google.maps.LatLng(52.200143,4.657954);
function initialize() { var mapProp = { center:myCenter, zoom:14, panControl:true, zoomControl:true, mapTypeControl:true, scaleControl:true, streetViewControl:true, overviewMapControl:true, rotateControl:true, mapTypeId:google.maps.MapTypeId.ROADMAP };
var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
//Vaargeul var vaargeul0=new google.maps.LatLng(52.207783,4.648467); var vaargeul1=new google.maps.LatLng(52.202227,4.649582); var vaargeul2=new google.maps.LatLng(52.187593,4.637994);
var myVaargeul=[vaargeul0,vaargeul1,vaargeul2]; var flightPathVaargeul=new google.maps.Polyline({ path:myVaargeul, strokeColor:"red", strokeOpacity:0.5, strokeWeight:1 });
//Clubhuis var club1=new google.maps.LatLng(52.194583,4.641372); var club2=new google.maps.LatLng(52.194583,4.641372); var myClub=[club1,club2]; var flightPathClub=new google.maps.Polyline({ path:myClub, strokeColor:"red", strokeOpacity:1.0, strokeWeight:10 });
//Baan var medemblik1=new google.maps.LatLng(52.200143,4.657954); var myCourseArea1 = new google.maps.Circle({ center:medemblik1, radius:600, strokeColor:"green", strokeOpacity:1.0, strokeWeight:1, fillColor:"green", fillOpacity:0.1 });
//Cirkels var myCourseAreaCirkel1 = new google.maps.Circle({ center:new google.maps.LatLng(52.947915,5.588610), radius:200, strokeColor:"grey", strokeOpacity:0.8, strokeWeight:1, fillColor:"grey", fillOpacity:0.0 });
var myCourseAreaCirkel2 = new google.maps.Circle({ center:new google.maps.LatLng(52.947915,5.588610), radius:400, strokeColor:"grey", strokeOpacity:0.8, strokeWeight:1, fillColor:"grey", fillOpacity:0.0 });
var myCourseAreaCirkel3 = new google.maps.Circle({ center:new google.maps.LatLng(52.947915,5.588610), radius:600, strokeColor:"grey", strokeOpacity:0.8, strokeWeight:1, fillColor:"grey", fillOpacity:0.0 });
myCourseArea1.setMap(map); myCourseAreaCirkel1.setMap(map); myCourseAreaCirkel2.setMap(map); myCourseAreaCirkel3.setMap(map); flightPathClub.setMap(map); flightPathVaargeul.setMap(map);
}
google.maps.event.addDomListener(window, 'load', initialize);