tiles

`GET /tiles/{territory}/tiles.json`: a TileJSON 3.0 document.

The zoom range, bounds and centre come from the PMTiles header; the tile template and attribution are filled in for the client.

data_updated reports how fresh the map behind those tiles is as an ISO-8601 date (YYYY-MM-DD), and data_updated_source names which of three sources answered, weakest last:

data_updated_sourcemeaning
channel_indexthe OSM extract date of the territory's latest published package
archive_osm_replicationthe archive's own planetiler:osm:osmosisreplicationtime
archive_mtimewhen the .pmtiles file was last written: a proxy for the data date, not the data date

Both are null when even the file's mtime is unreadable, and null means unknown, never "current". See [territory_data_updated] for why the chain has three links.

get/tiles/{territory}/tiles.json

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/tiles/{territory}/tiles.json
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Path parameters

territorystring required

Territory id, e.g. uk

Response

TileJSON 3.0 document

Changes

No recorded changes to this operation across all 1 revision of this API.