View Categories

How to add API for Google Maps in eCab

2 min read

To integrate Google Maps into your eCab Taxi Booking Manager plugin, you’ll need to obtain and configure a Google Maps API key. Here’s a step-by-step guide:​

  1. Access the Google Cloud Platform Console:
  2. Create or Select a Project:
    • Click on the project selector at the top of the page and choose an existing project or click “New Project” to create a new one.​

  • In the sidebar, go to APIs & Services > Library.​
  • Search for and enable the following APIs:​
    • Maps JavaScript API
    • Geocoding API
    • Places API
    • Directions API

If your Google Maps Directions API and Places API aren’t working, they may not be enabled in your Google Cloud Console.

Without enabling Direction API you won’t be able to get accurate direction calculations.

The same goes for the Places API also, if you don’t enable it, you won’t get any accuracy on destination data.

Also, these Settings have been discontinued, so you need to visit the links to enable them.

You can enable them using the links below:

Places API: Enable Places API

Directions API: Enable the Directions API

Additionally, ensure the following:

✅ Your Google Cloud billing is set up and active.
✅ You have correctly added the API key to your application.
✅ The API key has the necessary permissions and is not restricted incorrectly.

  • Generate an API Key:
    • Navigate to APIs & Services > Credentials.​
    • Click on Create Credentials and select the API key.​
    • Copy the generated API key.

Also, you can check the official video of Google Maps API key generation.

  • Integrate the API Key into eCab Plugin:
  • eCab Google maps API
    • Log in to your WordPress admin dashboard.​
    • Navigate to Transportation > Transportation Settings > Map API Settings.
    • Paste your API key into the designated field and save the changes.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping Cart