I think the README should be updated to be crystal clear with what is happening.
It too me a bit of time to get it up and running after digging through issues.
{{place-autocomplete-field
...
}}
For more types look under: https://developers.google.com/places/web-service/supported_types
ENV['place-autocomplete'] = {
exclude: true, // true means library wont include the maps script | false means it will
key: 'AIZ...', // Your API Key from the google console
client: 'gme-myclientid', // Client ID if necessary
version: 3.27, // Optional - if client is set version must be above 3.24
language: 'en', // Optional - be default will be based on your browser language
region: 'GB' // Optional
};
You can get an API key from here: https://developers.google.com/places/web-service/autocomplete
Also, thank you for making this. Honestly, it saved me a tonne of time. :)