ScaleControlOptions
ScaleControlOptions:
object
The ScaleControl options object
Type declaration
maxWidth?
optional
maxWidth:number
The maximum length of the scale control in pixels.
Default Value
unit?
optional
unit:Unit
Unit of the distance ('imperial'
, 'metric'
or 'nautical'
).