The Maps API Vector Service delivers vector tiles, which are representations of square sections of map data.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.tomtom.com/map//tile/basic/main///.pbf'
Response Response Example
200 - Example 1
{}
Request
Path Params
Query Params
Responses
🟢200<b>OK</b>
application/json
Body
🟠400<b>Bad request</b>: Usually the result of malformed syntax:
- the given combination of layer, style, and query parameters is not supported
- zoom n is out of range 0 <= zoom <= 22: the requested zoom level is out of the possible range
- x n is out o
🟠403<b>Forbidden</b>:
- the supplied API key is not valid for this request
- the requested view is not available in your country
🔴500<b>Internal Server Error</b>: There is a problem with the TomTom
Maps API Vector Tile service