These layer IDs exist in the TomTom vector map style. Use them to position custom layers relative to standard map layers, for example below labels.
They include:
'lowestLabel' and 'POI'.'Road' and 'Motorway'.'Building'.// Add a custom layer below POI labels
const beforeLayer: MapStyleLayerID = 'POI';
map.addLayer({
id: 'my-custom-layer',
type: 'fill',
source: 'my-source'
}, beforeLayer);
// Position geometry below all labels
const geometryConfig = {
beforeLayerConfig: 'lowestLabel' as MapStyleLayerID
};
mapStyleLayerIDs for the complete list of available layer IDs
A known layer ID from the TomTom map style.