You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sanjay Kumar (JIRA)" <ji...@apache.org> on 2018/06/25 11:38:00 UTC

[jira] [Created] (CB-14167) User's current location is not correct

Sanjay Kumar created CB-14167:
---------------------------------

             Summary: User's current location is not correct 
                 Key: CB-14167
                 URL: https://issues.apache.org/jira/browse/CB-14167
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Sanjay Kumar


We are using [https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-geolocation/] in our app. We are getting the user's current position using navigator.geolocation.getCurrentPosition and we are getting the correct location. 

Then we are using navigator.geolocation.watchPosition to get the user's updated location which is also working well mostly.

Here is the issue - When the phone is not moving - we are getting different co-ordinates which are up to 500 meters away from the actual user location.

If needed, I can share screenshots and code. Do let me know.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org