Think. Build. Salesforce Solutions.

Salesforce Consulting Services across Salesforce Clouds & Across App Lifecycles

Blog

Google Maps Integration with Salesforce

By |2020-07-16T05:21:30+00:00May 11th, 2015|

In this blog, I will be explaining how to integrate Google Maps into account detail page with the help of the Visualforce page.

A Step by Step Guide to Integrate Google Maps in Salesforce.

In the example below, with the help of Google map API, we can add Google maps in the account detail page.

To achieve this follow simple steps as below:

Step 1: Create a VisualForce page with the following code:

VisualForcePage

salesforce google map

salesforce google map

google maps in salesforce

Step 2: Now go to the account page layout and add Google map Visualforce to account page layout as shown below:

salesforce google maps integration

Desired Output

salesforce google maps integration

Please feel free to reach out to me if you have any questions on this blog or on salesforce.com customization or force.com development. Also, let me know if you need the code above used in pics.

2 Comments

  1. Anshu February 15, 2022 at 7:23 am - Reply

    Hi, could you please your post the code? It would be very helpful.

  2. Chaitra August 18, 2022 at 6:50 pm - Reply

    Hi Rajeev,
    I would like to know if the way to integrate google maps into Salesforce is still the same or modified. I am working on a POC where I need to display a search results in map in Salesforce digital experience site. Can you please let me know how to do it? Does the above code work in this scenario?

    Thank you.
    Chaitra

Leave A Comment