Client-Side vs Server-Side Map Rendering
Client-side rendering draws map content in the user's device, while server-side rendering produces map images or other render outputs before they reach the client.
Compare rendering responsibility by interactivity, consistency, compute cost, data exposure, caching, and map complexity without reducing the distinction to vector versus raster.
Client-Side vs Server-Side Map Rendering
Client-side rendering draws map content on the user's browser or device, whereas server-side rendering produces the rendered map output on infrastructure controlled by the publisher and sends that result to the client.
Both approaches can be used in web mapping, and many real systems combine them.
The important question is where cartographic work happens, not whether the source data are vector or raster.
Client-side rendering keeps styling close to interaction
A browser renderer can receive vector tiles, GeoJSON, raster sources, fonts, and style rules, then assemble the visible map locally.
This enables:
instant style changes;
interactive filtering;
feature highlighting;
zoom-dependent labels;
smooth camera transitions;
data-driven symbols;
dynamic layer visibility.
Vector-tile maps are a common example, but client-side rendering can also combine raster imagery and other sources.
Server-side rendering centralises the output
A server can render a map into an image or tile before sending it to the user.
This can provide:
consistent rendering across clients;
central control of fonts and symbolisation;
lower client GPU/CPU requirements;
easier delivery of complex raster processing;
cacheable image outputs;
reduced exposure of some underlying feature data.
Traditional raster tile services are a familiar example.
The same system can use both
A map may use server-rendered hillshade or satellite imagery as raster tiles and client-rendered vector labels and overlays on top. Similarly, a web GIS application can request a server-generated analytical raster while styling selection or editing feedback client-side.
The architecture is not an ideological choice between two mutually exclusive camps.
Client rendering shifts cost to user devices
The publisher may reduce server rendering work, but each user's device must parse and draw the map. Consequently, complex vector geometry, many labels, expensive expressions, or a large number of layers can stress mobile devices even when network transfer is efficient.
Performance testing should therefore include representative low- and mid-range hardware rather than only a developer workstation.
Server rendering can limit interaction
Once a road and label have been flattened into image pixels, the browser cannot freely recolour that road or inspect its attributes unless another data service provides the information separately.
This can be perfectly acceptable for a basemap or static publication where visual consistency matters more than feature-level interaction.
Data sensitivity can influence the choice
Client-side vector rendering often requires sending some feature geometry and attributes to the user's device, and hiding a layer in the interface does not make already-delivered data private.
If underlying features are sensitive, server-side processing or carefully filtered tile generation may reduce what reaches the client.
This is an architectural security consideration, not a styling preference.
Choose based on interaction and operational constraints
Prefer more client-side rendering when users need responsive restyling, feature interaction, and rich browser behaviour and the target devices can handle the workload. Prefer more server-side rendering when consistency, central control, heavy raster processing, caching, or limiting data exposure matters more than per-feature client flexibility.
Hybrid systems are common because different layers have different needs.
Related content
Raster Tiles vs Vector Tiles — common delivery structures
What Is a Map Style Specification? — client-side rendering rules
Web Map vs Web GIS Application — broader application architecture