Returns the index of the Mapbox sprite of a project: for each image, its position and size in the sprite image.
Required role: ORG_VIEWER, and the current user must have the VIEW permission on the project.
The response is the index itself (no result wrapper): { "<image name>": { "x": ..., "y": ..., "width": ..., "height": ..., "pixelRatio": ... } }.
Scale (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)
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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||