mapbox / mapbox/mapbox-gl-js

datalayer type circle expands circles to full size at certain zoom level

Open
#12,854 5 comments 1 reaction 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

After upgrading my mapbox v2.15 to mapbox v3 to get the new 3d map the circles from my datalayer filled up the whole map. I cant see anything but the colors of the circles at a certain zoom level with a pitch of 0.

**mapbox-gl-js version**: [v3.0.0-beta.1](https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.0.0-beta.1)

**browser**: Chrome v115.0.5790.171, Firefox v116.0.2

### Steps to Trigger Behavior

1. Create a 3D map
2. Add a source and a layer of type circles to the map
3. Zoom into the circles at the map (Pitch should stay at 0)

[JSFiddle](https://jsfiddle.net/yzf3xbdh/5/)
(zoom in)

### Expected Behavior
- Circles should remain at every zoom level
### Actual Behavior
- Circles disappear at a zoom level 6 or higher

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 JSFiddle and reproduce the issue using mapbox-gl-js v3.0.0-beta.1, a circle layer, zoom 6 or higher, and pitch 0. Compare the expected persistent circles with the reported disappearance, then trace the circle-layer rendering path to identify the regression and verify the fix across the listed browsers.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.