Skip to main content

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

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

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

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

Parameters

Name Type Description
routePath List<GeoPoint>

A list of GeoPoint objects specifying the route path. This value is assigned to the BingRouteResult.RoutePath property.

distance Double

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

time TimeSpan

A TimeSpan value specifying the time. This value is assigned to the BingRouteResult.Time property.

trafficTime TimeSpan

A TimeSpan value specifying 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 specifying all the route legs. This value is assigned to the BingRouteResult.Legs property.

boundingBox SearchBoundingBox

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

See Also