There are two important files:
- The
flats/new
view using thesimple_form
gem and the requirement of the Google Place API javascript file. - The
google_maps_autocomplete.js
files initializing the form to autocomplete.
The key set in the second file can be used in the following referrer:
Two APIs have been used for this Rails project (turned on in the Google Developer Console):
- Google Places API Web Service
- Google Maps Geocoding API