GeoLeaf Core API - v3.19.0
    Preparing search index...

    Interface RouteLayerBinding

    Per-layer binding: how a polyline layer's endpoints are shown.

    interface RouteLayerBinding {
        start?: RouteEndpointStyle;
        end?: RouteEndpointStyle;
        via?: RouteEndpointStyle;
        showStart?: boolean;
        showEnd?: boolean;
        showVia?: boolean;
    }
    Index

    Start-marker style override.

    End-marker style override.

    Intermediate-stop style override.

    ⚠️ A via is NOT derived, and cannot be: nothing in a LineString says which of its vertices are stops. Via points are read from the bound layer's own Point features when they carry properties.role — which is what a routing plugin publishes through Layers.setData. Deriving them would mean inventing them.

    showStart?: boolean

    Show the start marker (default true).

    showEnd?: boolean

    Show the end marker (default true).

    showVia?: boolean

    Show the intermediate-stop markers (default true).