Skip to main content

BingRouteOptions.DistanceUnit Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

[DefaultValue(DistanceMeasureUnit.Kilometer)]
public DistanceMeasureUnit DistanceUnit { get; set; }

Property Value

Type Default Description
DistanceMeasureUnit Kilometer

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