BingItineraryItem.Distance Property
Gets the distance of the itinerary item.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v25.1.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
Double | A Double value specifying the item distance. |
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