RemotionUI
Advanced

Maps

MapLibre determinism, render flags, and Turf patterns.

Maps

RemotionUI spatial components use MapLibre GL JS and Turf for deterministic map animations.

Install

npx remotion-ui add map-flight

Determinism rules

  • interactive: false, fadeDuration: 0
  • delayRender() until map idle on load and per-frame updates
  • Turf for geodesic routes — do not hand-roll coordinate math
  • Separate target route (line animation) from camera route (camera position)

Render flags

WebGL maps require ANGLE and single concurrency:

npx remotion render MapFlight out/map.mp4 --gl=angle --concurrency=1

Components

ComponentRole
map-canvasLow-level MapLibre mount
map-routeAnimated line reveal
map-markersCircle + label layers
map-flightFull flyover scene

See map-flight for the flagship example.

On this page