Skip to main content

BingItineraryItem(GeoPoint, BingManeuverType, String, List<BingItineraryItemWarning>, Double, TimeSpan) Constructor

Initializes a new instance of the BingItineraryItem class with the specified settings.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public BingItineraryItem(
    GeoPoint location,
    BingManeuverType maneuver,
    string maneuverInstruction,
    List<BingItineraryItemWarning> warnings,
    double distance,
    TimeSpan time
)

Parameters

Name Type Description
location GeoPoint

A GeoPoint object specifying the location. This value is assigned to the BingItineraryItem.Location property.

maneuver BingManeuverType

A BingManeuverType enumeration value specifying the maneuver type. This value is assigned to the BingItineraryItem.Maneuver property.

maneuverInstruction String

A String specifying the maneuver instruction. This value is assigned to the BingItineraryItem.ManeuverInstruction property.

warnings List<BingItineraryItemWarning>

A list of BingItineraryItemWarning objects containing a warning for this itinerary item. This value is assigned to the BingItineraryItem.Warnings property.

distance Double

A Double value specifying the item distance. This value is assigned to the BingItineraryItem.Distance property.

time TimeSpan

A TimeSpan value specifying the time required to pass this itinerary item. This value is assigned to the BingItineraryItem.Time property.

See Also