Class: ol.control.ScaleLine

ol.control.ScaleLine

new ScaleLine

Parameters:
Name Type Argument Description
options ol.control.ScaleLineOptions= <optional>
(Optional) Options.
Source:
  • scalelinecontrol.js, line 34

Extends

Members

<static, constant> LEADING_DIGITS :Array.<number>

Source:
  • scalelinecontrol.js, line 111

<protected> element :Element

Inherited From:
Source:
  • control.js, line 32

Methods

disposeInternal

Inherited From:
Source:
  • control.js, line 58

getMap

Inherited From:
Source:
  • control.js, line 67
Returns:
Map.
Type
ol.Map

handleMapPostrender

Parameters:
Name Type Description
mapEvent ol.MapEvent Map event.
Source:
  • scalelinecontrol.js, line 117

setMap

Source:
  • scalelinecontrol.js, line 126