Class: LegendVisibility

webgis4u/ol/control/LegendVisibility~LegendVisibility(options)

Control to control layer visibility

Constructor

new LegendVisibility(options)

Creates a new LayerCheckbox
Parameters:
Name Type Description
options LegendVisibilityOptions The options
Source:

Extends

Members

layersFromMap

Overrides:
Source:

Methods

handleLayerInteraction(e)

Handles the layer interaction
Parameters:
Name Type Description
e LayerActionEventArgs The event arguments
Overrides:
Source:

onLayerInteractionAdded(options)

Called when an layer interaction was added
Parameters:
Name Type Description
options RegisterListenerOptions The options
Overrides:
Source:

registerListener(options)

Registers the listener
Parameters:
Name Type Description
options RegisterListenerOptions
Overrides:
Source:

setMap()

Inherited From:
Source:

unregisterListener(options)

Unregisters the listener
Parameters:
Name Type Description
options UnregisterListenerOptions
Overrides:
Source: