TomTom

TomTom Tile Layer

Used to fetch map tiles from TomTom.

  • Base URL: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png

GET /map/1/tile/basic/main/{z}/{x}/{y}.png

  • Description: Retrieves map tiles for specified zoom level and coordinates.

  • Parameters:

    • z (integer): Zoom level.

    • x (integer): X-coordinate of the tile.

    • y (integer): Y-coordinate of the tile.

    • key (string, query parameter): Your TomTom API key.

  • Example Request:

    httpCopy codeGET https://api.tomtom.com/map/1/tile/basic/main/10/512/384.png?key=YOUR_TOMTOM_API_KEY
  • Response:

    • 200 OK: Returns the requested map tile image.

    • 4XX/5XX: Returns an error message if the request fails.

Last updated