Skip to content

Instantly share code, notes, and snippets.

@richleland
Created May 18, 2011 11:09
Show Gist options
  • Save richleland/978379 to your computer and use it in GitHub Desktop.
Save richleland/978379 to your computer and use it in GitHub Desktop.
// listen for a place to be selected via autocomplete
google.maps.event.addListener(autocomplete, 'place_changed', function(){
var place = autocomplete.getPlace();
console.log(place);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment