Calculate distance of two geo points in km c#

前端 未结 7 677
夕颜
夕颜 2020-12-03 00:21

I`d like calculate the distance of two geo points. the points are given in longitude and latitude.

the coordinates are:

point 1: 36.578581, -118.291994

7条回答
  •  無奈伤痛
    2020-12-03 00:42

    I think you are interchanging latitude and longitude values. Try correcting those or change sequence of parameters.

提交回复
热议问题