Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <script src="../../maps.googleapis.com/maps/api/jskeyaizasydy0kkjitpvd2u7atoawhc9ysh6ohxoiymsensorfalse"> </script> <script> var myCenter=new google.maps.LatLng(51.508742,-0.120850); var marker; function initialize() { var mapProp = { center:myCenter, zoom:5, mapTypeId:google.maps.MapTypeId.ROADMAP }; var map=new google.maps.Map(document.getElementById("googleMap"),mapProp); marker=new google.maps.Marker({ position:myCenter, animation:google.maps.Animation.BOUNCE }); marker.setMap(map); } google.maps.event.addDomListener(window, 'load', initialize); </script> </head> <body> <div id="googleMap" style="width:500px;height:380px;"></div> </body> </html>
Result:
W3Schools.com - Try it yourself