Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Wpf.Map

    Declaration

    public void CalculateRoute(
        List<RouteWaypoint> waypoints,
        AzureRouteOptions options
    )

    Parameters

    Name Type Description
    waypoints List<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