BingRouteLeg(GeoPoint, GeoPoint, List<BingItineraryItem>, Double, TimeSpan) Constructor
Initializes a new instance of the BingRouteLeg
class with the specified parameters.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v25.1.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
public BingRouteLeg(
GeoPoint startPoint,
GeoPoint endPoint,
List<BingItineraryItem> itinerary,
double distance,
TimeSpan time
)
Parameters
Name | Type | Description |
---|---|---|
startPoint | GeoPoint | A GeoPoint object specifying the starting point. This value is assigned to the |
endPoint | GeoPoint | A GeoPoint object specifying the end point. This value is assigned to the |
itinerary | List<BingItineraryItem> | A list of |
distance | Double | A Double value specifying the distance of this route leg. This value is assigned to the |
time | TimeSpan | A TimeSpan object specifying the time required to traverse this route leg. This value is assigned to the |