Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layers hide markers below them #87

Open
seros00 opened this issue Aug 3, 2022 · 1 comment
Open

Layers hide markers below them #87

seros00 opened this issue Aug 3, 2022 · 1 comment

Comments

@seros00
Copy link
Contributor

seros00 commented Aug 3, 2022

(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

@RGBvision
Copy link

RGBvision commented Aug 25, 2023

You should use aboveLayer property to sort layers:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants