mapbox / mapbox/mapbox-gl-js

How does mapboxgl handle rendering with different vector data at different zoom?

Open
#13,090 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged docs :scroll:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

For example, when rendering buildings, when zoom changes from 5 to 6, are the rendering objects of zoom 5 deleted and then rendered at zoom 6? Will this cause flickering? How does mapboxgl handle preventing flickering?

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

No source file or test is identified in the issue. Start by tracing mapbox-gl-js's vector-tile rendering path across zoom changes, then document whether prior zoom-level rendering objects are replaced and how transitions avoid flickering.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.