@Munya-Pualani this site
https://www.movable-type.co.uk/scripts/latlong.html#:~:text=const Bx = Math.cos(,km
has the formulas for bearing and distance using two gps locations.
drawing an arrow pointing on that bearing using web technologies is also well known