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
pratap narwalpratap narwal 

Retrieving a User's Current Location from a GPS-enabled Phone

Hi All,
I have a current reuirement to Retrieving a User's Current Location from a GPS-enabled Phone. I tried searching but could not find exact solution.

is it possible with salesforce1 without using any paid App?

Please Advice.

Thanks in Advance 
KaranrajKaranraj
You can use the HTML5 geo location API in visualforce page to get the current user position and you can use the visualforce page in the Salesforce1 app. Check this blog post for sample https://developer.salesforce.com/blogs/developer-relations/2010/07/html-5-geolocation-in-visualforce.html
pratap narwalpratap narwal
Hi Karanraj,

its not showing the exact location.