You need to sign in to do that
Don't have an account?
Force.com
Get Lat/Lon using salesforce standard javascript library
Hi,
http://na7.salesforce.com/mobileclient/api/mobileforce.js
With the help of the above javascript library, I was getting the latitudes and longitides of the mobile device (iPhone). However, the values of lat/lon which the app is pulling is something like this:
14.94669000000000, -88.239319000000000.
I need to get better accuracy into the red zeros. Is it possible to capture more than 6 decimal points ?
Thanks,
Pragati
U can try this
precision must be positive
Hi SRK,
Thanks a lot for quick response.
I am not able to understand why we should use maxDecimalValue method. I need to get the exact Latitude and longitude values of the device. How will I get the correct value using the method you suggested ?
Thanks,
Pragati
I am sry i thought that javascript var is not able to hold values after decimal & bcoz of that u r not getting exact Latitude and longitude
Hi SRK,
Please suggest what should I do to get more than 6 decimal values of Lat/Lon
Thanks,
Pragati