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

    Variable MAP_ITALIC_FONTConst

    MAP_ITALIC_FONT: "NotoSans-MediumItalic" = 'NotoSans-MediumItalic'

    Italic font face used in the TomTom map style.

    The map uses it for emphasised or secondary text labels. Use it in custom layers to match the map style.

    import { MAP_ITALIC_FONT, MAP_MEDIUM_FONT } from '@tomtom-org/maps-sdk/map';

    const textLayer = {
    type: 'symbol',
    layout: {
    'text-font': [MAP_ITALIC_FONT, MAP_MEDIUM_FONT],
    'text-field': ['get', 'subtitle']
    }
    };