RichC
RichC

Reputation: 7879

How to get driving distance between two lat/longs in Windows Phone 8.1 Universal App

I've definitely seen some REST APIs out there that can do this but I'm sure there's a WinRT/Windows Phone 8 Store App way of calculating driving distance (preferably with traffic) between two Geolocations points (lat/long).

I see ways of doing it by returning a map on the phone with the details, but I just want the distance information returned without going to a mapping UI or control.

This would preferably work on a tablet (WindowsRT) as well but Phone is the focus at the moment.

Upvotes: 0

Views: 622

Answers (1)

Filip Skakun
Filip Skakun

Reputation: 31724

Bing Maps REST API is the way to do it.

Here's the documentation and a sample. You can find one way of how to use these with .NET here.

Upvotes: 1

Related Questions