Zoom levels and tile grid

Azure Maps use the Spherical Mercator projection coordinate system (EPSG: 3857).

The world is divided into square tiles. Render (Raster) has 21 zoom levels, numbered 0 through 20. Render (Vector) has 23 zoom levels, numbered 0 through 22. At zoom level 0, the entire world fits on a single tile:

World tile

Zoom level 1 uses four tiles to render the world: a 2 x 2 square

World tile top left World tile top right

World tile bottom left World tile bottom right

Each subsequent zoom level quad-divides the tiles of the previous one, creating a grid of 2zoom x 2zoom. Zoom level 22 is a grid 222 x 222, or 4,194,304 x 4,194,304 tiles (17,592,186,044,416 tiles in total).

The following table provides the full list values for zoom levels:

Zoom level Meters/pixel Meters/tile side
0 156543 40075008
1 78271.5 20037504
2 39135.8 10018764.8
3 19567.9 5009382.4
4 9783.9 2504678.4
5 4892 1252352
6 2446 626176
7 1223 313088
8 611.5 156544
9 305.7 78259.2
10 152.9 39142.4
11 76.4 19558.4
12 38.2 9779.2
13 19.1 4889.6
14 9.6 2457.6
15 4.8 1228.8
16 2.4 614.4
17 1.2 307.2
18 0.6 152.8
19 0.3 76.4
20 0.15 38.2
21 0.075 19.1
22 0.0375 9.55

Tiles are called by zoom level and the x and 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 17. However, if the western point is on the right of its tile, and the eastern point on the left of its tile, it may take four tiles:

Zoom demo scale

Once the zoom level is determined, the x and y values can be calculated. The top left tile in each zoom grid is x=0, y=0; the bottom-right tile is at x=2zoom -1, y=2zoom-1.

Here is the zoom grid for zoom level 1:

Zoom grid for zoom level 1