Get the Mapbox sprite image of a project

Returns the Mapbox sprite image of a project (PNG): the symbols and patterns of its styles, packed in one image.

Required role: ORG_VIEWER, and the current user must have the VIEW permission on the project.

Scale (scale)

The pixel ratio of the sprite: 1, 2 or 3 ([email protected] for high-density screens). Another value returns 400. Without @{scale}x, the scale is 1.

Locale (locale)

With locale (en, fr, es), the texts (layer names, labels) are in that locale, or in the project's default language when there is no text in that locale. A code that isn't a known language returns 400.

Mapbox / MapLibre

These endpoints serve a project to map clients that read the Mapbox style specification (Mapbox GL JS, MapLibre GL JS, ...). The style document references the sprite (.../mapbox-sprite): the symbols and patterns of the project's styles packed in one PNG image, with a JSON index of their positions.

The URLs in the documents are built from the request (X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-Port are used when present).

Organization

organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

Query Params
string

ISO 639 language code (en, fr, es): texts are in this locale

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json