mapbox / mapbox/mapbox-gl-leaflet

Map gets stuck with version 2.8.2 of mapbox gl

Open
#152 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
546
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I upgraded to mapbox gl js v2.8.2 and when panning the map, the mapbox layer gets stuck. I've reverted to v2.5.0 and the 'stuck' has gone. I guess it could be something to do with all the extra reset() calls in v2.5.1?

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 stuck layer while panning with Mapbox GL JS v2.8.2, then compare the behavior with v2.5.0. Inspect the extra reset() calls introduced in v2.5.1 and trace the panning integration; done means the map layer no longer gets stuck on v2.8.2.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.