Skip to main content
A Baato map style is just a URL. Swapping the look of your map means changing one string — the rest of the activity stays identical. See the Map Styles API for the full catalogue.

The styles

Breeze map style on Android

Breeze

Monochrome map style on Android

Monochrome

Retro map style on Android

Retro

1

Add the dependency

If you use Mapbox as your map service, the Baato Java client currently supports only the versions pinned above.
2

Add a MapView to your layout

3

Set the style URL in onCreate

Pick a tab for the style you want — only the URL changes.
4

Add attribution

Turn off the Mapbox branding and add the Baato logo. Download the logo into res/drawable first.
Displaying Baato and OpenStreetMap attribution is a condition of use. See Attribution requirements.
5

Forward the MapView lifecycle

A MapView leaks if you skip this — every lifecycle callback must be forwarded.

Full source

Each style has a standalone activity in the demo app:

BreezeMapStyleActivity

MonochromeMapStyleActivity

RetroMapStyleActivity