Fork me on GitHub

Typeahead address picker

This is a quick full rewrite of my jquery address picker plugin, using typeahead autocomplete from twitter and new google maps API: PlacesService and AutocompleteService

Response

          

Explanations

The latest version of typeahead uses a class Bloodhound as autocomplete data source. I just created my own class, derivated from Bloodhound to get suggestions from google map AutocompleteService.
And I use PlacesService to retreive lat/lng or bounds of the suggested address. The code is pretty straight forward