External module "utils/units"
Functions
getUnitOfMeasure
- getUnitOfMeasure(unit: UnitOfMeasure.Unknown | UnitOfMeasure.Inches | UnitOfMeasure.Feet | UnitOfMeasure.Yards | UnitOfMeasure.Miles | UnitOfMeasure.NauticalMiles | UnitOfMeasure.Millimeters | UnitOfMeasure.Centimeters | UnitOfMeasure.Meters | UnitOfMeasure.Kilometers | UnitOfMeasure.Degrees | UnitOfMeasure.DecimalDegrees | UnitOfMeasure.DMS | UnitOfMeasure.Pixels): UnitInfo
-
Parameters
-
unit: UnitOfMeasure.Unknown | UnitOfMeasure.Inches | UnitOfMeasure.Feet | UnitOfMeasure.Yards | UnitOfMeasure.Miles | UnitOfMeasure.NauticalMiles | UnitOfMeasure.Millimeters | UnitOfMeasure.Centimeters | UnitOfMeasure.Meters | UnitOfMeasure.Kilometers | UnitOfMeasure.Degrees | UnitOfMeasure.DecimalDegrees | UnitOfMeasure.DMS | UnitOfMeasure.Pixels
getUnits
- getUnits(): [UnitOfMeasure.Unknown | UnitOfMeasure.Inches | UnitOfMeasure.Feet | UnitOfMeasure.Yards | UnitOfMeasure.Miles | UnitOfMeasure.NauticalMiles | UnitOfMeasure.Millimeters | UnitOfMeasure.Centimeters | UnitOfMeasure.Meters | UnitOfMeasure.Kilometers | UnitOfMeasure.Degrees | UnitOfMeasure.DecimalDegrees | UnitOfMeasure.DMS | UnitOfMeasure.Pixels, UnitName][]
-
Returns [UnitOfMeasure.Unknown | UnitOfMeasure.Inches | UnitOfMeasure.Feet | UnitOfMeasure.Yards | UnitOfMeasure.Miles | UnitOfMeasure.NauticalMiles | UnitOfMeasure.Millimeters | UnitOfMeasure.Centimeters | UnitOfMeasure.Meters | UnitOfMeasure.Kilometers | UnitOfMeasure.Degrees | UnitOfMeasure.DecimalDegrees | UnitOfMeasure.DMS | UnitOfMeasure.Pixels, UnitName][]