Street Tiles


This endpoint will return standard street tiles according to the resolution and style settings indicated.

SettingResolutionsNight Support?Transparent Support?
global-decartamdpi, hdpi, xhdpi, xxhdpiYesYes
global-tomtommdpi, hdpi, xhdpi, xxhdpiYesYes

Request

Format

get
URL request example
<http|https>://<baseURL>/map/<versionNumber>/tile/<x>/<y>/<z>.<ext>?key=<apiKey>[&settings=<settings>][&res=<res>][&night=<night>][&transparent=<transparent>]

Communication through both HTTP and HTTPS is supported.

Parameters

The table below describes all of the parameters that can be used in a request. Required parameters _ must_ be used or the call will fail. Optional parameters, which are highlighted with [square brackets], may be used. If there is a default value that will be assumed when an optional parameter is not used, it is shown in the table. The order of request parameters is not important.

ParameterDescriptionReq'd?Type / ValuesDefault ValueMax Value
baseURLBase URL for calling the API.Yesapi.tomtom.com
versionNumberService version number. The current value is 0.Yes0
apiKeyYour TomTom API key.YesString
x

Horizontal - or "Easting" - value. Relative to the top left point.

YesInteger
yVertical - or "Northing" - value. Relative to the top left point.YesInteger
z

Zoom value. Valid values are between 0 and 20, with 0 being the most zoomed out.

YesInteger20
extValid response formats are PNG, GIF, JPG.YesString
[settings]String specifying the configuration to use for the rendering.NoString
[res]

String specifying the resolution to be used.
Please refer to the table at the top of the page for supported resolutions.


Resolutions:

 mdpi [1X / 160dpi], hdpi [1.5X / 240dpi], xhdpi [2X / 320dpi], xxhdpi [3X / 480dpi].

NoStringmdpi
[night]

Whether or not to use the night setting. Please double check that your settings support the night configuration. This is mutually exclusive with the transparent configuration.

NoBoolean
[transparent]

Returns transparent tiles when it is set to true. Please double check that your settings support the transparent configuration. This is mutually exclusive with the night configuration.

NoBoolean

Response

Format

The response will be an raster image (256x256) in the format specified in the request.