mapbox / mapbox/mapbox-gl-js

Circle layer circle-translate doesn't translate at zoom level < 6

Open
#13,343 1 comment 0 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**:
3.8.0

**browser**:
chrome

### Steps to Trigger Behavior
1. create a circle layer with a circle-translate applied
2. set the zoom to a level to 5.
3. Note where the circle is
4. zoom in until the circle-translate applies. you'll see the circle layer jump on the map.

### Link to Demonstration
https://jsfiddle.net/4g6zytc5/

### Expected Behavior
The circle-translate is always applied to the circle layer.

### Actual Behavior
The circle-translate applies once you reach zoom level 6 or greater.

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 by reproducing the behavior from the linked JSFiddle in mapbox-gl-js at zoom level 5, then zoom in past level 6 and compare the circle's position. Trace the circle layer's circle-translate handling across zoom levels; done means the translation remains applied without the visible jump below zoom level 6.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.