BingRouteLeg(GeoPoint, GeoPoint, LocationInformation, LocationInformation, List<BingItineraryItem>, String, Double, TimeSpan) Constructor
Initializes a new instance of the BingRouteLeg
class with the specified parameters.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v25.1.dll
NuGet Package: DevExpress.Win.Map
Declaration
public BingRouteLeg(
GeoPoint startPoint,
GeoPoint endPoint,
LocationInformation startLocation,
LocationInformation endLocation,
List<BingItineraryItem> itinerary,
string description,
double distance,
TimeSpan time
)
Parameters
Name | Type | Description |
---|---|---|
startPoint | GeoPoint | A GeoPoint object specifying the start point of the route. This value is assigned to the |
endPoint | GeoPoint | A GeoPoint object specifying the end point of the route. This value is assigned to the |
startLocation | LocationInformation | A LocationInformation object specifying information about the start location. This value is assigned to the |
endLocation | LocationInformation | A LocationInformation object specifying information about the end location. This value is assigned to the |
itinerary | List<BingItineraryItem> | A list of |
description | String | A String specifying the description of the route. This value is assigned to the |
distance | Double | A Double value specifying the distance between the start and end points. This value is assigned to the |
time | TimeSpan | A TimeSpan value specifying the time required to pass this itinerary item. This value is assigned to the |