Comments on snippet: 'Calculate distance between two points with latitude and longitude coordinates'Snipplr comments feed
https://ipv6.snipplr.com/
Wed, 12 Aug 2020 21:35:51 +0000the_coder said on 16/Apr/2010
https://ipv6.snipplr.com/view/25479/calculate-distance-between-two-points-with-latitude-and-longitude-coordinates
<p>"var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));" can be simplified to "var c = 2 * Math.asin(Math.sqrt(a));"</p>Fri, 16 Apr 2010 03:31:08 UTChttps://ipv6.snipplr.com/view/25479/calculate-distance-between-two-points-with-latitude-and-longitude-coordinates