mapbox / mapbox/mapbox-gl-js

Tile placement calculation/rendering seems to be broken since a few days

Open
#12,787 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Since a few days my map does not render well: [screenshot](https://imgur.com/a/b0MDInq) (for some reason imgur thinks screenshots of broken maps are "mature" content)
Seems like the tiles are misplaced, mouse events are broken too.
What's strange is it started happening a few days go, first only on the production build, but today it started happening in dev too.
I get no significant errors in the console.

### Steps to Reproduce

I'm not sure why it's happening. The mapStyle is at: mapbox://styles/stant/cl96hp971009714n3d59dlrt5

### Environment

- Version used: mapbox-gl (2.15.0) with react-map-gl (7.1.0)
- Browser: Firefox, Chrome
- OS: Mac, Windows, Linux

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

No source files or tests are identified. Start by reproducing the issue with the reported mapStyle in mapbox-gl 2.15.0 and react-map-gl 7.1.0 across the listed browsers and environments, then compare tile placement and mouse events with a working version. Done means the map renders tiles in the correct positions and mouse interaction is restored.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.