Skip to main content

BingItineraryItem.Location Property

Gets the location of the itinerary item.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v25.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public GeoPoint Location { get; }

Property Value

Type Description
GeoPoint

A GeoPoint object specifying the location.

Example

string ProcessItinerary(List<BingItineraryItem> items) {
    if (items == null) return "";

    StringBuilder sb = new StringBuilder("\tInternary Items:\n");
    for (int i = 0; i < items.Count; i++) {
        sb.Append(String.Format("\t\tItinerary {0}:\n", i+1));
        sb.Append(String.Format("\t\tManeuver: {0}\n", items[i].Maneuver));
        sb.Append(String.Format("\t\tLocation: {0}\n", items[i].Location));
        sb.Append(String.Format("\t\tInstructions: {0}\n", items[i].ManeuverInstruction));
        sb.Append(ProcessWarnings(items[i].Warnings));
    }
    return sb.ToString();
}
See Also