Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.85 KB

maproutefinder_getdrivingrouteasync_2095433792.md

File metadata and controls

39 lines (27 loc) · 1.85 KB
-api-id -api-type
M:Windows.Services.Maps.MapRouteFinder.GetDrivingRouteAsync(Windows.Devices.Geolocation.Geopoint,Windows.Devices.Geolocation.Geopoint,Windows.Services.Maps.MapRouteOptimization,Windows.Services.Maps.MapRouteRestrictions,System.Double)
winrt method

Windows.Services.Maps.MapRouteFinder.GetDrivingRouteAsync

-description

Gets a driving route for the specified start and end coordinates (using optimizations, restrictions, and heading).

-parameters

-param startPoint

The starting point of the driving route.

-param endPoint

The ending point of the driving route.

-param optimization

The optimizations to apply when calculating the driving route.

-param restrictions

The restrictions to apply when calculating the driving route.

-param headingInDegrees

The preferred start direction from the current location for the driving route.

-returns

When this method completes successfully, it returns a driving route contained in the MapRouteFinderResult.

-remarks

-examples

-see-also

Display routes and directions on a map, GetDrivingRouteAsync(Geopoint, Geopoint), GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization), GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization, MapRouteRestrictions)