-api-id | -api-type |
---|---|
M:Windows.Services.Maps.Guidance.GuidanceRoute.TryCreateFromMapRoute(Windows.Services.Maps.MapRoute) |
winrt method |
Creates a GuidanceRoute object that's based on the specified MapRoute.
Note
This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.
The potential route to be navigated.
A GuidanceRoute object that's based on the specified MapRoute object; otherwise, if the mapRoute cannot be converted, null.