Skip to main content

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

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

Namespace: DevExpress.Xpf.Map

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