christocracy/cordova-plugin-background-geolocation — pull request #32 by zgiles (2014-05-23 05:55:10+00:00)
Title: Adding an abs() around the distance.

I saw negative distances when I was inside the stationary area, but
moving around within it.. perhaps a few houses over etc. Walking etc.
If I moved farther away, it eventually updated but more becaue it had
a significant update, such as driving miles.
This abs around the distance allows the less-than if statement to work.
Been using it for all day across several cities with great and accurate
updates.
Similar routines over the last few days were highly inaccurate and
behind.