Const
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'] }}; Copy
import { MAP_REGULAR_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_REGULAR_FONT], 'text-field': ['get', 'description'] }};
Regular font face used in the TomTom map style.