Get started

Kotlin SDK

Kotlin SDK

Fetch Mountaya data, draw it on a Compose map, and follow a route, from Kotlin Multiplatform modules.

Pick your path

Pick your packages

The SDK is five modules on Maven Central, released together at one version. Add only the ones you use.

You are buildingAdd
An Android app, shared Kotlin code or a server that reads datamountaya-client
A JVM server that mints session tokens, runs an organization or receives webhooksmountaya-client and mountaya-admin
Distances, units, elevation profiles or search rules, with no mapmountaya-geo
Turn-by-turn navigation on Androidmountaya-navigation
A map, its controls, search, an elevation profile or route tables in Composemountaya-elements

Install and set up has the Gradle lines.

Requirements

FloorVersion
The Kotlin a consumer compiles withKotlin 2.4 or newer
The Java its jvm and Android code targetsJava 17 or newer
The API level an Android app runs fromminSdk 24 or higher
The API level an Android app compiles againstcompileSdk 37 or higher

The SDK is published under the Mountaya SDK License: you may ship it inside your product while you use Mountaya's services.

Next steps

Last updated