new MobileLegendView()
modules/legend/mobile/view.js, line 29
Listens to Events:
- Legend#event:hide
- Legend#event:changeLegendParams
- Legend#event:changeParamsStyleWMSArray
- Tool#event:changeIsActive
Extends
Methods
-
addContentHTML(legendParams){void}
modules/legend/mobile/view.js, line 77 -
Adds the rendered HTML to the legend definition, is needed in the template
Name Type Description legendParams
Array.<Object> Legend objects via reference -
hide(){void}
modules/legend/mobile/view.js, line 99 -
todo
-
paramsChanged(){void}
modules/legend/mobile/view.js, line 61 -
Reacts on change of legend params and rebuilds legend
-
removeView(){void}
modules/legend/mobile/view.js, line 107 -
todo
-
render(){Legend.Mobile.MobileLegendView}
modules/legend/mobile/view.js, line 51 -
todo
Returns:
this
-
show(){void}
modules/legend/mobile/view.js, line 88 -
todo
-
toggleCollapsePanels(evt){void}
modules/legend/mobile/view.js, line 117 -
collapse or folds out all legend panels toogles the icon of the collapse-all button
Name Type Description evt
object trigger event