mapbox / mapbox/mapbox-gl-js

Support Custom Style with Globe Projection

Open
#13,182 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am trying to add 3D models with the threebox plugin on a map with globe projection. The question is that I want to show orbital flights describing realistic trajectories with the globe projection. For this the most important thing is to appreciate how the trajectory fits the earth, only possible with that projection.
Although technically possible, the 3D objects and the trajectory are projected on the globe, but with a mercator projection creating confusion. I'm trying to do a lot of tweaking by playing with altitude and scale to simulate that curvature, but it's still not enough.

Is there any plan to support Custom style with globe projection?
Is there any possibility to create a geojson style ('type': 'LineString') with altitude? I know there is an [open topic](https://github.com/mapbox/mapbox-maps-ios/issues/360) about this with two solutions, but they don't fit the needs I have for that specific projection

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 file, test, or entry point is identified. Start by locating the globe-projection rendering path and the custom-style and GeoJSON handling, then determine whether altitude-aware LineString data and threebox 3D trajectories are supported. Done requires a decided implementation path or a documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
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.