Sets or returns the measure units of the TileLayer.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

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

/** property */
public void set_Unit(MeasureUnit value);
JScript
public function get Unit() : MeasureUnit

public function set Unit(value : MeasureUnit);

Remarks

The Unit property should be set to the unit which is used by all layers added to Tilelayer. If the CoordinateSystem property is set, the Unit property will be set automatically.

The Unit property is set to Degree by default.

See Also