Skip to content

rjshade/gmaps-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Geocoding and autocomplete with Google Maps and jQuery UI

A simple demo showing how to use the jQuery UI autocomplete widget in conjunction with Google Maps geocoding service.

See it in action here: rjshade.com/projects/gmaps-autocomplete/

Some more explanation here: rjshade.com/2012/03/27/Google-Maps-autocomplete-with-jQuery-UI

Use with Rails form helpers

I've had success using this with the SimpleForm gem:

= simple_form_for(@post) do |f|
    = f.input :address, :input_html =>{:id => 'gmaps-input-address'}, :placeholder => 'Start typing a place name...'

Get up and running

Clone this repository and open demo.html in your browser.

About

A simple demo of using jQuery UI autocomplete in conjunction with Google Maps geocoding API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published