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

    Variable MAP_BOLD_FONTConst

    MAP_BOLD_FONT: "Noto-Bold" = 'Noto-Bold'

    Bold font face used in the TomTom map style.

    The map uses it for prominent labels and headings. Use it in custom layers to match the map style.

    import { MAP_BOLD_FONT } from '@tomtom-org/maps-sdk/map';

    const textLayer = {
    type: 'symbol',
    layout: {
    'text-font': [MAP_BOLD_FONT],
    'text-field': ['get', 'name']
    }
    };