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
chiranjib routchiranjib rout 

suggestion for capturing geolocation from google of any user

hii everyone, please suggest me how to capture client location from google  using java script and bootstrap.my requirement is  in a visual page i have  two fields longitude and lattitude, under longitutde and lattitue there is one button get location. whenever i press the get location botton the longitude and lattitude automatic capture the client location from google.
sandeep madhavsandeep madhav
Hi,
Hope this helps,

You need to use html5 for this. Please follow the below link explains clearly.
https://developer.salesforce.com/blogs/developer-relations/2010/07/html-5-geolocation-in-visualforce.html

Mark this as the best answer if its helpful.