ScaleControlOptions
ScaleControlOptions:
object
Defined in: src/ui/control/scale_control.ts:14
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'
).