mapbox / mapbox/mapbox-gl-js

validate sprite URL is defined when a style uses sprite-dependent properties

Open
#6,823 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue testing :100:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**:

0.45.0

**browser**:

Google Chrome | 66.0.3359.181 (Official Build) (64-bit)

### Steps to Trigger Behavior

1. Toggle between `symbol-osm` (style based on OSM raster TMS) and `symbol-streets` (mapbox streets style)

### Link to Demonstration

https://mapkibera.github.io/counties/test.html

### Expected Behavior

symbol layer visible whether OSM TMS style or mapbox streets style

### Actual Behavior

symbol layer only visible with mapbox streets style

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 with the linked demonstration and reproduce switching between the symbol-osm and symbol-streets styles in Chrome. Trace how the selected style defines or omits a sprite while rendering sprite-dependent symbol properties; done means the symbol layer remains visible with both styles.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.