Const
Regular font face used in the TomTom map style.
The map uses it for most text labels. Use it in custom layers to match 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.