Force.com Labs released a great app for Salesforce to embed Google Maps, called GoogleMapsInternational. Since it was released, Google Maps has updated its API to version 3. This repo contains the code you need to update Salesforce to match it.
Here are the instructions:
- Install GoogleMapsInternational from the link above.
- Replace
GoogleMapsInternational.component
with the file in this repository. - Find and download the Static Resource called GoogleMapsInternational within Salesforce. Open it up, replace
googleMapsInternational.js
with the file in this repository, and reupload it. - In Salesforce, go to Setup > Create > Custom Labels. Find the label named
GMI_googleMapURL
and change its value tohttps://maps.google.com
. - That's it!