@maplibre/maplibre-gl-directions - v0.10.1
    Preparing search index...

    Interface BearingsControlConfiguration

    interface BearingsControlConfiguration {
        angleDefault: number;
        angleMax: number;
        angleMin: number;
        angleStep: number;
        debounceTimeout: number;
        defaultEnabled: boolean;
        degreesDefault: number;
        degreesMax: number;
        degreesMin: number;
        degreesStep: number;
        fixedDegrees: number;
        imageSize: number;
        respectMapBearing: boolean;
    }
    Index
    angleDefault: number

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

    0

    angleMax: number

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

    359

    angleMin: number

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

    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.

    1

    debounceTimeout: number

    Debounce requests by the specified amount of milliseconds.

    150

    defaultEnabled: boolean

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

    false

    degreesDefault: number

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

    45

    degreesMax: number

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

    360

    degreesMin: number

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

    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.

    15

    fixedDegrees: number

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

    0

    imageSize: number

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

    50

    respectMapBearing: boolean

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

    false