An advanced jQuery plugin that wraps the Google Maps API's Geocoding and Places Autocomplete services. You simply provide an input that lets you search for locations with a nice autocomplete dropdown. Optionally add a container to show an interactive map and a form that will be populated with the address details.
View the annotated source.
To convert an input into an autocomplete field, simply call the Geocomplete plugin:
; // Option 1: Call on element.$fn; // Option 2: Pass element as argument.
Here is a list of basic uses:
Make sure you include the Google Maps API with the Places Library before loading this plugin as described here.