The Maps API Raster Service delivers raster 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///.png'
Response Response Example
200 - Example 1
{}
Request
Path Params
Query Params
Responses
🟢200<b>OK</b>
application/json
Body
🔵302<b>Found</b>: URL redirection
🟠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 < 19: the requested zoom level is out of the possible range
- x n is out of
🟠403<b>Forbidden</b>:
- the supplied API key is not valid for this request
- the requested view is not available in the country where the request was sent from
🟠410<b>Gone</b>: Request for unsupported format
🔴500<b>Internal Server Error</b>: There is a problem with the TomTom
Maps API Raster Tile service