Part 3: Web Service Integration
SVGMap.js leverages a wide range Jamstack patterns through its advanced and flexible tiling mechanism, significantly reducing the need for dynamic web services with high server overhead compared to traditional frameworks. (References: Tutorial using SVGMapTools , Quad Tree Composite Tiling and the standardization of tiling)
However, dynamic service integration is often necessary, so here we will implement this method as a webApp layer using existing public web services. (Therefore, this tutorial will only cover the use of dynamic services and will not delve into building the dynamic service itself. GeoServer , MapServer , PostgREST + PostGIS, etc., can be used for this implementation. SVGMap.org also publishes code for building a high-performance dynamic service called redisSvgMap.)
Because services are connected as individual layers, and each layer is configured as an encapsulated application ( Layers as WebApps ) (i.e., loosely coupled), this pattern can be described as a type of microservice, specifically a microfrontend (or composite UI), applied to maps.