Terrain Viewer

Developer documentation

How Terrain Viewer is built, for contributors and the curious. Setup and structure, the URL as an API, the custom tile protocols, the historical imagery adapters, and the internals of the map and the interface.

Terrain Viewer is a client-side app, React and MapLibre GL, with no backend: every visualization is computed in the browser from the elevation tiles, and every setting lives in the URL. These pages are for anyone running it locally, embedding it, or reading its source.