Google Maps

Configure Google Maps in CCRS

Overview

The end user can select the complaint location using Google Maps integrated within the system. We can enable Google Maps geo-location, which captures the exact coordinates of the selected location and helps accurately identify the place on the map.

Steps

1

Configure Google API keys

Configure the Google API keys in -

  • The Secrets file (env-secrets.yaml)

  • The globalConfigsPGR.js file (referenced in env.yaml)

Ensure these files are updated correctly as part of the deployment process.

API Key Requirement

A valid Google API Key is required to enable this functionality. This is a paid service, and the client must purchase the necessary APIs listed below.

Get Google Maps API Key

Billing Note: The first $200 of usage per month is free. Charges apply once usage exceeds the free tier.

2

Enable APIs

Required APIs

Enable the following APIs:

  1. Maps JavaScript API (Web Client) Enables rendering of maps and location interaction in the browser.

  2. Geolocation API Returns the location and accuracy radius of a device using Wi-Fi or cell towers.

  3. Places API for Web (Web Server) Converts a phone number, address, or name into a place, and returns details like name and address.

Last updated

Was this helpful?