remotion-maps

Create animated map sequences in Remotion videos using Mapbox, MapLibre, MapTiler, or CesiumJS.

Updated Sep 21, 2026
Ready to run
npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill remotion-maps-tangyixiao
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: remotion-maps
Source: https://github.com/tangyixiao/tangyixiao-skills/tree/main/remotion-maps
Command: npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill remotion-maps-tangyixiao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires maplibre-gl, @turf/turf, mapbox-gl, @maptiler/sdk, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building map animations for videos requires coordinating WebGL map libraries with Remotion's frame-by-frame rendering loop, which often causes shimmer, blank frames, and non-deterministic output. This Skill provides proven, deterministic patterns for rendering animated maps inside Remotion compositions. ## Core Features & Use Cases - Five map techniques: Choose from static map images, Mapbox, MapLibre, MapTiler, or CesiumJS 3D flyovers, each as a self-contained technique directory. - Deterministic rendering: Enforces useCurrentFrame()-driven animation, delayRender() gating, preserveDrawingBuffer, and ANGLE rendering to avoid shimmer and blank captures. - Reusable components and pipelines: Ships assets like CesiumFlythrough.tsx, RiverReveal.tsx, and geo-preparation scripts for route reveals, country borders, and camera flythroughs. - Use Case: Animate a great-circle flight route from Zurich to New York with markers, labels, and a moving camera, rendered as an MP4 via bunx remotion render --gl=angle. ## Quick Start Ask the AI to animate a dot traveling from Zurich to New York on a map in a Remotion video using the remotion-maps skill.

Frequently Asked Questions about remotion-maps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate a map route in a Remotion video?▼

Use MapLibre or Mapbox GL with Turf to build a great-circle route, then slice it per frame with turf.lineSliceAlong driven by useCurrentFrame(). Gate map loading and each frame with delayRender and continueRender, and render with --gl=angle.

Mapbox vs MapLibre for Remotion map animations?▼

MapLibre requires no API key and is fully free but lacks 3D buildings. Mapbox requires an access token but offers nicer default styles, a globe view when zoomed out, and 3D buildings such as the Eiffel Tower.

Why does my Remotion map render shimmer or jitter?▼

Calling map.jumpTo() on every frame causes hillshade and satellite imagery to shimmer in headless capture due to renderer resampling. Use a fixed map plate with CSS transforms for pan and zoom, and verify with a short rendered MP4.

Can I render 3D terrain flyovers in Remotion with CesiumJS?▼

Yes, use the CesiumFlythrough component with MapTiler terrain and satellite for landscapes or Google Photorealistic 3D Tiles for cities. Set useDefaultRenderLoop to false, call viewer.render() per frame, and enable preserveDrawingBuffer.

Why is my headless Cesium render black with only stars?▼

The globe does not draw in standalone headless Chromium, and scene.render() skips frame initialization so tiles never load. Render through Remotion's frame loop and call viewer.render(), never scene.render(), each frame.

Do I need an API key for MapTiler or Google 3D Tiles?▼

MapTiler techniques require an unrestricted REMOTION_MAPTILER_KEY. City flyovers with Google Photorealistic 3D Tiles require REMOTION_GOOGLE_MAPS_API_KEY with the Map Tiles API enabled and billing active.