GPS

Bearing between two points

θ = atan2(sin(Δλ) * cos(φ2), cos(φ1) * sin(φ2) - sin(φ1) * cos(φ2) * cos(Δλ))

..where:

Input is not sent back to the server. All calculations are in the browser.