Back to Devexpress

AzureRouteDataProvider.CalculateRoute(List<RouteWaypoint>, AzureRouteOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-azureroutedataprovider-dot-calculateroute-x28-system-dot-collections-dot-generic-dot-list-devexpress-dot-xpf-dot-map-dot-routewaypoint-devexpress-dot-xpf-dot-map-dot-azurerouteoptions-x29.md

latest2.0 KB
Original Source

AzureRouteDataProvider.CalculateRoute(List<RouteWaypoint>, AzureRouteOptions) Method

Calculates a route based on origin, destination, waypoints, and calculation options.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void CalculateRoute(
    List<RouteWaypoint> waypoints,
    AzureRouteOptions options
)
vb
Public Sub CalculateRoute(
    waypoints As List(Of RouteWaypoint),
    options As AzureRouteOptions
)

Parameters

NameTypeDescription
waypointsList<RouteWaypoint>

A list of RouteWaypoint objects.

| | options | AzureRouteOptions |

An AzureRouteOptions object that defines route calculation options passed to the Azure Maps Route service.

|

Remarks

Call one of the AzureRouteDataProvider.CalculateRoute method overloads to calculate a route between the origin and destination, passing through the specified waypoints.

See Also

AzureRouteDataProvider Class

AzureRouteDataProvider Members

DevExpress.Xpf.Map Namespace