Setup of Google Maps API
Setting up Google Maps API is necessary for a Multi-vendor hyper-local delivery business because it allows you to integrate Google Maps into your platform, which enables accurate tracking of orders and delivery personnel.
It also helps in optimizing delivery routes and providing real-time delivery updates to customers. Additionally, it enables location-based services and helps in the accurate geotagging of delivery addresses, making it easier for delivery personnel to locate and deliver orders.
Follow the steps mentioned below :
Go to https://console.cloud.google.com and login with your Google Account or create an account.
- Create a Project on Google Cloud Console.
- Enable the following APIs on your project:
1. Geocoding API
2. Maps Javascript 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 a Google Billing account as well.
- From the Left menu, go to API & Services & Credentials and click on “Create Credentials”
- Create a Key named HTTP Key and under the website restrictions tab add your website URL like the following:
If your website is my-domain.com add these:
https://my-domain.com/* and
https://www.my-domain.com/*
Make sure you add asterisk (*) at the end of the URL.
- Create another key named IP Key and under the IP Addresses section paste your website/server IP address.
- Use 43.205.169.219 , in the value field of IP address.
- Save all the changes and login to your Foodomaa’s Admin Panel.
- Go to Admin > Settings > Google Maps and paste your both keys here.
Google API takes 5-10 minutes to reflect the changes on your website.
Important Links
1 . https://console.cloud.googIe.com
2. https://cloud.googIe.com/maps-platform
3. https://www.ipvoid.com/find-website-ip