Retrieve the geographical coordinates of an address.
The Geocode() Apex method accepts a single address and provides the geographic coordinates along with the formatted address. If you need to obtain the geographical coordinates for multiple addresses, you should employ the BatchGeocode() Apex method. Function Signature Where, Example Code This code fetches the geographic coordinates of the Salesforce headquarters. The output also provides …
Retrieve the geographical coordinates of an address. Read More »