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...

    Variable mapTypefacesConst

    mapTypefaces: readonly ["sans", "sans-italic", "serif", "serif-italic"] = ...

    The typefaces the map's labels can be set in, as the labels.typeface knob of stylingFoundationsKnobCatalogue takes them. A module's own labels take them in their typeface too. sans is the style's own.