Newer Version Available

This content describes an older version of this product. View Latest

Overview

Get your sales and service teams to spend more time building customer relationships and less time on the road when you fine-tune your Salesforce Maps implementation using Apex. For example, return estimated travel distances and times between locations, get geographical coordinates for addresses, and retrieve geometric data for areas and perimeters.

API Performance Considerations and Guidelines

If your processes rely heavily on the API, you can experience decreased performance and server errors.
If you receive server errors for... It’s best to...
(5xx) or throttling Retry your requests.

For better flow control, you can implement an exponential back-off algorithm. Such algorithms use progressively longer wait times between retries for consecutive error responses. Implement a maximum delay interval and a maximum number of retries.

You can base those maximums on performed operations and other local factors, such as throughput capacities or request throttling.

(4xx) Revise your requests to correct any problems before trying again.