Interface BearingsControlConfiguration

Hierarchy

  • BearingsControlConfiguration

Properties

angleDefault: number

The default angle for a waypoint when it's added.

Default

0

angleMax: number

Maximal allowed angle for a waypoint (affects the control's respective numeric input behavior).

Default

359

angleMin: number

Minimal allowed angle for a waypoint (affects the control's respective numeric input behavior).

Default

0

angleStep: number

How many degrees to add/remove to/from the bearing's angle value when the control's respective numeric input's up/down button is clicked.

Default

1

debounceTimeout: number

Debounce requests by the specified amount of milliseconds.

Default

150

defaultEnabled: boolean

Whether the bearings support is enabled by default for new waypoints.

Default

false

degreesDefault: number

The default degree for a waypoint when it's added.

Default

45

degreesMax: number

Maximal allowed degree for a waypoint (affects the control's respective numeric input behavior).

Default

360

degreesMin: number

Minimal allowed degree for a waypoint (affects the control's respective numeric input behavior).

Default

15

degreesStep: number

How many degrees to add/remove to/from the bearing's degrees value when the control's respective numeric input's up/down button is clicked.

Default

15

fixedDegrees: number

Whether to allow changing the bearings' degrees. When 0 - allow to change degrees, when any other value - use that value instead.

Default

0

imageSize: number

The size of the waypoint-images in the control (in pixels).

Default

50

respectMapBearing: boolean

Whether the waypoint-images in the control should be rotated according to the map's current bearing.

Default

false

Generated using TypeDoc