mapbox / mapbox/mapbox-gl-js

Sprites from mapbox provided sources can not be loaded in v3.11.0 +

Open
#13,476 1 comment 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

mapbox-gl-js version: 3.11

also use react-map-gl: v8 (though same issues occur in v7)
browser: chrome

Steps to Trigger Behavior

background: mapboxgl-js started at v3.6.0, using mapbox-street-v8 and mapbox-terrain-v2 source

  1. upgrade incrementally minor versions
  2. at each version see if map style loads correctly
  3. at 3.11.0, getting lots of warnings for sprites not being able to load that are provided by the source(or layers not sure what is correct)
  4. sprites that I added manually from mapbox studio are loaded.
Expected Behavior

No warnings and highway sprites(and others to show up)

Image

Actual Behavior

no highway sprites(and others) with lots of warning of the sprites not being able to load.

Image

Image

the photo shows the map with no highway sprites on the numbers.

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

Reproduce the issue with mapbox-street-v8 and mapbox-terrain-v2, comparing versions before and at 3.11.0. Start by inspecting the sprite-loading warnings in Chrome and verify whether the regression is in mapbox-gl-js rather than react-map-gl. Done means source-provided highway and other sprites load without warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
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.