mapbox / mapbox/mapbox-gl-js

Add preflight tile loading for camera animations

Open
#11,369 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Motivation

Some users may experience blank or missing tiles during the camera animation due to a slow or unstable internet connection.

Design

We can improve the perceived performance of camera animations by kicking off some future tile requests ahead. E.g., requesting the parent tiles for the last transform or tiles with the lowest zoom level along the animation path.

First, this was introduced in #11328 and then dropped in #11357 after discovering some breaking changes.

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 reviewing the prior implementations in #11328 and #11357, especially why the change was dropped after breaking changes were found. The work is done when camera animations prefetch appropriate future or parent tiles without reintroducing those breaking changes or leaving blank tiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.