Geolocation works only for multivendor site and quick order or order now app
Enable location filter in Wordpress > Mobile Options > Geo Locations
Add google map API key in app > src index.html replace YOUR_API_KEY with your google map API key.
<script src=""></script>
Enable Geolocation API and Geocoding API for your google map API key
1) Login to your google cloud console -
2) Search for Geolocation API
3) Click on Geolocation API and enable it
4) Search for Geocoding API
5) Click on Geocoding API and enable it
6) Search for Places API
7) Click on Places API and enable it