Get started

Get started

TypeScript SDK

Fetch Mountaya data, draw it on a map, and edit it, in a browser or on a server.

Pick your path

Using a framework? Start from Next.js, Vite, Node, or Vue, Svelte and plain JavaScript.

Pick your packages

You are buildingInstall
A server, a worker, or a script@mountaya/client
A React app that reads data@mountaya/client-react and @tanstack/react-query
A map in React@mountaya/elements-react and maplibre-gl
A map in Vue, Svelte or plain JavaScript@mountaya/elements and maplibre-gl
An elevation profile or a route table, no map@mountaya/elements-react
The Embedded Studio@mountaya/studio-react

Each line also needs @mountaya/client, which holds your credential. Install has the exact commands.

Requirements

  • 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 name 6.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.

Next steps

Last updated