Skip to content

Instantly share code, notes, and snippets.

@tgk
Created December 4, 2011 09:25
Show Gist options
  • Save tgk/1429712 to your computer and use it in GitHub Desktop.
Save tgk/1429712 to your computer and use it in GitHub Desktop.
map = new google.maps.Map $("#map-canvas")[0],
zoom: 1
mapTypeId: google.maps.MapTypeId.ROADMAP
map.setCenter new google.maps.LatLng(0, 0)
new google.maps.Marker
position: new google.maps.LatLng 12, 56
map: map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment