map-locationGoogle Map

Google Map Setup & Get Generated Key :

circle-info

bullhorn NOTE : Before launching the app, ensure you have correctly set up the ADMIN LARAVEL and have added all necessary data through the admin panel.

circle-info

NOTE : Before enabling the Google Maps API or JavaScript API, ensure that you have an active billing account.

  1. Go to >Google Maps Platform and create a new project if needed.

  2. If a project exists, select it.

  3. In the top menu, click on + CREATE CREDENTIALS

  4. Select the API Key option.

  5. Copy the generated API Key

  6. Navigate to the AndroidManifest.xml file in your User App and Driver App under android -> app -> src -> main. Insert your key in this file.

  7. Open the App.tsx file in your User App and insert your Google Maps API key.

  8. Open the src/utils/context/index.tsx file in your Driver App and insert your Google Maps API key.

=> How to Retrieve and Configure the Search Location in the App

  1. First, navigate to the Google Cloud Console, select your project, and open APIs & Services.

  2. Alternatively, you can visit the Google API Library, choose your project, and select the Places and Route API.

  3. Enable the Geocoding API and Places APL ensure you have a billing account set up for 1.Places API 2.Maps SDK for Android 3.Maps SDK for IOS 4.Maps JavaScript API 5.Geocoding API 6.Distance Matrix API 7.Direction API\

  4. Enable the Geocoding API and Places APL ensure you have a billing account set up for Geocoding and Places.

  5. On the Settings page, locate and click on Firebase. Enter your Google Map API Key in the appropriate field and hit the Save button.

Last updated