@watergis/maplibre-gl-terradraw
    Preparing search index...

    Variable AvailableValhallaModesConst

    AvailableValhallaModes: readonly [
        "render",
        "linestring",
        "point",
        "select",
        "delete-selection",
        "delete",
        "download",
        "settings",
    ] = ...

    The list of available Terra Draw drawing modes for MaplibreValhallaControl

    • point mode is used to compute isochrone polygons.
    • linestring mode is used to calculate routes.

    render is a special mode and this is appeared as toggle button to expand/collapse the tool. If you always want the tool to be visible, render can be removed and set open property of the constructor as true.

    delete-selection button is only appeared, when the select button is active.

    If no drawing feature is in TerraDraw, delete and download are disabled.