I am using OpenLayers 6 to display two MVT tile sources as two layers. The base layer has an MVT source from a local service serving an OpenMapTiles mbtile
file, using the osm-bright
style supplied with the file. The second source is a MVT layer coming from a Tegola service.
When only the base layer is displayed, the base map labels are rendered correctly. When the second layer is added, the base map labels no longer display.
Is this a bug, or is there some other setting that needs to be applied?
declutter: true
andfalse
on the two layers defined, but none of them resulted in the labels on the lowest layer displaying. I also tried replacing the complex Mapbox CSS style with a simple OL style with a label, and it had exactly the same behaviour. – dr_jts