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
ErveErve 

Plotting Accounts on Google Maps on click of button

We have 2 Record Types of Account :Customer and Vendor.

What we need is From a Customer Account, having a button, once clicked will show Vendors in Google Map that are within 75miles radius of the Customers.

The end user must be able to increase/decrease the distances if there are no suitable vendors within that 75miles radius.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Erve,

Can you try checking the below link which seems to have a similar implementation:

>>https://salesforce.stackexchange.com/questions/93237/google-map-in-visualforce-page/93244

Regards,
Anutej
ErveErve
Hi Anutej ,

Thanks for your response .

I have already tried this solution but it was not working.

Also, it would be great if I can have some Lightning Component solution for this .

KR,
Erve
ANUTEJANUTEJ (Salesforce Developers) 
Can you try checking https://rajvakati.com/2018/09/26/creating-google-maps-with-lightningmap-component/ as this seems to be an implementation in lightning component.