On this page
Properties

Type Alias ScaleControlOptions

The ScaleControl options object

type ScaleControlOptions = {
    maxWidth?: number;
    unit?: Unit;
}
Index

Properties

Properties

maxWidth?: number

The maximum length of the scale control in pixels.

100
unit?: Unit

Unit of the distance ('imperial', 'metric' or 'nautical').

'metric'
Was this helpful?
SDK JS
Reference
ScaleControlOptions