Seems an odd bug when I try to calculate the distance to Belfast it's NaN
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
Would be interesting to see how far away you all are from those places