0

Latitude_c and Longitude_c are 2 fields when i want to use google maps in my salesforce account. What data type do i need to use for two of them. Can any one help me to integrate with salesforce to google maps.

1
7

You can use a Geolocation field. It is a compound field that consists of a Longitude and Latitude.

For example, if you create a custom Geolocation field called Location__c you will automatically be able to access the Longitude and Latitude in your code as follows:

Location__Longitude__s and Location__Latitude__s.

You can look at the Geolocation Field Overview for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.