Skip to main content

BingRouteOptions.DistanceUnit Property

Gets or sets a value that defines how to measure distances.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public DistanceMeasureUnit DistanceUnit { get; set; }

Property Value

Type Description
DistanceMeasureUnit

A DistanceMeasureUnit enumeration value.

Available values:

Name Description
Kilometer

All distances are measured in kilometers.

Mile

All distances are measured in miles.

Property Paths

You can access this nested property as listed below:

Object Type Path to DistanceUnit
BingRouteDataProvider
.RouteOptions .DistanceUnit
See Also