Cachingmap tilesvector tileraster tileslippy map

Map tile

Definition

A map tile is one cell of a quadtree that divides the world map at each zoom level (zoom z has 4^z tiles), served either as a raster image or as a vector tile containing geometry and attributes that the client styles.

In practice

Tiles turn map display into static content: they are generated ahead of time, have stable URLs such as /tiles/14/8529/5974.pbf, and are cached aggressively at the edge. Demand is heavily skewed toward cities and popular zoom levels, so a small edge cache serves most requests. Vector tiles are smaller than raster images and can be restyled on the device without new downloads.

The full pyramid at high zoom levels is enormous, so rarely viewed tiles are often rendered on demand rather than all precomputed. Updating map data means regenerating and invalidating affected tiles, and live layers such as traffic are kept separate from base tiles because they change every minute.

Example

Zoom level 14 has about 268 million tiles; a city map view loads around 20 of them, nearly all served from a CDN edge in under 30 ms.