new BackgroundSwitcherModel()
addons/backgroundSwitcher/model.js, line 23
Properties:
Name | Type | Default | Description |
---|---|---|---|
backgroundLayers |
Array | [ | Array of background layers |
activeLayer |
Object | null | The current active layer object |
open |
Boolean | false | Flag if switcher is expanded or collapsed |
previews |
Array | [ | Array of layerobjects and corresponding example getMap request URL |
Listens to Events:
Extends
Methods
-
inherited setGlyphicon(value){void}
modules/core/modelList/item.js, line 69 -
Setter for glyphicon
Name Type Description value
String Glyphicon -
inherited setId(value){void}
modules/core/modelList/item.js, line 34 -
Setter for id
Name Type Description value
String Id -
inherited setIsActive(value){void}
modules/core/modelList/tool/model.js, line 129 -
Activates or deactivates tool
Name Type Description value
Boolean Flag if tool is active -
inherited setIsInThemen(value){void}
modules/core/modelList/item.js, line 78 -
Setter for isInThemen
Name Type Description value
Boolean Flag if item is in themen -
inherited setIsVisibleInMenu(value){void}
modules/core/modelList/item.js, line 105 -
Setter for setIsVisibleInMenu
Name Type Description value
Boolean Flag if item is visible in menu -
inherited setIsVisibleInTree(value){void}
modules/core/modelList/item.js, line 96 -
Setter for isVisibleInTree
Name Type Description value
Boolean Flag if item is visible in layertree -
inherited setLevel(value){void}
modules/core/modelList/item.js, line 87 -
Setter for level
Name Type Description value
String Level -
inherited setName(value){void}
modules/core/modelList/item.js, line 52 -
Setter for name
Name Type Description value
String Name -
inherited setParentId(value){void}
modules/core/modelList/item.js, line 43 -
Setter for parentId
Name Type Description value
String ParentId -
inherited setType(value){void}
modules/core/modelList/item.js, line 60 -
Setter for type
Name Type Description value
String Type -
inherited superChangeLang(){Void}
modules/core/modelList/tool/model.js, line 113 -
change language - sets or translates the name of this tool, if property i18nextTranslate is no function. If name is defined in config.json, the name is not translated else property nameTranslationKey is used.