This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ReachableRangeFillConfig

    The fill of the ReachableRangesModule bands.

    type ReachableRangeFillConfig = {
        palette?: string[];
        style?: GeometryFillStyle;
    }
    Index
    palette?: string[]

    CSS colours of the bands, the innermost band first, starting over after the last. An empty list counts as unset. The bands then ramp from the map's accent toward its land colour, the other way round for 'inverted', which deepens away from the origin.

    Bands are ranked per origin, so with several origins the ranges of the same rank share a colour.

    How the bands are filled.

    • 'filled' — each band coloured, the innermost on top.
    • 'outline' — only each range's border, thick and coloured.
    • 'inverted' — the area outside each range coloured: the world beyond the largest range, then a ring between each range and the next smaller one.
    'filled'