Skip to main content
All docs
V25.1
  • BingRouteIsochroneOptions.DistanceUnit Property

    Gets or sets the distance measurement unit for which an isochrone is calculated.

    Namespace: DevExpress.Xpf.Map

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

    NuGet Package: DevExpress.Wpf.Map

    Declaration

    public DistanceMeasureUnit DistanceUnit { get; set; }

    Property Value

    Type Description
    DistanceMeasureUnit

    The distance measurement unit. The default value is Kilometer.

    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
    BingRouteIsochroneDataProvider
    .IsochroneOptions .DistanceUnit

    Remarks

    Specify the DistanceUnit property to set the measurement unit for the distance that you pass to the CalculateIsochroneByDistance method parameters.

    See Also