Skip to main content
All docs
V24.2

BingRouteResult(List<GeoPoint>, Int32[], Double, TimeSpan, TimeSpan, List<BingRouteLeg>, SearchBoundingBox) Constructor

Initializes a new instance of the BingRouteResult class with specified settings.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public BingRouteResult(
    List<GeoPoint> routePath,
    int[] waypointsOrder,
    double distance,
    TimeSpan time,
    TimeSpan trafficTime,
    List<BingRouteLeg> legs,
    SearchBoundingBox boundingBox
)

Parameters

Name Type Description
routePath List<GeoPoint>

A list of GeoPoint objects that specify the route path.

waypointsOrder Int32[]

Returns an array of waypoint indexes. This value is assigned to the WaypointsOrder property.

distance Double

A Double value that specifies the distance. This value is assigned to the BingRouteResult.Distance property.

time TimeSpan

A TimeSpan value that specifies the time required to follow the calculated route. This value is assigned to the BingRouteResult.Time property.

trafficTime TimeSpan

A TimeSpan value that specifies the estimated time for the route passage in accordance with traffic congestion. This value is assigned to the BingRouteResult.TrafficTime property.

legs List<BingRouteLeg>

A list of BingRouteLeg objects that specify all the route legs. This value is assigned to the BingRouteResult.Legs property.

boundingBox SearchBoundingBox

A SearchBoundingBox object that specifies the region containing the resulting route. This value is assigned to the BingRouteResult.BoundingBox property.

See Also