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 detail,
    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,
    detail As BingDetail,
    hints As BingHint(),
    sideOfStreet As String,
    signs As String(),
    towardsRoadName As String
)

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.

compassDirection String

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

detail BingDetail

A BingDetail object specifying the details of this itinerary item. This value is assigned to the BingItineraryItem.Detail property.

hints BingHint[]

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

sideOfStreet String

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

signs String[]

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

towardsRoadName String

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

See Also