BingRouteResult(List<GeoPoint>, Double, TimeSpan, TimeSpan, List<BingRouteLeg>, SearchBoundingBox) Constructor
Initializes a new instance of the BingRouteResult
class with the specified parameters.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v25.1.dll
NuGet Package: DevExpress.Win.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 |
distance | Double | A Double value specifying the distance. This value is assigned to the |
time | TimeSpan | A TimeSpan value specifying the time. This value is assigned to the |
trafficTime | TimeSpan | A TimeSpan value specifying the estimated time for the route passage in accordance with traffic congestion. This value is assigned to the |
legs | List<BingRouteLeg> | A list of |
boundingBox | SearchBoundingBox | A SearchBoundingBox object specifying the region containing the resulting route. This value is assigned to the |