-api-id | -api-type |
---|---|
M:Windows.Services.Maps.MapRouteFinder.GetDrivingRouteAsync(Windows.Devices.Geolocation.Geopoint,Windows.Devices.Geolocation.Geopoint) |
winrt method |
Gets a driving route for the specified start and end coordinates.
The starting point of the driving route.
The ending point of the driving route.
When this method completes successfully, it returns a driving route contained in the MapRouteFinderResult.
Display routes and directions on a map, GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization), GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization, MapRouteRestrictions), GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization, MapRouteRestrictions, Double)