Seems an odd bug when I try to calculate the distance to Belfast it's NaN
https://jsfiddle.net/k4yqvbps/2/
When I hard code in Belfast location Edinburgh is NaN
Seems an odd bug when I try to calculate the distance to Belfast it's NaN
https://jsfiddle.net/k4yqvbps/2/
When I hard code in Belfast location Edinburgh is NaN
Math.cos(lat) * Math.cos(lat1)
Not converting these to radians?
Oh I got there in the end
https://gotsocial.co.uk/geolocation/index.php
Would be interesting to see how far away you all are from those places