Skip to content

MapLibre implementation of video tiles - #1

Open
fgassert wants to merge 4 commits into
mainfrom
feature/maplibre-videotile
Open

MapLibre implementation of video tiles#1
fgassert wants to merge 4 commits into
mainfrom
feature/maplibre-videotile

Conversation

@fgassert

@fgassert fgassert commented Feb 15, 2026

Copy link
Copy Markdown

Implements a Maplibre native version of video tiles as a custom Source derived from RasterTileSource.

I played around a bit trying to improve the performance of the Deck.gl implementation and learned a few things:

  • Deck.gl layers don't work well in globe view because the path/polygons don't align with the maplibre globe. You can make it work but performance is terrible.
  • You can pass videoframes directly to deck.gl/maplibre saving memory and cpu cycles.
  • A decoder queue ensures that tiles load correctly. (Firefox fails with too many parallel decodes, complaining The given encoding is not supported.).
  • Firefox performance is better than Chrome?
  • Can't set maxTileCache per-source in Maplibre. Only on the base map object? Too many cached tiles affects performance.

There are some hacks to get typescript to not complain. I don't know if this is normal since I don't usually work in typescript.

@vercel

vercel Bot commented Feb 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
video-tiles Ready Ready Preview, Comment Apr 16, 2026 11:43am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants