'Web Maps - Responsibilities of frontend & backend

When using web map services such as Leaflet/Openlayers etc, are different raster layers fetched separately and laid on top of each other client-side, or are they composed on the server side?

Thank you



Solution 1:[1]

It depends if you make a separate request for each layer then the server will generate one image for each layer. However, if you make a request with several layers in it then the server will send back one combined image for all the layers, this is usually fastest.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ian Turton