Skip to content

Instantly share code, notes, and snippets.

@seamusjr
Created April 2, 2011 20:25
Show Gist options
  • Save seamusjr/899847 to your computer and use it in GitHub Desktop.
Save seamusjr/899847 to your computer and use it in GitHub Desktop.
return latLng on click
google.maps.event.addListener(map, 'click', function(event) {
console.log(event.latLng);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment