Get the closest Map Pin to you

Alexander Blohmé 1 Reputation point
2022-12-07T21:04:13.587+00:00

Fixed it, np

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,121 Reputation points Microsoft Vendor
    2022-12-08T06:03:48.893+00:00

    Hello,

    On Xamarin.Forms, you could directly calculate the distance between two locations to get the closest Map Pin by using the Distance.BetweenPositions(Position1, Position2) method.

    Please refer to Xamarin.Forms Map Position and Distance to get more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments