This repository is a vis.gl-oriented monorepo for the Tangram renderer and its deck.gl integration. It is an experimental Linux Foundation/Mapzen Tangram custodian fork; it is not the official Tangram project website.
@vis.gl/tangram-renderercontains the complete Tangram scene, tile, style, label, and luma.gl rendering runtime. It preserves the classic default Tangram API and additionally exposes named renderer entrypoints for host integrations.@vis.gl/tangram-layerscontains the experimentalTangramLayerdeck.gl adapter. deck.gl owns the device, view state, and render pass; Tangram owns scene traversal and basemap drawing.
yarn install
yarn build
yarn testThe root scripts use @vis.gl/dev-tools
for workspace bootstrap, cleaning, and Biome linting. Tangram's renderer still
uses its dedicated Rollup pipeline because it emits both the browser runtime
and the worker bundle; the package entrypoint is generated as part of that
build. yarn lint:fix applies the shared formatter and safe fixes.
To serve the deck example locally:
yarn startThen open http://localhost:8000/examples/deck/.
The deck demo defaults to WebGPU with the animated TRON style when the
browser supports WebGPU. Use ?device=webgl to exercise the WebGL path.
The full documentation is in docs/, and the runnable examples are
in examples/. The classic style gallery is a workspace package
at examples/classic and is built before the website.