Skip to main content
A newer version of this page is available. .

BingRouteOptions.DistanceUnit Property

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

Namespace: DevExpress.Xpf.Map

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

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