mapbox / mapbox/mapbox-gl-js

Some features disappeared when using pbf

Open
#13,125 0 comments 0 reactions 0 assignees View on GitHub
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**: Any version

**browser**:

### Steps to Trigger Behavior

Using PBF files, one of the point feature has a latitude of 0.000012. This point is displayed only when the zoom is greater than 12. If the zoom is less than 12, the point cannot be viewed on the map.

The test result shows that this problem occurs when the latitude is in the range of (0, 0.02).

![image](https://github.com/mapbox/mapbox-gl-js/assets/70467633/00692722-e6a8-4451-afe0-87ad8aca938f)

![image](https://github.com/mapbox/mapbox-gl-js/assets/70467633/4ee670a5-e3fc-45f2-b431-f44683b5da1c)

### Link to Demonstration

https://jsbin.com/

### Expected Behavior

### Actual Behavior

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a PBF point whose latitude is between 0 and 0.02, especially 0.000012, while varying the map zoom around 12. Done means the point remains visible below zoom 12 and the behavior is covered by a regression test; the issue does not name a file or existing test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.