Quickstart
Add Mountaya's hillshade to a MapLibre GL JS map you already run. You fetch the overlay's specification, then register the sources and layers it lists.
1
Use a publishable key with the tiles scope, from Organization → API keys in the Mountaya app.
2
Each overlay describes the sources and layers to add, with their style already set.
Hillshade has one raster-dem source, which holds elevation, and one hillshade layer drawn from it.
3
Add each source, then its layers, once the map has loaded. A map fetches tiles on its own and cannot send headers, so add your key to each tile URL as publishable_key.
Zoom in on the mountains: hillshade draws from its layer's zoom_min. To draw another overlay, change the slug in the specification URL.