This is the documentation of version 0.61.0. 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' — Colored fill with thin border (default)
    • 'outline' — Transparent fill with thick colored border
    • 'inverted' — Colors the area outside the polygon (donut geometry)

    Set via GeometriesModuleConfig.fillStyle at config level, or per-feature in properties.fillStyle.