Skip to main content

Part 2: WebApp Layer Edition

SVGMap has the unique feature of not only allowing simple static SVGMap content as layers, but also enabling the use of the WebApp Layer mechanism (Layers as Web Apps: LaWA), which allows you to dynamically control and modify the SVGMap content (DOM) of a layer using JavaScript code by associating it with a web application. (What is a Web Application?)

This mechanism essentially does not affect other layers (encapsulation), thus preventing the application from becoming spaghetti code.

The WebApp Layer section involves coding a WebApp that utilizes this functionality. However, as with the basic section, no dynamic mechanisms need to be built on the server side. (Still, only static content and WebApp files (html and js) are placed on the server; no DBMS or dynamic mechanisms (web services) are built on the server.)

Furthermore, SVGMap.js can also be used to connect to and operate dynamic servers (web services) that use mechanisms for dynamically distributing map and geographic information, such as WMS and WFS, or DBMS . Please refer to the Web Service Integration section.