ui-mapbox icon indicating copy to clipboard operation
ui-mapbox copied to clipboard

Layers hide markers below them

Open seros00 opened this issue 3 years ago • 1 comments

(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:

overlapping

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

seros00 avatar Aug 03 '22 15:08 seros00

You should use aboveLayer property to sort layers:

mapBoxAPI
    .addLayer({
      "id": "MARKERS",
      "type": "",
      "source": "",
      "layout": {
      },
      "paint": {
      },
      "aboveLayer": "GEOMERTY_LAYER_ID",
    })

RGBvision avatar Aug 25 '23 05:08 RGBvision