The viewer is setup in a modular way from which the most important components are:
- WMJSService - This component keeps a store of GetCapability requests and makes the calls to the services. It has functions to get the list of Layers from a service.
- WMJSMap - This is the main mapping component
- WMJSDimension - Dimension component
- WMJSLayer - This component holds all properties for a Layer and has functions to parse the service documents.
- WMS GetCapabilities --> WMJSService --> WMJSLayer --> WMJSMap --> Frontend Map