Gets or sets the unit of measure of your map files. The default value is Mile.


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

Syntax

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

/** property */
public void set_MapUnit(MeasureUnit value);
JScript
public function get MapUnit() : MeasureUnit

public function set MapUnit(value : MeasureUnit);

Remarks

It is essential that you know the map units of your map data so you correctly set the MapUnit property, because this setting is used to calculate distances between nodes in the road network.

See Also