Use the map without React
MountayaMap is the map the React elements are drawn on, reached directly. The quickstart mounts one in Vue, Svelte or plain TypeScript. This page covers what you do with it next.
set replaces one value and add appends. Each method places what it draws at the right height in the layer order.
setItinerary fetches. If your cache already holds the specification, draw it with setSpecification, with no second request:
Add a layer at a Mountaya rank, so it sorts correctly against the map's own:
To swap the base style and keep what you drew, use setStyle:
on returns its own unsubscribe, so a framework's unmount hook calls what its mount hook returned:
If you construct MapLibre yourself, attach the credential with createTransformRequest. Without it, tiles answer 401.
These entries pull in no renderer, so a server or a worker can use them: