Rebuilding TerriaMap UI: A Minimalist Approach Without Forking TerriaJS
11-20, 16:20–16:25 (Pacific/Auckland), WG403

TerriaMap is just a wrapper around TerriaJS core. This talk will demonstrate how to strip away the default UI without touching the core and add two custom controls: switching between 2D/3D view modes and toggling base maps.


TerriaMap wraps the powerful TerriaJS engine, but it comes with a pre-built UI that may not suit every project. In this talk, I’ll show how you can completely remove the standard UI in TerriaMap and build a simple custom interface, without touching TerriaJS core code or maintaining a fork.

I’ll walk through how to hook into UserInterface.tsx, connect to the Terria instance, and wire up two minimalist controls: switching between 2D/3D view modes and toggling base maps. The talk will feature a few before-and-after screenshots, as well as a link to a public repository with the full implementation for anyone interested in diving deeper.

A mathematician converted to geospatial software engineering.