Skip to main content
GET
Get a vector map style

Available styles

This table is the canonical list of style names. Other pages in these docs link here rather than repeating it.
The breeze map style

breeze

The monochrome map style

monochrome

The retro map style

retro

Custom styles you create in the My Styles section of your account dashboard are served from the same endpoint — use your style’s name in place of a built-in one.

Using a style

The response is a Mapbox Style Specification document, so any compatible renderer consumes the URL directly. There is nothing to parse or transform.
Map renderers take [longitude, latitude], the reverse of Baato’s lat and lon request parameters. See coordinate order.
This endpoint is the one exception to Baato’s response envelope — it returns the raw style document, because renderers consume it directly.

Runnable examples

Web

A complete HTML page with MapLibre and Mapbox GL.

Android

Applying and switching styles in an activity.

Flutter

Rendering a styled map with baato_maps.

React Native

MapLibre React Native with a Baato style URL.
Displaying Baato and OpenStreetMap attribution is a condition of using these styles. See Attribution requirements.

Authorizations

key
string
query
required

Your Baato access token. See Authentication.

Path Parameters

styleName
enum<string>
required

The name of the style requested.

Available options:
monochrome,
breeze,
dark,
black_white,
roads,
retro

Response

A Mapbox Style Specification document. The shape is defined by that specification rather than by Baato.

The response is of type object.