Class: LayerView

Menu.Desktop.Layer LayerView

LayerView

new LayerView()

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

Extends

Methods

copyToClipboard(){void}

modules/menu/basic/layer/viewClassic.js, line 118
Copies the url to the clipboard.

copyToClipboard(){void}

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

decTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 207
Executes decTransparency in the model

decTransparency(){void}

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

fetchXml(url, useProxy){Promise}

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

fetchXml(url, useProxy){Promise}

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

findLayerInLayers(layername, layers){Object}

modules/menu/basic/layer/viewClassic.js, line 197
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

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 203
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

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 336
Get the extent for a mapbox group layer.

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 351
Get the extent for a mapbox group layer.

getExtentFromOAF(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 334
Get the extent for a OAF layer.
Name Type Description
model Object The OAF layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 328
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 343
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromVectorSource(){Extent}

modules/menu/basic/layer/viewClassic.js, line 346
Get the extent for a vector layer.

getExtentFromVectorSource(){Extent}

modules/menu/desktop/layer/viewClassic.js, line 361
Get the extent for a vector layer.

getExtentFromWfs(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 225
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWfs(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 231
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 256
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 262
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 306
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 312
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

highlightLayerInformationIcon(){void}

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

highlightLayerInformationIcon(){void}

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

incTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 199
Executes incTransparency in the model

incTransparency(){void}

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

move(model, movement){void}

modules/menu/basic/layer/viewClassic.js, line 90
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 91
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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/basic/layer/viewClassic.js, line 60
override to trigger custom `move` function

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

removeFromSelection(){void}

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

removeIfNotVisible(){void}

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

removeIfNotVisible(){void}

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

removeLayer(){void}

modules/menu/basic/layer/viewLight.js, line 229
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/viewLight.js, line 228
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

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

render(){void}

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

render(){Backbone.View}

modules/menu/basic/layer/viewLight.js, line 67
Renders the selection view.

render(){void}

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

render(){Backbone.View}

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

render(){Backbone.View}

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

render(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

rerender(){void}

modules/menu/basic/layer/viewLight.js, line 82
Rerenders the model with updated elements.

rerender(){void}

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

setMapExtent(layerExtent){void}

modules/menu/basic/layer/viewClassic.js, line 367
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

setMapExtent(layerExtent){void}

modules/menu/desktop/layer/viewClassic.js, line 382
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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

toggleByMapMode(mapMode){void}

modules/menu/basic/layer/viewLight.js, line 284
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/desktop/layer/viewLight.js, line 279
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 224
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 215
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){void}

modules/menu/basic/layer/viewLight.js, line 242
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){void}

modules/menu/desktop/layer/viewLight.js, line 241
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){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

toggleColor(model){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

toggleIsSelected(){void}

modules/menu/basic/layer/viewLight.js, line 120
Executes toggleIsSelected in the model

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsVisibleInMap(){void}

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

toggleIsVisibleInMap(){void}

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

unhighlightLayerInformationIcon(){void}

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

unhighlightLayerInformationIcon(){void}

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

updateParentVisibility(model){void}

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

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/basic/layer/viewClassic.js, line 128
Zooms to the extent of the selected layer

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 129
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

copyToClipboard(){void}

modules/menu/basic/layer/viewClassic.js, line 118
Copies the url to the clipboard.

copyToClipboard(){void}

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

decTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 207
Executes decTransparency in the model

decTransparency(){void}

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

fetchXml(url, useProxy){Promise}

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

fetchXml(url, useProxy){Promise}

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

findLayerInLayers(layername, layers){Object}

modules/menu/basic/layer/viewClassic.js, line 197
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

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 203
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

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 336
Get the extent for a mapbox group layer.

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 351
Get the extent for a mapbox group layer.

getExtentFromOAF(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 334
Get the extent for a OAF layer.
Name Type Description
model Object The OAF layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 328
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 343
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromVectorSource(){Extent}

modules/menu/basic/layer/viewClassic.js, line 346
Get the extent for a vector layer.

getExtentFromVectorSource(){Extent}

modules/menu/desktop/layer/viewClassic.js, line 361
Get the extent for a vector layer.

getExtentFromWfs(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 225
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWfs(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 231
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 256
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 262
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 306
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 312
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

highlightLayerInformationIcon(){void}

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

highlightLayerInformationIcon(){void}

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

incTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 199
Executes incTransparency in the model

incTransparency(){void}

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

move(model, movement){void}

modules/menu/basic/layer/viewClassic.js, line 90
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 91
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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/basic/layer/viewClassic.js, line 60
override to trigger custom `move` function

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

removeFromSelection(){void}

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

removeIfNotVisible(){void}

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

removeIfNotVisible(){void}

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

removeLayer(){void}

modules/menu/basic/layer/viewLight.js, line 229
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/viewLight.js, line 228
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

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

render(){void}

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

render(){Backbone.View}

modules/menu/basic/layer/viewLight.js, line 67
Renders the selection view.

render(){void}

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

render(){Backbone.View}

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

render(){Backbone.View}

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

render(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

rerender(){void}

modules/menu/basic/layer/viewLight.js, line 82
Rerenders the model with updated elements.

rerender(){void}

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

setMapExtent(layerExtent){void}

modules/menu/basic/layer/viewClassic.js, line 367
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

setMapExtent(layerExtent){void}

modules/menu/desktop/layer/viewClassic.js, line 382
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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

toggleByMapMode(mapMode){void}

modules/menu/basic/layer/viewLight.js, line 284
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/desktop/layer/viewLight.js, line 279
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 224
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 215
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){void}

modules/menu/basic/layer/viewLight.js, line 242
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){void}

modules/menu/desktop/layer/viewLight.js, line 241
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){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

toggleColor(model){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

toggleIsSelected(){void}

modules/menu/basic/layer/viewLight.js, line 120
Executes toggleIsSelected in the model

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsVisibleInMap(){void}

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

toggleIsVisibleInMap(){void}

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

unhighlightLayerInformationIcon(){void}

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

unhighlightLayerInformationIcon(){void}

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

updateParentVisibility(model){void}

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

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/basic/layer/viewClassic.js, line 128
Zooms to the extent of the selected layer

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 129
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

copyToClipboard(){void}

modules/menu/basic/layer/viewClassic.js, line 118
Copies the url to the clipboard.

copyToClipboard(){void}

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

decTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 207
Executes decTransparency in the model

decTransparency(){void}

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

fetchXml(url, useProxy){Promise}

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

fetchXml(url, useProxy){Promise}

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

findLayerInLayers(layername, layers){Object}

modules/menu/basic/layer/viewClassic.js, line 197
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

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 203
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

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 336
Get the extent for a mapbox group layer.

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 351
Get the extent for a mapbox group layer.

getExtentFromOAF(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 334
Get the extent for a OAF layer.
Name Type Description
model Object The OAF layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 328
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 343
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromVectorSource(){Extent}

modules/menu/basic/layer/viewClassic.js, line 346
Get the extent for a vector layer.

getExtentFromVectorSource(){Extent}

modules/menu/desktop/layer/viewClassic.js, line 361
Get the extent for a vector layer.

getExtentFromWfs(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 225
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWfs(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 231
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 256
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 262
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 306
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 312
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

highlightLayerInformationIcon(){void}

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

highlightLayerInformationIcon(){void}

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

incTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 199
Executes incTransparency in the model

incTransparency(){void}

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

move(model, movement){void}

modules/menu/basic/layer/viewClassic.js, line 90
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 91
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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/basic/layer/viewClassic.js, line 60
override to trigger custom `move` function

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

removeFromSelection(){void}

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

removeIfNotVisible(){void}

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

removeIfNotVisible(){void}

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

removeLayer(){void}

modules/menu/basic/layer/viewLight.js, line 229
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/viewLight.js, line 228
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

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

render(){void}

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

render(){Backbone.View}

modules/menu/basic/layer/viewLight.js, line 67
Renders the selection view.

render(){void}

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

render(){Backbone.View}

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

render(){Backbone.View}

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

render(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

rerender(){void}

modules/menu/basic/layer/viewLight.js, line 82
Rerenders the model with updated elements.

rerender(){void}

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

setMapExtent(layerExtent){void}

modules/menu/basic/layer/viewClassic.js, line 367
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

setMapExtent(layerExtent){void}

modules/menu/desktop/layer/viewClassic.js, line 382
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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

toggleByMapMode(mapMode){void}

modules/menu/basic/layer/viewLight.js, line 284
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/desktop/layer/viewLight.js, line 279
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 224
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 215
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){void}

modules/menu/basic/layer/viewLight.js, line 242
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){void}

modules/menu/desktop/layer/viewLight.js, line 241
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){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

toggleColor(model){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

toggleIsSelected(){void}

modules/menu/basic/layer/viewLight.js, line 120
Executes toggleIsSelected in the model

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsVisibleInMap(){void}

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

toggleIsVisibleInMap(){void}

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

unhighlightLayerInformationIcon(){void}

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

unhighlightLayerInformationIcon(){void}

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

updateParentVisibility(model){void}

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

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/basic/layer/viewClassic.js, line 128
Zooms to the extent of the selected layer

zoomToLayer(){void}

modules/menu/desktop/layer/viewClassic.js, line 129
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

copyToClipboard(){void}

modules/menu/basic/layer/viewClassic.js, line 118
Copies the url to the clipboard.

copyToClipboard(){void}

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

decTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 207
Executes decTransparency in the model

decTransparency(){void}

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

fetchXml(url, useProxy){Promise}

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

fetchXml(url, useProxy){Promise}

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

findLayerInLayers(layername, layers){Object}

modules/menu/basic/layer/viewClassic.js, line 197
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

findLayerInLayers(layername, layers){Object}

modules/menu/desktop/layer/viewClassic.js, line 203
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

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 336
Get the extent for a mapbox group layer.

getExtentFromMapboxGroup(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 351
Get the extent for a mapbox group layer.

getExtentFromOAF(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 334
Get the extent for a OAF layer.
Name Type Description
model Object The OAF layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 328
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromOAT(model){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 343
Get the extent for a OAT layer.
Name Type Description
model Object The OAT layer model

getExtentFromVectorSource(){Extent}

modules/menu/basic/layer/viewClassic.js, line 346
Get the extent for a vector layer.

getExtentFromVectorSource(){Extent}

modules/menu/desktop/layer/viewClassic.js, line 361
Get the extent for a vector layer.

getExtentFromWfs(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 225
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWfs(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 231
Gets the extent of the layer as specified in its WFS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 256
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWms(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 262
Gets the extent of the layer as specified in its WMS getCapabilities document.
Returns:
Promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/basic/layer/viewClassic.js, line 306
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

getExtentFromWmts(){Promise.<Extent>}

modules/menu/desktop/layer/viewClassic.js, line 312
Gets the extent of the layer as specified in its WMTS getCapabilities document.
Returns:
promise

highlightLayerInformationIcon(){void}

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

highlightLayerInformationIcon(){void}

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

incTransparency(){void}

modules/menu/basic/layer/viewLight.js, line 199
Executes incTransparency in the model

incTransparency(){void}

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

move(model, movement){void}

modules/menu/basic/layer/viewClassic.js, line 90
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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

move(model, movement){void}

modules/menu/desktop/layer/viewClassic.js, line 91
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 `layerOrder` at all times to reflect hierarchy correctly. The `layerOrder` 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/basic/layer/viewClassic.js, line 60
override to trigger custom `move` function

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelDown(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

moveModelUp(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

openStyleWMS(){void}

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

removeFromSelection(){void}

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

removeIfNotVisible(){void}

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

removeIfNotVisible(){void}

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

removeLayer(){void}

modules/menu/basic/layer/viewLight.js, line 229
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/viewLight.js, line 228
Triggers the parser to remove the item/layer Executes removeLayer in the model Removes the element
Fires:
  • Parser#event:RadioTriggerParserRemoveItem

removeLayer(){void}

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

render(){void}

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

render(){Backbone.View}

modules/menu/basic/layer/viewLight.js, line 67
Renders the selection view.

render(){void}

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

render(){Backbone.View}

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

render(){Backbone.View}

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

render(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

renderSetting(){void}

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

rerender(){void}

modules/menu/basic/layer/viewLight.js, line 82
Rerenders the model with updated elements.

rerender(){void}

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

setMapExtent(layerExtent){void}

modules/menu/basic/layer/viewClassic.js, line 367
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

setMapExtent(layerExtent){void}

modules/menu/desktop/layer/viewClassic.js, line 382
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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

setTransparency(evt){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

showLayerInformation(){void}

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

toggleByMapMode(mapMode){void}

modules/menu/basic/layer/viewLight.js, line 284
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/desktop/layer/viewLight.js, line 279
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 224
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 215
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){void}

modules/menu/basic/layer/viewLight.js, line 242
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){void}

modules/menu/desktop/layer/viewLight.js, line 241
If the layer is outside its scale range, or if the layer has an incompatible projection, the view is grayed out and not clickable
Name Type Description
model Backbone.Model todo

toggleColor(model){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

toggleColor(model){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

toggleIsSelected(){void}

modules/menu/basic/layer/viewLight.js, line 120
Executes toggleIsSelected in the model

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSelected(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsSettingVisible(){void}

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

toggleIsVisibleInMap(){void}

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

toggleIsVisibleInMap(){void}

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

unhighlightLayerInformationIcon(){void}

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

unhighlightLayerInformationIcon(){void}

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

updateParentVisibility(model){void}

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

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/basic/layer/viewClassic.js, line 128
Zooms to the extent of the selected layer

zoomToLayer(){void}

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