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
nikita dhamalnikita dhamal 

Get nearby accounts to the current location of user

I want to show the accounts that arein particular radius of the   current location specified by latitudes and longitudes on a visualforce page.Can anyone help me with code for the same??


Ravi Dutt SharmaRavi Dutt Sharma
Hi Nikita,

You can use Google API to get nearby accounts. This will be a webservice call which will give you the nearby accounts. I have built something similar on these lines. Have a look at my blog to get better idea. Thanks.