Add a new layer below labels
By utilizing the second parameter of the addLayer
function in the SDK-JS API, you can enhance the accuracy of adding a new layer beneath the labels. This allows for more precise placement and control over the layer’s position in relation to the rest of the map layers.
Related examples
An extension of MapLibre GL JS