Snippet - GPS Helper

GPS Helper

Here is the start of a GPS helper libray used to calculate various things based on GPS Latitude and Longitude.

With this library you are able to calculate things like distance between two points, bearing between to points and see if a locaiton is inside a polygon boundary.

A lot if the maths comes from this very good site: Calculate distance and bearing between two Latitude/Longitude points using haversine formula in JavaScript


@ Justin - Commented on the other GPS thread, but love the work, definitely helping out on my rover project.

Shoot me a note at Contact Me – and I’ll hook you up with a custom mounting board! Just let me know what overall dimensions you’d like and your address so I can send it across the pond!


Thank you Justin. Huge help.