Module: webgis4u/ol/control/ScaleLine

Classes

ScaleLine

Members

(static, constant) CSS_CLASS :string

The root CSS class
Type:
  • string
Source:

(static, constant) ScaleLineUnitEnum :string

Units for the scale line (at this time only internal ).
Type:
  • string
Source:

(inner, constant) LEADING_DIGITS :Array.<number>

Type:
  • Array.<number>
Source:

Methods

(inner) getConvertUnitsForScaleLineUnit(scaleLineUnit) → {undefined|Array.<module:webgis4u/util/number/convertUnitValue~Unit>}

Get the units for function `convertUnitValue`
Parameters:
Name Type Description
scaleLineUnit ScaleLineUnitEnum The scale line unit
Source:
Returns:
Type
undefined | Array.<module:webgis4u/util/number/convertUnitValue~Unit>