Skip to main content
A Baato map style is a URL, so displaying a map means pointing MapLibreGL.MapView at it. No tile server, no native configuration beyond the MapLibre setup.
centerCoordinate takes [longitude, latitude] — the opposite order from Baato’s lat and lon request parameters. See coordinate order.

Choosing a style

Swap the style name in the URL to change the look of the map:
The available styles are listed on the Map Styles API page. Custom styles you build in the My Styles section of your account dashboard work the same way — use their name in place of a built-in one.

Attribution

logoEnabled and attributionEnabled above turn off MapLibre’s own branding, which means you are responsible for showing Baato and OpenStreetMap attribution yourself:
See Attribution requirements for what has to be visible.

Next

Search and autocomplete

Let users search for a place and fly the camera to it.

Directions

Draw a route between two points.