real-time-maps
A reference architecture for showing real-time data on Mapbox maps. It includes an election example where county results update live.
Share on XLicense: BSD-3-Clause
Overview
real-time-maps is a reference architecture for showing live data on Mapbox maps. It accompanies Mapbox's Real-time Mapping solution page and explains how the pieces fit together. The included example is an election map of US counties that change color as a server reports voter participation. The data is based on historic turnout and animated with simulated poll-closing times. You run it locally with a Mapbox access token and can swap in your own tileset and style.
Key features
- Election example with counties updating live from a server
- Three parts: web client, SSE server and data scripts
- Joins tiled geometry with real-time data on the client
- Steps to upload sample data and use your own tileset
Best for
Developers who want a working model for streaming data onto a Mapbox map. The demo uses simulated data, so expect to replace the data source for real use.
- Upstream
- mapbox/real-time-maps
- Fork on GitHub
- Guo-astro/real-time-maps
- Upstream stars
- 73
- Category
- Maps and geospatial
- License
- BSD-3-Clause
- Forked
- 2020-11-01
- Sync status
- In syncLast synced 2026-09-29
More in Maps and geospatial
An open source command line toolkit that turns drone, balloon or kite photos into maps, point clouds, 3D models and elevation models. Used for aerial mapping and surveying.
Forked 2026-06-09Last synced 2026-09-29License: AGPL-3.0Maps and geospatialGitHub
A mobile web prototype for map lighting challenges. An organizer picks a real area and shares a link, and participants light up map cells by walking around it.
Forked 2026-06-09Last synced 2026-09-29No license declaredMaps and geospatialGitHub
A web app that generates a 3D map of real cities with building and road data, built with React Three Fiber. Maps can be exported as GLB files.
Forked 2026-05-09Last synced 2026-09-29License: MITMaps and geospatialGitHub
An open-source library for showing interactive vector tile maps in iOS, Android and desktop apps. It uses the GPU for fast rendering and is used to add maps to native applications.
Forked 2025-12-31Last synced 2026-09-29License: BSD-2-ClauseMaps and geospatialGitHub