Visualize a layer underground/pitch a map underground
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Motivation
First of all thank you for your awesome work at Mapbox! I love building with your platform!
Now, the feature request:
In urban planning/smart city visualization (among other areas) it is necessary to visualize data underground. For example pipes, drainage basins or subways should be visible when displaying a city and planning for it, as else valuable information might get lost. Here, it would be great to have the option to visualize such data under and not above the ground. Or preferably even pitch the map underground.
Design
- The currently experimental z-offset of layers should extend to negative values
- If possible an easy "glassview" toggle configuration property should be available to make all layers at/above ground level transparent.
- If possible the pitch (and/or zoom) property should extend beyond zero to view the layers from 1 in detail. I am aware that this might be more difficult with the current map
Mock-Up
There is a good example for ESRI's sceneview how this could look like. Of course with the nicer Mapbox models and styling.
Help welcome
In the meantime I would be very grateful for any hints on how too implement this using the current Mapbox state!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or specific entry points are identified. Start by tracing the experimental layer z-offset and map pitch/zoom handling in the rendering code. Done would require a defined, tested approach for negative layer offsets and underground viewing, with any feasible glassview behavior documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100