{"id":798,"date":"2015-01-02T04:23:59","date_gmt":"2015-01-02T04:23:59","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=798"},"modified":"2025-06-20T08:44:42","modified_gmt":"2025-06-20T08:44:42","slug":"adding-google-map-to-an-address-in-salesforce","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/01\/02\/adding-google-map-to-an-address-in-salesforce\/","title":{"rendered":"Adding Google Map to an address in Salesforce"},"content":{"rendered":"<p style=\"text-align: justify;\">It is possible to add a google map to any Salesforce object. The map can be used to graphically display the address of a particular record.<\/p>\n<p style=\"text-align: justify;\">Let\u2019s say we want to display address in our custom object. Suppose our custom object has the fields Street, City, Zip, State, and Country. We will need to add a formula field to this custom object. The formula to be used is as follows \u2013<\/p>\n<p>IMAGE(&#8220;https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=&#8221; + Street + &#8220;,&#8221; + City + &#8220;,&#8221; + State + &#8220;,&#8221; + Country + &#8220;&amp;zoom=13&amp;size=600&#215;300&amp;markers=color:red|&#8221; + Street + &#8220;,&#8221; + City + &#8220;,&#8221; + State + &#8220;,&#8221; + Country + &#8220;&amp;sensor=false&#8221;<br \/>\n, &#8220;No map available&#8221;, 300, 600)<\/p>\n<p style=\"text-align: justify;\">The records will now display the map in the formula field as shown below \u2013<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/01\/Map.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-799\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/01\/Map.jpg\" alt=\"Map\" width=\"1003\" height=\"415\" \/><\/a><\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0has some unique solutions for Cloud CRM such as Salesforce integration with\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>),\u00a0Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100\u00a0<\/a>and\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n<p>For more information, please contact us at\u00a0<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n<p><strong><span style=\"font-size: Medium;\">Related Posts<\/span><\/strong><\/p>\n<ul>\n<li><a title=\"Delete all records from a Custom Object\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/12\/31\/delete-all-records-from-a-custom-object\/\" target=\"_blank\" rel=\"noopener\">Delete all records from a Custom Object<\/a><\/li>\n<li><a title=\"Get key prefix of an object using Apex\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/12\/31\/get-key-prefix-of-an-object-using-apex\/\" target=\"_blank\" rel=\"noopener\">Get key prefix of an object using Apex\u00a0<\/a><\/li>\n<li><a title=\"Delete apex class or trigger in Salesforce Production Org\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/11\/29\/delete-apex-class-or-trigger-in-salesforce-production-org\/\" target=\"_blank\" rel=\"noopener\">Delete apex class or trigger in Salesforce Production Org<\/a><\/li>\n<li><a title=\"Quick way to find out the release of Salesforce Instance\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/11\/29\/quick-way-to-find-out-the-release-of-salesforce-instance\/\" target=\"_blank\" rel=\"noopener\">Quick way to find out the release of Salesforce Instance<\/a><\/li>\n<li><a title=\"Quick way to find edition of Salesforce\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/11\/29\/quick-way-to-find-edition-of-salesforce\/\" target=\"_blank\" rel=\"noopener\">Quick way to find edition of Salesforce<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It is possible to add a google map to any Salesforce object. The map can be used to graphically display the address of a particular record. Let\u2019s say we want to display address in our custom object. Suppose our custom object has the fields Street, City, Zip, State, and Country. We will need to add\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/01\/02\/adding-google-map-to-an-address-in-salesforce\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[7,8,9,93,143,228],"class_list":["post-798","post","type-post","status-publish","format-standard","hentry","category-gumu-salesforce","tag-adding-google-map","tag-adding-google-map-to-address","tag-address","tag-display-address-in-custom-object","tag-google-map-to-salesforce-object","tag-map"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=798"}],"version-history":[{"count":3,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":10987,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/798\/revisions\/10987"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}