CesiumGS / CesiumGS/cesium

Vector Tiles: Layer order, zIndex, and/or polygon offset

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

Nobody has claimed this yet.

category - vector data type - enhancement
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Feature

Support control over layer order, feature order, and/or polygon offsets. For example, road layer should draw on top of admin layer. Possibly allow a per-feature zIndex styling property in 3D Tile styles. For 3D renderers, useful to control gl.polygonOffset, used to ensure that roads render on top of land/water polygons, for example. For clamped renderers (WIP) implementation of the property would be based on order in GPU Lookup tables I believe, without explicit offsets.

In progress:

  • #13515
AI acknowledgment
  • I used AI to generate this feature request.
  • (If the above is checked) I have reviewed the AI-generated content before submitting.

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

Start by reading the vector-tile feature request and the in-progress issue #13515. Determine which layer or feature ordering and polygon-offset behavior is intended for the 3D and clamped renderers. Done means the supported scope and rendering behavior are defined and implemented with appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.