Skip to main content
GET
Get Map Styles
Retrieve MapLibre-compliant style JSON objects to render vector maps in your application.

Publishable Key

This endpoint uses your Publishable Key (pk_...) via the api_key query parameter. This allows you to securely embed maps in frontend applications without exposing your Secret Key.

Rendering with MapLibre GL JS

To correctly render Arabic text and ligatures, you must use the MapLibre RTL plugin.

Style Variants

  • Light: Optimized for standard daytime navigation and POI display.
  • Dark: A high-contrast dark mode variant for nighttime use or specialized dashboards.

Language Support

The lang parameter allows you to toggle between Arabic (ar) and English (en) for all labels on the map.

Path Parameters

map_id
string
required

The ID of the map configured in the console

Query Parameters

variant
enum<string>
default:light

Style variant

Available options:
light,
dark
lang
enum<string>
default:ar

Language code

Available options:
ar,
en
api_key
string
required

The Public API Key (pk_...)

Response

MapLibre Style JSON

{key}
any