function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

integration with google maps

Hello,

I have a adress on the custom object.
I want to show a link to user, this link will contain the adress of the record.
once the link is clicked it will directly point to the adrsseon google map

how can we implement it ?
 
Best Answer chosen by Ab
Raj VakatiRaj Vakati
Refer to this link also 

https://help.salesforce.com/articleView?id=customize_maps.htm&type=5

To generate a map image, an address must include the street and city fields and either the state, postal code, or the country. If an address field is missing any of the required information, a map won’t display on the detail page of a record.
The map image on the address is static, but clicking the map image opens Google Maps in a new browser tab on the desktop, and opens a map app on a mobile device.
If your organization has Salesforce offline access enabled, a map doesn’t display when a user’s device is offline.
To enable your organization’s map and location services:
  1. From Setup, enter Maps in the Quick Find box, select Maps and Location Settings, then click Edit.
  2. Check Enable Maps and Location Services.
  3. Click Save.

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

Refer below salesforce help article which has the steps for the same.

https://help.salesforce.com/articleView?id=000270354&language=en_US&type=1
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya
 
Raj VakatiRaj Vakati
Refer to this link also 

https://help.salesforce.com/articleView?id=customize_maps.htm&type=5

To generate a map image, an address must include the street and city fields and either the state, postal code, or the country. If an address field is missing any of the required information, a map won’t display on the detail page of a record.
The map image on the address is static, but clicking the map image opens Google Maps in a new browser tab on the desktop, and opens a map app on a mobile device.
If your organization has Salesforce offline access enabled, a map doesn’t display when a user’s device is offline.
To enable your organization’s map and location services:
  1. From Setup, enter Maps in the Quick Find box, select Maps and Location Settings, then click Edit.
  2. Check Enable Maps and Location Services.
  3. Click Save.
This was selected as the best answer