mapbox-gl-js version
I have encountered what I think is a bug. I have several icons on display and each icon has a text-field under it. At any given zoom level, I would like to have the icons always show, but the text only show when there is no overlap.
text-field"icon-allow-overlap": true,and "text-allow-overlap": false,The icons should always be there, and the text should only be displayed when there is no overlap
The icons disappear with the text when there is an overlap. The behavior should be separate.
Hi @PhaelIshall, thanks for using Mapbox. Setting "text-optional": true should produce the desired behavior in this case.
Most helpful comment
Hi @PhaelIshall, thanks for using Mapbox. Setting
"text-optional": trueshould produce the desired behavior in this case.