This article will explain how Autocomplete and Location Search works in Directory box Theme.
1- Firstly, make sure you have added google maps api keys on your site. Please visit your Dashboard and add google API key at following location;
Dashboard / WP DB / settings / Api settings
May try this API key: AIzaSyCpluMF–WqauCdpcrmYy94-RfC17QmPAs
OR
Generate and get new Google API key from here: https://developers.google.com/maps/documentation/javascript/get-api-key
2- Now, navigate to Location settings and turn ON “Auto Complete” if you want to use google suggestion and turn it off if you want to display only added locations of your site on location search box in frontend