mapbox / mapbox/mapbox-gl-js

Preloading tiles is not working on mobile

Open
#11,665 3 comments 0 reactions 1 assignee View on GitHub

@stepankuzmin is already working on this.

Since Apr 11, 2022.

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**: v2.7

**browser**: Safari iOS 15.4.1, Google Chrome 100.0.4896.56

### Steps to Trigger Behavior

1. Open [`debug/preload-tiles.html`](https://github.com/mapbox/mapbox-gl-js/blob/9fff53107b78bdaae875693b7b34c7f9acb5a1ae/debug/preload-tiles.html) on mobile
2. Trigger tiles preloading
3. Disable the network, e.g., airplane mode
4. Run the animation

### Expected Behavior

There are no blank tiles across the animation path.

### Actual Behavior

There are blank tiles across the animation path.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.