Read Raster Tile using API calls?

Hi Devs,

I am trying to find the API for reading just one tile small tile of size 256x256 for one particular lat/long.

But not able to find respective API. I am referring to this documentation:
https://developer.tomtom.com/content/maps-api-explorer#/

Here, we have something like:
https://api.tomtom.com/map/1/tile/basic/main/22/200/200.png?tileSize=512&view=Unified&key=*****

But, this above url asks for x,y, which I am not sure what is! shouldn’t it be lat/long?

Please help me!

Can somebody let me know if they have done the same?

Hi!

I think that you can check the Static Image Service. You can play with various parameters for this call by using an API Explorer.

Below you can find an example call which gives you a 256x256 tile of Berlin city.

https://api.tomtom.com/map/1/staticimage?layer=basic&style=main&format=png&zoom=9&center=13.412108%2C%2052.515568&width=256&height=256&view=Unified&key=****

1 Like

X and Y parameters are described also here: https://developer.tomtom.com/maps-api/maps-api-documentation/zoom-levels-and-tile-grid