Examples
Start from a use case: a tutorial you follow end to end, or a whole app whose every file is on its page. Then pick a component recipe for one piece of your page.

Route planner
Click to add waypoints, route them, and draw the elevation profile.

Race course page
A course on a map, its profile, and aid stations with cut-offs.

Import a GPX catalog
Turn GPX files into published itineraries, safely re-runnable.

MapLibre overlays
Add Mountaya's base map and overlays to your MapLibre app.
Each app is a directory under examples/ in the SDK repository, built and run there on every change.

Next.js itinerary page
Read on the server, draw on a map in the browser.

Vite map with an itinerary
Controls, an itinerary and a self-renewing session token.

Embedded Studio in Vite
The full editor in your app.

Headless studio
Studio verbs behind your own markup.

Fly-through video
Record a camera flight over a route, without React.

Node script
Mint a token, list itineraries, route a hike.

Studio tool bus in Node
Dispatch studio verbs with no page.
Each recipe runs live above its code, and the code compiles as one file.

Map controls
Zoom, terrain, points of interest and units.

Place search
Find places and fly to them.

Street View
Drag a handle onto a road.

Elevation profile
A curve, alone or synced with a map.

Segment table
Every leg, in numbers.

Race course table
Aid stations and cut-offs.

Waypoint card
One place, in our card or your markup.

Segment and waypoint lists
The studio's sidebar lists.

Studio chrome over a map
The lists beside the route.

Assemble a full studio
The editor on a session token.
New to the SDK? The Vite quickstart draws your first map in one file.