Class: LayerView

Menu.Desktop.Layer LayerView

LayerView

new LayerView()

modules/menu/desktop/layer/view.js, line 23
Fires:
  • ModelList#event:RadioRequestModelListSetIsSelectedOnParent
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer

Menu.Desktop.Layer LayerView

LayerView

new LayerView()

modules/menu/desktop/layer/viewLight.js, line 33
Fires:
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer

Menu.Desktop.Layer LayerView

LayerView

new LayerView()

modules/menu/desktop/layer/viewSelection.js, line 26
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer

Menu.Mobile.Layer LayerView

LayerView

new LayerView()

modules/menu/mobile/layer/view.js, line 32
Fires:
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer

Menu.Mobile.Layer LayerView

LayerView

new LayerView()

modules/menu/mobile/layer/viewLight.js, line 32
Fires:
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer

Menu LayerView

LayerView

new LayerView()

modules/menu/table/layer/singleLayerView.js, line 26
View to represent single layer entries in layer menu of table-style
Fires:
  • Parser#event:RadioTriggerRemoveItem
Listens to Events:

Extends

Methods

addDisableClass(text){void}

modules/menu/desktop/layer/view.js, line 189
todo
Name Type Description
text string -

copyToClipboard(){void}

modules/menu/desktop/layer/viewClassic.js, line 197
Copies the url to the clipboard.

decTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 223
Executes decTransparency in the model

decTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 178
Executes decTransparency in the model

decTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 159
decrease the transparency of the layer

fetchXml(url, useProxy){Promise}

modules/menu/desktop/layer/viewClassic.js, line 550
Fetches a XML and returns its text on success
Name Type Description
url String the url to fetch from
useProxy boolean flag to indicate if CORS proxy should be used
Returns:
promise

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 278
Recursively walks through the layer object of a WMS getCapabilities layer and returns the layer that matches with the given layername
Name Type Description
layername String name of layer to find
layers Object | Array Layers object/array of a getCapabilites document
Returns:
layer

getExtentFromVectorSource(){Object}

modules/menu/desktop/layer/viewClassic.js, line 475
Get the extent for a vector layer. On success, returns with an object of the following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
bbox object

