// When the window has finished loading create our google map below
google.maps.event.addDomListener(window, 'load', init);
// Basic options for a simple Google Map
// For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
// How zoomed in you want the map to start at (always required)
// The latitude and longitude to center the map (always required)
center: new google.maps.LatLng(40.6700, -73.9400), // New York
// Get the HTML DOM element that will contain your map
// We are using a div with id="map" seen below in the
var mapElement = document.getElementById('myMap');
// Create the Google Map using out element and options defined above
map = new google.maps.Map(mapElement, mapOptions);