Build an offline-first map and track recorder over open data. Basemap: use OpenStreetMap-derived vector tiles. Download a region as a single PMTiles archive, which is one file you can host statically or carry on a device, and render with a client-side vector map library. Vector rather than raster matters here: the same file gives you every zoom level at a fraction of the size, and styling is a stylesheet rather than a re-render. Add a terrain layer from an open digital elevation model, rendered as hillshade and contour lines. Contours are what make a topographic map useful, and generating them from open elevation data is a well-trodden path. Offline is a hard requirement, not a mode. The app must load, render, locate and record with the radio off — test that literally, in airplane mode, before adding any feature. Store the recorded track in IndexedDB with a write every few seconds and a wake lock so a locked screen does not stop the recording. Waypoints, routes and tracks all import and export as GPX, since that is what every other tool speaks. Build the coverage screen: which regions you have downloaded, how much space each takes, and when it was last refreshed. Discovering at a trailhead that your download stopped at the valley entrance is the failure this prevents. Do not resell or redistribute licensed layers. Satellite imagery and proprietary topo sets have terms; use open data or pay a provider directly and keep the key yours.