Skip to main content

MAX_ZOOM

Constant MAX_ZOOM 

Source
pub const MAX_ZOOM: u8 = 22;
Expand description

Maximum zoom level for slippy-map tiles.

At zoom 22 the tile grid is 4 194 304 x 4 194 304, giving roughly 2 cm ground resolution at the equator. Higher levels are impractical for raster tiles and would risk u32 overflow in axis_tiles() at zoom 32.