BingItineraryItem(GeoPoint, BingManeuverType, String, List<BingItineraryItemWarning>, Double, TimeSpan, String, BingDetail[], BingHint[], String, String[], String) Constructor

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public BingItineraryItem(
    GeoPoint location,
    BingManeuverType maneuver,
    string maneuverInstruction,
    List<BingItineraryItemWarning> warnings,
    double distance,
    TimeSpan time,
    string compassDirection,
    BingDetail[] details,
    BingHint[] hints,
    string sideOfStreet,
    string[] signs,
    string towardsRoadName
)
Public Sub New(
    location As GeoPoint,
    maneuver As BingManeuverType,
    maneuverInstruction As String,
    warnings As List(Of BingItineraryItemWarning),
    distance As Double,
    time As TimeSpan,
    compassDirection As String,
    details As BingDetail(),
    hints As BingHint(),
    sideOfStreet As String,
    signs As String(),
    towardsRoadName As String
)

Parameters

Name Type Description
location GeoPoint

A GeoPoint object that specifies 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 that specifies the maneuver instruction. This value is assigned to the BingItineraryItem.ManeuverInstruction property.

warnings List<BingItineraryItemWarning>

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

distance Double

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

time TimeSpan

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

compassDirection String

A String value defines the compass direction. This value is assigned to the BingItineraryItem.CompassDirection property.

details BingDetail[]

An array of the BingDetail objects that specify the itinerary item's maneuver details. This value is assigned to the BingItineraryItem.Details property.

hints BingHint[]

An array of BingHint objects provide hints. This value is assigned to the BingItineraryItem.Hints property.

sideOfStreet String

A String value defines the side of the street. This value is assigned to the BingItineraryItem.SideOfStreet property.

signs String[]

An array of String values specifies signs on the road. This value is assigned to the BingItineraryItem.Signs property.

towardsRoadName String

A String value defines the direction in accordance with road name. This value is assigned to the BingItineraryItem.TowardsRoadName property.

See Also