Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.68 KB

File metadata and controls

49 lines (32 loc) · 1.68 KB

Creating Google MAps Api Key

We have used google maps api for displaying maps, calculating distance, markers ..etc. so we need to create google maps api key & update required files before starting remaining setup.

Create new project

create-new-project

Create API key

create-api-key

Once you created API key, you need to update with following files

  • Driver/src/index.html
  • Rider/src/index.html

Enabling required services

  • Navigate to library & choose google maps (view all)
  • enable all Required API's
    • Direction
    • Distance Matrix
    • Geocoding
    • Geolocation
    • Maps Embed
    • Maps JavaScript
    • Maps Places (aka Places API)

enable-map-api

Important Update: Google Maps free API allows only one request / min. So must verfiy your credit card with Google Billing (https://console.developers.google.com/billing/) to avoid these errors.

Please visit for more info: https://cloud.google.com/maps-platform/pricing/

What you did ?

  • Created Google Project
  • Created API key
  • Enabled all required services
  • Added Google Billing (optional)
  • Updated API key on driver & rider files