function initialize() { var myLatlng = new google.maps.LatLng(51.96503380,4.57026050); var myOptions = { zoom: 14, center: myLatlng, mapTypeControl: false, mapTypeId: google.maps.MapTypeId.ROADMAP } var image = '/assets/images/marker_xl.png'; var map = new google.maps.Map(document.getElementById("canvas"), myOptions); var marker = new google.maps.Marker({ position: myLatlng, map: map, icon: image, title:"Frensch Tweewielers" }); } google.maps.event.addDomListener(window, 'load', initialize);