visgl / visgl/deck.gl

[Feat] Add a viewport buffer around TileLayer

Open
#8,795 4 comments 1 reaction 1 assignee View on GitHub

@charlieforward9 is already working on this.

Since Apr 29, 2026.

feature
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Target Use Case

Right now if you pan or zoom a TileLayer, you'll see the new tiles come in on the edge of the screen, which leads to a choppy user experience. It would be nice if there was an option on the TileLayer to pre-load tiles off the edge of the screen so that no tile loading is visible in most cases (you'd probably still see tile loading when moving the camera quickly, such as with fly animations). This visual issue can be seen on the TileLayer example when you zoom in/out or pan the map.

Proposal

Maybe an extra option on the TileLayer for viewportBuffer or something where we can specify the number of pixels past the edge of the viewport to pre-load/render tiles in.

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.