Class: LayerCheckbox

webgis4u/ol/control/LayerCheckbox~LayerCheckbox(layerMapOptions)

Control to control layer visibility

Constructor

new LayerCheckbox(layerMapOptions)

Creates a new LayerCheckbox
Parameters:
Name Type Description
layerMapOptions LayerCheckboxOptions 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
Inherited From:
Source:

setMap()

Inherited From:
Source:

unregisterListener(options)

Unregisters the listener
Parameters:
Name Type Description
options UnregisterListenerOptions
Inherited From:
Source: