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 GeometryFillStyle

    GeometryFillStyle: "filled" | "outline" | "inverted"

    How GeometriesModule fills a polygon.

    • 'filled' — Coloured fill with thin border (default)
    • 'outline' — Transparent fill with thick coloured border
    • 'inverted' — Colours the area outside the polygon (donut geometry)

    Set it in config with fill.style, or per-feature in properties.fillStyle.