Skip to content

Instantly share code, notes, and snippets.

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