This sets the unit of measure to be used when returning the length of the route, segments and streets.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Property DistanceUnit As MeasureUnit
C#
public MeasureUnit DistanceUnit { get; set; }
C++
public property MeasureUnit DistanceUnit sealed  {
    MeasureUnit get();
    void set(MeasureUnit value);
}
J#
/** property */
public MeasureUnit get_DistanceUnit();

/** property */
public void set_DistanceUnit(MeasureUnit value);
JScript
public function get DistanceUnit() : MeasureUnit

public function set DistanceUnit(value : MeasureUnit);

Remarks

The default value is Mile.

See Also