Snippet Library

Autocomplete for location search – Work in Progress


  • Custom Google Maps API key (
  • Enable the Places API in Google Cloud Console (
  • Setting up API key restrictions is recommended! (
  • 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!!!