Javascript/Google Maps Autocomplete

Have you tried adding your maps api key following this section of the docs?

Anvil Docs | Maps