| Property | Defined by | ||
|---|---|---|---|
| distance : Number
Specifies the value of the linear distance.
| LinearUnit | ||
| units : String
Specifies the unit type of the linear distance, such as "esriMeters", "esriMiles", "esriKilometers" etc.
| LinearUnit | ||
| Method | Defined by | ||
|---|---|---|---|
|
LinearUnit(distance:Number = 0, units:String = null)
Creates a new LinearUnit object.
| LinearUnit | ||
| distance | property |
public var distance:NumberSpecifies the value of the linear distance.
This property can be used as the source for data binding.
| units | property |
public var units:StringSpecifies the unit type of the linear distance, such as "esriMeters", "esriMiles", "esriKilometers" etc.
This property can be used as the source for data binding.
| LinearUnit | () | constructor |
public function LinearUnit(distance:Number = 0, units:String = null)Creates a new LinearUnit object.
Parametersdistance:Number (default = 0) — The distance.
|
|
units:String (default = null) — The distance units.
|