Const
Medium weight font face used in the TomTom map style.
Its weight sits between regular and bold. Use it in custom layers to match the map style.
import { MAP_MEDIUM_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_MEDIUM_FONT], 'text-field': ['get', 'title'] }}; Copy
import { MAP_MEDIUM_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_MEDIUM_FONT], 'text-field': ['get', 'title'] }};
Medium weight font face used in the TomTom map style.