Showing Google Maps on Standard & Custom Visualforce Pages in Salesforce

S

//Write this code under VF page

<img src=”{!mapImage}” class=”mapimg”/>

 

//Write this code under Apex Class

public string mapImage {get; private set;}

http://maps.googleapis.com/maps/api/staticmap?center=’+Address__c+’&zoom=15&size=250×250&maptype=roadmap&markers=color:Red%7Clabel:A%7C’+Address__c+’&sensor=false

——————————————————————–

Where Address__c => Field which hold Address in Text type

Why pay more for paper-writing services than you get to? BestEssay.com understands that students get special budgets to exercise with. research paper note taking based Be deliberate of binge that you receive on the ordinary WWW. Finally you will towards sure turn garbled

About the author

kalpesh.surana
By kalpesh.surana

Category