Comment on page
Google Maps API Keys
- 1.Geocoding API
- 3.Places API
- 4.Maps Elevation API
- 5.Maps Static API
- 6.GeoLocation API
- 7.Distance Matrix API
- You will have to set up the Google Billing account as well.
- From the Left menu, goto
API & Services > Credentialsand click on `Create Credentials`
- Create a Key named
HTTP Keyand under the website restrictions tab add your website URL like the following
If your website is
Make sure you add
at the end of the URL.
- Create another key named
IP Keyand under the IP Addresses section paste your website/server IP address.
Sometimes on a shared hosting environment, your website IP might not be enough to configure the IP restricted key. In these cases, you will be shown a popup message like:
Geocoding failed because `This IP, site or mobile application is not authorized to use this API Key. Request received from IP address *.*.*.* with empty referer.
The *.*.*.* is your server's IP address which needs to be set on the IP Restricted key. Go back to the Google Cloud Console and set this IP Address provided on the popup.
- Save all the changes and login to your Foodomaa's Admin Panel.
Admin > Settings > Google Mapsand paste your both keys here.
Google API's takes 5-10 minutes to reflect the changes on your website.