TomTom Maps for JavaScript
    Preparing search index...

    Variable MAP_REGULAR_FONTConst

    MAP_REGULAR_FONT: "Noto-Regular" = 'Noto-Regular'

    Regular font face used in the TomTom map style.

    This is the standard font used for most text labels on the map. Use this constant when creating custom layers to maintain visual consistency with the map style.

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

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