Get Map Styles
Maps
Get Map Styles
Returns a MapLibre-compliant style JSON based on map_id, variant, and language.
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
Thelang parameter allows you to toggle between Arabic (ar) and English (en) for all labels on the map.Path Parameters
The ID of the map configured in the console
Query Parameters
Style variant
Available options:
light, dark Language code
Available options:
ar, en The Public API Key (pk_...)
Response
MapLibre Style JSON
