Back to Parent

Some sample code
var map;
function initialize() {
  var mapOptions = {
    zoom: 8,
    center: new google.maps.LatLng(-34.397, 150.644)
  };
  map = new google.maps.Map(document.getElementById('map-canvas'),
      mapOptions);
}

google.maps.event.addDomListener(window, 'load', initialize);
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

-1