getExtentFromWfs(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 314
Gets the extent of the layer as specified in its WFS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWms(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 359
Gets the extent of the layer as specified in its WMS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
Promise

getExtentFromWmts(){Promise}

modules/menu/desktop/layer/viewClassic.js, line 440
Gets the extent of the layer as specified in its WMTS getCapabilities document. On success, resolves with an object of following structure: { extent: [minx, miny, maxx, maxy], crs: "EPSG:XXXX" }
Returns:
promise

getMapProjection(){Object}

modules/menu/desktop/layer/viewClassic.js, line 495
Gets the projection of the map.
Returns:
map projection

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 216
Highlights the Layerinformation Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 301
Highlights the Layer Information Icon in the layertree

highlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 237
Highlights the Layer Information Icon in the layertree

incTransparency(){void}

modules/menu/desktop/layer/viewLight.js, line 215
Executes incTransparency in the model

incTransparency(){void}

modules/menu/desktop/layer/viewSelection.js, line 170
Executes incTransparency in the model

incTransparency(){void}

modules/menu/table/layer/singleLayerView.js, line 152
increase the transparency of the layer

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 98
Custom function to handle movement of layers in the classic tree. Handling is kind of complex, as the classic tree can have mixed contents of layers and folders on all levels and needs to have a clean `selectionIDX` at all times to reflect hierarchy correctly. The `selectionIDX` starts with the highest number on top and goes recursively down through the tree, ending up with the last item having an index of 1. The move behaviour is implemented as follows: - Only layers can be moved - Layers can be moved below or on top folders of the same level, so folders get moved indirectly - layers can not be moved inside or outside of a folder
Name Type Description
model Object The model to be moved
movement Number The movement which is 1 for going up, -1 for going down

moveModelDown(){void}

modules/menu/desktop/layer/view.js, line 162
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewClassic.js, line 68
override to trigger custom `move` function

moveModelDown(){void}

modules/menu/desktop/layer/viewLight.js, line 199
Executes moveDown in the model

moveModelDown(){void}

modules/menu/desktop/layer/viewSelection.js, line 154
Executes moveDown in the model

moveModelDown(){void}

modules/menu/mobile/layer/view.js, line 182
todo

moveModelDown(){void}

modules/menu/mobile/layer/viewLight.js, line 162
todo

moveModelDown(){void}

modules/menu/table/layer/singleLayerView.js, line 138
move the layer downwards in the tree

moveModelUp(){void}

modules/menu/desktop/layer/view.js, line 170
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewClassic.js, line 76
overrides to trigger custom `move` function

moveModelUp(){void}

modules/menu/desktop/layer/viewLight.js, line 207
Executes moveUp in the model

moveModelUp(){void}

modules/menu/desktop/layer/viewSelection.js, line 162
Executes moveUp in the model

moveModelUp(){void}

modules/menu/mobile/layer/view.js, line 190
todo

moveModelUp(){void}

modules/menu/mobile/layer/viewLight.js, line 170
todo

moveModelUp(){void}

modules/menu/table/layer/singleLayerView.js, line 145
move the layer upwards in the tree

openStyleWMS(){void}

modules/menu/desktop/layer/viewLight.js, line 233
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"
Fires:

openStyleWMS(){void}

modules/menu/desktop/layer/viewSelection.js, line 187
Triggers the styleWMS tool to open Removes the class "open" from ".nav li:first-child"

openStyleWMS(){void}

modules/menu/mobile/layer/view.js, line 209
todo
Fires:

openStyleWMS(){void}

modules/menu/mobile/layer/viewLight.js, line 189
todo
Fires:

removeDisableClass(){void}

modules/menu/desktop/layer/view.js, line 205
todo

removeFromSelection(){void}

modules/menu/desktop/layer/view.js, line 134
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/desktop/layer/viewSelection.js, line 114
Executes setIsSettingVisible and setIsSelected in the model removes the element

removeFromSelection(){void}

modules/menu/mobile/layer/view.js, line 136
todo

removeIfNotVisible(){void}

modules/menu/desktop/layer/view.js, line 178
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/view.js, line 198
todo

removeIfNotVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 178
todo

removeLayer(){void}

modules/menu/desktop/layer/viewLight.js, line 245
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/desktop/layer/viewSelection.js, line 198
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element

removeLayer(){void}

modules/menu/mobile/layer/viewLight.js, line 199
todo
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

modules/menu/table/layer/singleLayerView.js, line 166
remove the layer out of the tree

render(){void}

modules/menu/desktop/layer/view.js, line 57
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewClassic.js, line 46
Override handling visibility correctly and adding model id to element

render(){Backbone.View}

modules/menu/desktop/layer/viewLight.js, line 66
Renders the selection view.

render(){void}

modules/menu/desktop/layer/viewSelection.js, line 48
Renders the selection view.

render(){Backbone.View}

modules/menu/mobile/layer/view.js, line 79
todo

render(){void}

modules/menu/mobile/layer/viewLight.js, line 81
todo

renderSetting(){void}

modules/menu/desktop/layer/viewLight.js, line 97
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/desktop/layer/viewSelection.js, line 82
Draws the settings like transparence, metainfos etc.

renderSetting(){void}

modules/menu/mobile/layer/view.js, line 99
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/mobile/layer/viewLight.js, line 95
Draws the settings (transparency, metainfo, ...)

renderSetting(){void}

modules/menu/table/layer/singleLayerView.js, line 59
render the settings area and decide whether it is initially activated

rerender(){void}

modules/menu/desktop/layer/view.js, line 102
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewLight.js, line 81
Rerenders the model with updated elements.

rerender(){void}

modules/menu/desktop/layer/viewSelection.js, line 66
Rerenders the selection view.

setMapExtent(layerExtent, epsg){void}

modules/menu/desktop/layer/viewClassic.js, line 517
Sets the map extent to the extent of the layer, if the layer does not exceed the map extend. Otherwise, the map extent will be used. If the epsg argument is not given, it will be assumed that the layerExtent is in the same projection as the map itself.
Name Type Description
layerExtent Array extent of the layer
epsg String epsg code of the layer including epsg-prefix

setSettingsVisibility(layerCollection, model){void}

modules/menu/table/layer/singleLayerView.js, line 97
change settings visibility based on layerCollection and model
Name Type Description
layerCollection Object collection of the ModelList with type "layer"
model Object layer model

setTransparency(evt){void}

modules/menu/desktop/layer/viewLight.js, line 191
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/view.js, line 174
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/mobile/layer/viewLight.js, line 154
todo
Name Type Description
evt * todo

setTransparency(evt){void}

modules/menu/table/layer/singleLayerView.js, line 131
set transparency of the layer
Name Type Description
evt Object event raised by clicking on transparency buttons (+ / -)

showLayerInformation(){void}

modules/menu/desktop/layer/view.js, line 143
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewLight.js, line 171
Init the LayerInformation window and inits the highlighting of the informationIcon.

showLayerInformation(){void}

modules/menu/desktop/layer/viewSelection.js, line 135
Executes showLayerInformation in the model removes the class "in" from "div.collapse.navbar-collapse" Executes highlightLayerInformationIcon

showLayerInformation(){void}

modules/menu/mobile/layer/view.js, line 155
todo

showLayerInformation(){void}

modules/menu/mobile/layer/viewLight.js, line 135
todo

showLayerInformation(){void}

modules/menu/table/layer/singleLayerView.js, line 114
react on click on information symbol and shows layer information

toggleByMapMode(mapMode){void}

modules/menu/desktop/layer/viewLight.js, line 288
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/view.js, line 220
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleByMapMode(mapMode){void}

modules/menu/mobile/layer/viewLight.js, line 211
adds only layers to the tree that support the current mode of the map e.g. 2D, 3D
Name Type Description
mapMode String current mode from map

toggleColor(model, value){void}

modules/menu/desktop/layer/view.js, line 79
Wenn der Layer außerhalb seines Maßstabsberreich ist, wenn die view ausgegraut und nicht anklickbar
Name Type Description
model Backbone.Model -
value boolean -

toggleColor(model, value){void}

modules/menu/desktop/layer/viewLight.js, line 258
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/desktop/layer/viewSelection.js, line 210
Enables and disables the layer depending upon the sclae of the map
Name Type Description
model Backbone.Model layer model
value boolean Flag for isOutOfRange

toggleColor(model, value){void}

modules/menu/mobile/layer/view.js, line 55
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleColor(model, value){void}

modules/menu/mobile/layer/viewLight.js, line 59
If the layer is outside its scale range, if the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo
value boolean todo

toggleIsSelected(){void}

modules/menu/desktop/layer/view.js, line 122
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewLight.js, line 119
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/desktop/layer/viewSelection.js, line 105
Executes toggleIsSelected in the model

toggleIsSelected(){void}

modules/menu/mobile/layer/view.js, line 122
todo
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnParent

toggleIsSelected(){void}

modules/menu/mobile/layer/viewLight.js, line 117
todo

toggleIsSelected(){void}

modules/menu/table/layer/singleLayerView.js, line 82
react on selection of a layer in tree

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/view.js, line 154
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewLight.js, line 182
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/desktop/layer/viewSelection.js, line 146
Executes toggleIsSettingVisible in the model

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/view.js, line 165
todo

toggleIsSettingVisible(){void}

modules/menu/mobile/layer/viewLight.js, line 145
todo

toggleIsSettingVisible(){void}

modules/menu/table/layer/singleLayerView.js, line 122
react on click on settings symbol and shows settings area

toggleIsVisibleInMap(){void}

modules/menu/desktop/layer/viewSelection.js, line 124
Executes toggleIsVisibleInMap in the model

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/view.js, line 146
todo

toggleIsVisibleInMap(){void}

modules/menu/mobile/layer/viewLight.js, line 126
todo

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/view.js, line 226
Unhighlights the Layerinformation Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewLight.js, line 311
Unhighlights the Layer Information Icon in the layertree

unhighlightLayerInformationIcon(){void}

modules/menu/desktop/layer/viewSelection.js, line 247
Unhighlights the Layer Information Icon in the layertree

unsetJustAdded(){void}

modules/menu/table/layer/singleLayerView.js, line 175
remove class "just-added" from layer in tree

updateParentVisibility(model){void}

modules/menu/desktop/layer/viewLight.js, line 138
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 207
Zooms to the extent of the selected layer