Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Xamarin Forms distance

$
0
0

Hi All!

I am writing an application which works with map and I need to show the distance in Kilometers from one Position to another.

I have found an extension method in XAmarin.Forms.Labs library but it seems doesn't work correct cause it gives me distance of 50 km between the following coordinates:
Latitude 48.4572 - 48.4568
Longitude 35.06 - 35.03

Native android Location.DistanceBetween works correctly for this coordinates and gives me 8.1 km (which is correct).

Is there any other way to retrieve the distance between two coordinates in km?

Thank you


Viewing all articles
Browse latest Browse all 58056

Trending Articles