MapRouteFinderResult MapRouteFinderResult MapRouteFinderResult MapRouteFinderResult Class

Definition

Returns the result of a MapRouteFinder query.

public : sealed class MapRouteFinderResult : IMapRouteFinderResult, IMapRouteFinderResult2public sealed class MapRouteFinderResult : IMapRouteFinderResult, IMapRouteFinderResult2Public NotInheritable Class MapRouteFinderResult Implements IMapRouteFinderResult, IMapRouteFinderResult2// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

A MapRouteFinderResult is returned when you call the methods of the MapRouteFinder class.

Your Universal Windows app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.

See Request a maps authentication key.

Properties

AlternateRoutes AlternateRoutes AlternateRoutes AlternateRoutes

Gets alternate routes between the same start and end points (if available).

public : IVectorView<MapRoute> AlternateRoutes { get; }public IReadOnlyList<MapRoute> AlternateRoutes { get; }Public ReadOnly Property AlternateRoutes As IReadOnlyList<MapRoute>// This API is not available in Javascript.
Value
IVectorView<MapRoute> IReadOnlyList<MapRoute> IReadOnlyList<MapRoute> IReadOnlyList<MapRoute>

Alternate routes, of type MapRoute, between the same start and end points (if available); otherwise, null.

Remarks

When MaxAlternateRouteCount is set to 1 or greater, the GetDrivingRouteAsync method will provide additional routes between the same start and end points (when available).

Note

Some alternative routes may violate route restrictions. Use the ViolatedRestrictions property to check for violations.

Route Route Route Route

Gets the route found by a MapRouteFinder query.

public : MapRoute Route { get; }public MapRoute Route { get; }Public ReadOnly Property Route As MapRoute// This API is not available in Javascript.
Value
MapRoute MapRoute MapRoute MapRoute

The route found by a MapRouteFinder query.

See Also

Status Status Status Status

Gets the status of a MapRouteFinder query.

public : MapRouteFinderStatus Status { get; }public MapRouteFinderStatus Status { get; }Public ReadOnly Property Status As MapRouteFinderStatus// This API is not available in Javascript.
See Also

See Also