Class: LayerControl

LayerControl()

Via this component, the GeoServer is mainly controlled. Layers can be added to the web GIS after selecting a pilotarea

Constructor

new LayerControl()

Source:

Methods

addLayers()

This function starts the proccess of copying the layers from the "Inbox" to our server and adding them to the GeoServer for serving them to the web GIS This happens via the addLayers action (SuperuserContainer -> Superuser -> LayerControl) Function can only be called after checkExcelFile function (UI is hidden before)

Source:

checkExcelFile(layers)

This function parses the Excel files for the specified pilotarea The pilotarea was specified in the getLayers function Parsing via the readExcelFile action (SuperuserContainer -> Superuser -> LayerControl)

Parameters:
Name Type Description
layers object

the response object from the getLayers function Function can only be called after the getLayers function (UI is hidden before)

Source:

getLayers(area)

This function fetches the layers from the geoserver that area online for the given pilotarea. It fetches via the getLayers action (SuperuserContainer -> Superuser -> LayerControl)

Parameters:
Name Type Description
area string

the uri string of the pilotarea

Source: