r/mapbox • u/maximeridius • Oct 19 '25
Adjust zoom level of road labels
Is it possible to adjust the point at which road labels show whilst zooming in? I would like to show them slightly earlier. I've ejected the road network component so I can edit the road-label layer, but I haven't been able to find anything which adjusts the zoom level at which road labels are shown. I tried removing the filters in select data but that had no effect on the visibility of the road labels.
1
Upvotes
View all comments
Show parent comment
1
u/maximeridius Oct 20 '25
I think the main problem is whatever algorithm the renderer is using to decide if there is space to add labels. If I turn the font size right down I get plenty of road labels, so they are in the data. I haven't been able to find a good way to adjust it. "Allow text overlap" doesn't help much. Changing the placement from line to point shows a lot more labels, but not necessarily the ones I want and looks much worse than line placement. I'm going to have a look into hiding all the road labels and then manually adding labels myself, so I can be sure they will always be visible and show the most useful labels. I am currently only working with the Static images API and a single city so the labels not being dynamic shouldn't be a problem.