Skip to content

Instantly share code, notes, and snippets.

@cdbkr
Created January 7, 2014 14:34
Show Gist options
  • Save cdbkr/8300157 to your computer and use it in GitHub Desktop.
Save cdbkr/8300157 to your computer and use it in GitHub Desktop.
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment