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
Post a Comment