var mapElement = document.getElementById("map"); // Create the Google Map
using our element and options defined above var map = new
google.maps.Map(mapElement, mapOptions); // Let's also add a marker while
we're at it var marker = new google.maps.Marker({ position: new
google.maps.LatLng(40.74061, -73.935242), map: map, title: "Snazzy!", }); }