Configuring Google Maps API
Pega Field Service uses the Google Maps API to create locations, present map information, calculate drive time, and enable route optimization of daily and weekly trip schedules.
When you receive your key, follow these steps to configure and use Google Maps:
Log in by using an administrator account. Dev Studio opens.
Click
.In the navigation pane, click Settings.
To update or add the Google API key, in the Google Maps API field enter the license key values that you received.
The following table lists the APIs that are used in the Pega Field Service application.
Google API Portal Usage API Documentation Connect REST URL Geocoding API Admin and Dispatcher Captures the latitude and longitude values for a given address. For example, the latitude and longitude of a customer location and a field worker’s address in the Admin portal. Geocoding API Documentation Geocode API Time Zone API Admin Captures the time zone for a given address. For example, the time zone of a customer location and a field worker’s address. Timezone API Documentation Timezone API Distance Matrix API Dispatcher and Interaction portal Captures the distance and drive time for two or more locations. Distance Matrix API Documentation Distance Matrix API Maps JavaScript API Dispatcher portal Displays custom maps. Maps JavaScript API Documentation JavaScript API Directions API Dispatcher portal Calculates optimized and unoptimized trip routes, captures directions between multiple locations, and renders the route directions on the custom map for a given set of locations. Directions API Documentation JavaScript API
Previous topic Enabling the Pega Field Service job schedulers Next topic Reports