Const
Medium weight font face used in the TomTom map style.
This font provides a middle ground between regular and bold weights. Use this constant when creating custom layers to maintain visual consistency with 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.