Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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