Zoom Levels and Tile Grid
Service version: 1
Last edit: 2020.08.05
On this page
TomTom Maps use the Spherical Mercator projection coordinate system (EPSG:3857).
The world is divided into square tiles.
- Maps Raster has 23 zoom levels, numbered
- Maps Vector has 23 zoom levels, numbered
At zoom level
0, the entire world fits on a single tile:
1 uses 4 tiles to render the world: a 2 x 2 square.
Each subsequent zoom level quad divides the tiles of the previous one, creating a grid of 2zoom x 2zoom.
For example, zoom level
22 is a grid 222 x 222, or 4,194,304 x 4,194,304 tiles (result: 17,592,186,044,416 in total).
To discover the real-world size of a single tile on a given zoom level, we can use the formula circumference of earth / 2zoom level that produces number of meters per tile side, where the circumference of the earth equals
The full data table of values for zoom levels is here:
|zoom level||meters/pixel||meters/tile side|
Tiles are called by zoom level and the
y coordinates corresponding to the tile's position on the grid for that zoom level.
When determining which zoom level to use, remember that each location is in a fixed position on its tile.
- This means that the number of tiles needed to display a given expanse of territory is dependent on the specific placement of zoom grid on the world.
- For instance, if there are two points 900 meters apart, it may only take three tiles to display a route between them at zoom level
However, if the western point is on the right side of its tile, and the eastern point on its left side, it may take four tiles as shown in the following diagram:
Once the zoom level is determined, the
y coordinate values can be calculated:
- The top-left tile in each zoom grid is
- The bottom-right tile is at
Here is the zoom grid for zoom level