MapRouteFinder Class

Definition

Gets a route.

public ref class MapRouteFinder abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapRouteFinder final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class MapRouteFinder
Public Class MapRouteFinder
Inheritance
Object Platform::Object IInspectable MapRouteFinder
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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.

Version history

Windows version SDK version Value added
1703 15063 GetDrivingRouteFromEnhancedWaypointsAsync(IEnumerable<EnhancedWaypoint>)
1703 15063 GetDrivingRouteFromEnhancedWaypointsAsync(IEnumerable<EnhancedWaypoint>,MapRouteDrivingOptions)

Methods

GetDrivingRouteAsync(Geopoint, Geopoint)

Gets a driving route for the specified start and end coordinates.

GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteDrivingOptions)

Gets a driving route for the specified start and end coordinates (using MapRouteDrivingOptions).

GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization)

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

GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization, MapRouteRestrictions)

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

GetDrivingRouteAsync(Geopoint, Geopoint, MapRouteOptimization, MapRouteRestrictions, Double)

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

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>)

Gets a driving route for the specified waypoints (using optimizations).

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>, MapRouteDrivingOptions)

Gets a driving route for the specified waypoints (using optimizations).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)

Gets a driving route for the specified waypoints (using optimizations).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)

Gets a driving route for the specified waypoints.

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)

Gets a driving route for the specified waypoints (using optimizations and restrictions).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)

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

GetWalkingRouteAsync(Geopoint, Geopoint)

Gets a walking route using the specified start and end coordinates.

GetWalkingRouteFromWaypointsAsync(IIterable<Geopoint>)

Gets a walking route using the specified waypoints.

Applies to

See also