ui-mapbox
ui-mapbox copied to clipboard
Layers hide markers below them
(Issue for both iOS and Android) Is there a way to make the markers appear ON top of the layers instead of the layer hiding the markers? You can see the issue in this image:

My config for Android: Android: 10 NS: 8.2.1 ui-mapbox: 6.2.15
My config for iOS: iOS: 15.4 iPhone 12 (emulated) NS: 8.2.3 ui-mapbox: 6.2.15
You should use aboveLayer property to sort layers:
mapBoxAPI
.addLayer({
"id": "MARKERS",
"type": "",
"source": "",
"layout": {
},
"paint": {
},
"aboveLayer": "GEOMERTY_LAYER_ID",
})