TypeScript SDK
Fetch Mountaya data, draw it on a map, and edit it, in a browser or on a server.
The packages are not on npm yet
Fetch data
Call the Map Studio, Data and Tile APIs from one typed client.
Show a map
A map, its controls and your itineraries, in React or any framework.
Embed the studio
Mountaya's itinerary editor inside your product.
Using a framework? Start from Next.js, Vite, Node, or Vue, Svelte and plain JavaScript.
Each line also needs @mountaya/client, which holds your credential. Install has the exact commands.
- Node 22.18 or later, for the packages and their tooling.
- React 19 for the React packages, and TanStack Query 5 for
@mountaya/client-react. - MapLibre GL 6, for any map. The packages accept
^6.10.0, and the install lines name6.18.0. - A Mountaya account. The Data API is self-serve. The Map Studio API, the Tile API and the Embedded Studio come with an agreement.
The packages are published under the Mountaya SDK License: you may bundle them into your product while you use Mountaya's services.