Class: AddWMSModel

Tools.AddWMS AddWMSModel

AddWMSModel

Extends

Methods

changeLang(lng){Void}

modules/tools/addWMS/model.js, line 41
change language - sets default values for the language
Name Type Description
lng String the language changed to

displayError(text){void}

modules/tools/addWMS/model.js, line 54
todo
Name Type Description
text string The error Message

displayErrorMessage(){void}

modules/tools/addWMS/model.js, line 125
Display error message for wms which have misspelling or no CORS-Header.

getAddWmsUniqueId(){string}

modules/tools/addWMS/model.js, line 155
Getter for addWMS UniqueId. Counts the uniqueId 1 up.
Returns:
- The unique id for addWMS.

loadAndAddLayers(){void}

modules/tools/addWMS/model.js, line 69
todo
Fires:

parseLayer(object, parentId, level){void}

modules/tools/addWMS/model.js, line 138
todo
Name Type Description
object object todo
parentId string todo
level number todo
Fires:

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

setUniqueId(value){void}

modules/tools/addWMS/model.js, line 167
Set uniqueId
Name Type Description
value number counter for uniqueId

setWMSUrl(value){void}

modules/tools/addWMS/model.js, line 186
todo Setter for wmsUrl property
Name Type Description
value string todo

setWMSVersion(value){void}

modules/tools/addWMS/model.js, line 176
Setter for version property
Name Type Description
value string todo

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.