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

Link for Google Maps S-Control

There used to be a place on that had an s-control to link Salesforce to Google Maps.  I have scoured, the appexchange and these forums to find the link to the code, but it's not anywhere to be found.  I came across a few links, but they were all dead ones.

Can someone post the official location of this s-control?  Salesforce, how about putting it on the AppExchange?

These links are taken from  Both would be a link on the contact page

Standard Map{!Contact_MailingAddress}%20{!Contact_MailingCity}%20{!Contact_MailingState}%20{!Contact_MailingPostalCode}

Directions from the user’s address to the contact’s address.{!User_Address}%20{!User_City}%20{!User_State}%20{!User_PostalCode}%20to%20{!Contact_MailingAddress}%20{!Contact_MailingCity}%20{!Contact_MailingState}%20{!Contact_MailingPostalCode}

Take a look at the Account Research component found on Appexchange.  Contains google maps and more...
Greg HGreg H

The information provided by wkuehler is good for using the web links on a contact/lead/account page but if you are looking for the actual scontrol to embed Google Maps in and plot leads, contacts or accounts then you may find the following links useful:

The functionality of Google Maps is dependant on a "key."  Basically, each domain must register with Google so that the maps will actually work on that specific domain's pages.  Since we are all using the same domain ( you will need that particular key.  The actual key is ABQIAAAAyvuDE3cInIp_bZEA9yRGHBSysZMVFY5q3dLQQnH0kAopxTb6fRQK2cICvO3Epxfuk3a1qXeWFEpOzQ and for the sake of being clear you will need to include the following line in the <HEAD> of any scontrol using Google Maps:


<script src="—file=api&amp;v=2&amp;key=ABQIAAAAyvuDE3cInIp_bZEA9yRGHBSysZMVFY5q3dLQQnH0kAopxTb6fRQK2cICvO3Epxfuk3a1qXeWFEpOzQ" type="text/javascript"></script>
Hope this helps,