← Toutes les opérations
GET/v1/tiles/{z}/{x}/{y}.pbf

Vector tile (Mapbox Vector Tile, `application/x-protobuf`)

Serves the AfriMap default tileset at the requested zoom/column/row. Compatible with MapLibre GL and any MVT consumer. See `tileStyle` for the matching style document.

Paramètres

NomEmplacementTypeDescription
z requiredpathinteger
x requiredpathinteger
y requiredpathinteger

Réponses

  • 200MVT tile bytes.

Exemples de code

curl -o tile.pbf "https://api.afrimap.ci/v1/tiles/12/2048/1967.pbf" \
  -H "X-AfriMap-Key: $AFM_KEY"