Skip to content
Home » Google Maps

Google Maps

Google Maps Integration

Visualize mileage. Optimize routes.
FTM’s Google Maps integration helps you see pickup and delivery locations and calculate mileage automatically—directly within your Load records. It enhances load planning by providing distance-based insights for rate negotiation and ETA tracking.

Benefits of the Integration

  • Auto-calculates distance between Pickup and Delivery addresses
  • Uses Google Distance Matrix and Maps API
  • Displays the route map in the Load object
  • Enhances transparency in rate quotes and transit planning

Prerequisites

Before you begin, you’ll need:

  • A Google account with billing enabled
  • Google Maps API Key
  • Maps JavaScript API enabled
  • Distance Matrix API enabled
  • Admin access to Salesforce setup

Getting Your Google Maps API Key

  1. Go to https://console.cloud.google.com
  2. Create or select a project
  3. Enable:
    • Maps JavaScript API
    • Distance Matrix API
  4. Go to APIs & Services > Credentials
  1. Create an API Key

6. Copy the key and send it to FTM for implementation

Implementation in Salesforce

Once you have your API key:

  1. Open Salesforce Setup
  2. Navigate to Custom Settings > Google Maps Settings
  3. Paste the API Key into the field labeled GoogleMaps_API_Key
  4. Save

Displaying the Map in the Load Object

The map view is embedded on the Load object layout.

  • Shows route between Pickup and Delivery
  • Distance is auto-calculated using the Google Distance Matrix API
  • Update triggers when addresses are changed

Testing and Troubleshooting

  • If the map doesn’t load, check if:
    • API key is active and correct
    • APIs are enabled
    • Billing is configured in Google Cloud
  • If distance doesn’t show, confirm that:
    • Both Pickup and Delivery addresses are filled
    • API key is unrestricted or domain-restricted correctly

Final Notes

  • API keys may expire or be rotated
  • Google usage is billable; monitor API usage in Google Console
  • Always test in sandbox before applying to production

Need Help?

If you need assistance setting up the API or troubleshooting integration, contact 📩 [email protected]

Leave a Reply

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


Let's Talk!

Thanks for stopping by! We're here to help, please don't hesitate to reach out.

Watch a Demo