mapbox / mapbox/mapbox-gl-js

3D terrain / extrusions rendering problems on mobile.

Open
#13,280 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mapbox-gl-js version:
latest. 13^

browser:

Steps to Trigger Behavior
  1. use 3D terrain in a style
  2. Load style via mapbox gl.js and zoom to 10+ on a iOS mobile device in safari
  3. See exaggerated extrusiuons that render the map useless, scaling off the viewport.
Link to Demonstration

https://jsbin.com/

Expected Behavior

Normal disaply of 3D terrrain

Actual Behavior

Wildly exaggerated 3D terrain

image

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 with the linked JSBin and reproduce the issue on iOS Safari using a style with 3D terrain at zoom 10 or higher. Compare the rendering with the expected normal terrain display and investigate the exaggerated extrusions; done means the terrain stays within the viewport and renders normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
computer-graphics, mobile-dev, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.