Mobile geolocation precision - cordova / phonegap -


i want develop app detects how far user/device points on map. calculating distance easy, when close 30meters need precise possible.

basically want lights on ui brighter closer target/point.

how achieve if gps position bounces around 5-10 meters or more? ideas on how approach this?

thanks!

in general there inaccuracy position, , indeed meters, bouncing there , rather impossible rid of it, anyways, 1 suggestion collect last few (3-10 , logic really) locations , calculate average them. fast movements position lagging of course, when doing slow movements position shown should more stable.. of course have additional logic on determining movement direction, , accepting location change towards faster etc.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -