These changes should make it so when a location is added, the previous location isn't published until it's far enough away.
I decided that far enough away would be 100 meters. I don't imagine it'd unintentionally move more than that unless the warm up for the GPS is way too off (assuming it'll be starting cold).
My intention is going to be to make it so it does things on a timeline like this
add location X1, Y1 at 12:00
add location X2, Y2 at 12:30
The distance between the first and second location is less than 100m, so the first location is not published
add location X3, Y3 at 13:00
The distance between the first and third location is greater than 100m, so the first location is published
The distance between the second location and the third location is greater than 100m, so the second is published
These changes should make it so when a location is added, the previous location isn't published until it's far enough away.
I decided that far enough away would be 100 meters. I don't imagine it'd unintentionally move more than that unless the warm up for the GPS is way too off (assuming it'll be starting cold).
My intention is going to be to make it so it does things on a timeline like this
Closes #4