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

    Variable landmarkTextureUsesConst

    landmarkTextureUses: readonly ["mask", "detail", "color"]

    What a landmark's own texture gives its look, besides carving its silhouette:

    • mask: nothing more; the landmark is shaded in its color.
    • detail: its light and shade, over the color, as facade detail.
    • color: its colours, in place of the color.

    Whatever the use, the map's light shades the landmark.