Convert Latitude and Longitude into kms

前端 未结 3 718
礼貌的吻别
礼貌的吻别 2021-01-28 19:04

I am building application where i am getting the user\'s latitude and longitude using the below code

          


        
3条回答
  •  深忆病人
    2021-01-28 19:49

    What you're looking for is called the Haversine formula; there's a PHP implementation here.

提交回复
热议问题