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, List<BingRouteLeg>) 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,
    List<BingRouteLeg> legs
)

#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.

legs List<BingRouteLeg>

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

See Also