Snippet Library

Autocomplete for location search – Work in Progress

Requirements:

  • Custom Google Maps API key (https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/)
  • Enable the Places API in Google Cloud Console (https://console.cloud.google.com/apis/dashboard)
  • Setting up API key restrictions is recommended! (https://theeventscalendar.com/knowledgebase/using-google-maps-api-key-restrictions/)
  • The Places API restriction should be added to the JavaScript map displays restrictions.

IMPORTANT: Using the Google Maps API and the Places API can incur costs!!!