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.

    This is the italic variant used for emphasized or secondary text labels. Use this constant when creating custom layers to maintain visual consistency with the map style.

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

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