mapbox / mapbox/mapbox-gl-js

Displaying a large number of layers on the map in the desired order (z-axis location)

Open
#13,430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Hi. I have many layers, more than ten, and they have to be stacked on top of each other in a certain order. I have an array with the ids of these layers, how do I process them to get what I want? Order is very important
Using maplibre-gl-js in the React application.

Thank you for answer!!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names a React application using maplibre-gl-js but no repository file, test, or entry point. Start by clarifying how the array of layer IDs should define z-axis order and whether an existing layer-ordering API is expected. Done means providing or implementing a confirmed way to display the layers in that requested order.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.