How to calculate the distance between two GPS coordinates without using Google Maps API?

前端 未结 7 1106
小鲜肉
小鲜肉 2020-12-08 02:56

I\'m wondering if there\'s a way to calculate the distance of two GPS coordinates without relying on Google Maps API.

My app may receive the coordinates in float or

相关标签:
7条回答
  • 2020-12-08 03:29

    I'm not sure of any prepackaged solution, but it seems a fairly straightforward calculation: http://www.movable-type.co.uk/scripts/latlong.html

    0 讨论(0)
提交回复
热议问题