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

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.2.dll

Declaration

public BingRouteResult(
    List<GeoPoint> routePath,
    double distance,
    TimeSpan time,
    List<BingRouteLeg> legs
)
Public Sub New(
    routePath As List(Of GeoPoint),
    distance As Double,
    time As TimeSpan,
    legs As List(Of BingRouteLeg)
)

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