headingBetweenPoints

Calculates the heading (bearing) between two coordinates

Return

the heading in DEGREES

Parameters

p1

First coordinate

p2

Second coordinate