Skip to main content
The Java client wraps the Baato API in listener-based request builders that fit Android’s threading model — every call is asynchronous, with onSuccess and onFailed callbacks.

Source on GitHub

baato/java-client

Runnable examples

Autocomplete, drop-a-pin, map styles and navigation.

Installation

The client is distributed through JitPack. Add the repository to your project’s build.gradle:
Then add the dependency to your application’s build.gradle:
Replace ${latest-version} with the current release tag from the GitHub releases page.

Usage

Search — place suggestions

Search results carry no coordinates — pass a result’s placeId to BaatoPlace to get them. See the two-step search flow.
Waypoints are "lat,lon" strings, the reverse of the [lng, lat] order map renderers use. See coordinate order.

Next

Autocomplete

A working search screen built on this client.

Navigation SDK

Add turn-by-turn navigation on top.