mapbox / mapbox/mapbox-gl-js

Text height extrusion + fill extruision visible inside another (transparent) extrusion

Open
#12,486 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello, I attached screenshot which describes both situations.

1) I would like to be able to set text-label height so it would appear on top of extruded polygon regardless on pitch/bearing, not at its base
2) I would love to make lot of flying "boxes" (rooms in building) and change colors and transparency, based on filters, but as you can see, even tough my extruded polygons are transparent, you cant see the blue one behind the front one.
Snímek obrazovky 2022-12-21 v 15 28 40

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

No source file or test is named. Start by reproducing both reported cases in mapbox-gl-js using the attached screenshot, then trace the 3D extrusion and text-label rendering entry points. Done should separately demonstrate text remaining visible above an extrusion and transparent overlapping extrusions showing geometry behind them.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.