Module: app/widget/LegendWidget

Widget that shows the legends of the layers (currently not dynamic)
Author:
Source:

Requires

Classes

constructor

Mixins

args

Methods

(private, inner) _init()

No JavaScript logic needed currently for the widget.
Source:
To Do:
  • dynamicall create appropriate legends.

(inner) destroy()

Destroys widget
Source:

(inner) postCreate()

Sets title and html content of the base class content pane. Occurs after the constructor has run and dom elements have been created.
Source:

(inner) startup()

Starts the widget after it has been constructed. Checks to make sure the required map is loaded.
Source: