Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.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