Skip to content

Type alias: ScaleControlOptions

Ƭ ScaleControlOptions: Object

The ScaleControl options object

Type declaration

Name Type Description
maxWidth? number The maximum length of the scale control in pixels. Default Value ts 100
unit? Unit Unit of the distance ('imperial', 'metric' or 'nautical'). Default Value ts 'metric'

Defined in

src/ui/control/scale_control.ts:14