Const
Bold font face used in the TomTom map style.
This is the primary bold font used for prominent labels and headings in the map. Use this constant when creating custom layers to maintain visual consistency with 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'] }}; Copy
import { MAP_BOLD_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_BOLD_FONT], 'text-field': ['get', 'name'] }};
Bold font face used in the TomTom map style.