mapbox / mapbox/mapbox-gl-js

some tiles not display when maxZoom=2.9

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

Nobody has claimed this yet.

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**: v2.9.1

**browser**: chrome v103

### Steps to Trigger Behavior

1. Open this example by bodepen. https://docs.mapbox.com/mapbox-gl-js/example/globe/
2. Set map's maxZoom = 2.9 when create map.

![image](https://user-images.githubusercontent.com/10242480/178176737-46158c7e-840b-42af-b0f7-1b20def01bdc.png)

### Link to Demonstration

https://codepen.io/branzhang/pen/KKoMqNr

### Expected Behavior

globe display correct.

### Actual Behavior

![image](https://user-images.githubusercontent.com/10242480/178176906-e0452c69-69ce-4453-af2a-f2b648f19e03.png)

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 globe example and the linked CodePen, reproducing the missing tiles with maxZoom set to 2.9 on mapbox-gl-js v2.9.1 in Chrome. Trace the globe rendering behavior around that zoom limit and verify that the globe displays all expected tiles without gaps.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.