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

Unable to order circle layer underneath fill layer #13320

Open
farseekers opened this issue Nov 6, 2024 · 0 comments
Open

Unable to order circle layer underneath fill layer #13320

farseekers opened this issue Nov 6, 2024 · 0 comments

Comments

@farseekers
Copy link

mapbox-gl-js version: 3.7.0

browser: Google Chrome 130.0.6723.117

Steps to Trigger Behavior

Create a map instance with two layers, a 'fill' type and a 'circle' type.

I am unable to get the 'circle' layer to appear beneath the 'fill' layer.

Link to Demonstration

https://codepen.io/farseekers/pen/XWvxMmd

Expected Behavior

As seen in the demonstration, I've tried

  • adding the circle layer before adding the fill layer
  • adding the circle layer after adding the fill layer
  • adding the circle layer with the 'beforeId' of the fill layer

I expect it to be possible to have a circle layer to sit underneath a fill layer, but so far, it does not seem to be the case.

Actual Behavior

All circle layers sit above the fill layer

Screenshot 2024-11-07 at 9 23 48 am

Thanks for any assistance.

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

1 participant