Const
Italic font face used in the TomTom map style.
The map uses it for emphasised or secondary text labels. Use it in custom layers to match the map style.
import { MAP_ITALIC_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_ITALIC_FONT], 'text-field': ['get', 'subtitle'] }}; Copy
import { MAP_ITALIC_FONT } from '@tomtom-org/maps-sdk/map';const textLayer = { type: 'symbol', layout: { 'text-font': [MAP_ITALIC_FONT], 'text-field': ['get', 'subtitle'] }};
Italic font face used in the TomTom map style.