sepal_ui.mapping.layers_control.LayerRow#

class sepal_ui.mapping.layers_control.LayerRow(**kwargs)[source]#

Html row element to describe a normal layer.

This Html element include all the controls to manipulate the layer displayed in the map - a checkbox to show/hide - a slider to change alpha channel

Parameters:

layer (TileLayer) – the layer associated to the row

Attributes

w_checkbox

the ckeckbox to hide/show the layer

w_slider

the slider linked to the opacity of the layer

Methods

__init__

Html row element to describe a normal layer.

LayerRow.__init__(layer)[source]#

Html row element to describe a normal layer.

This Html element include all the controls to manipulate the layer displayed in the map - a checkbox to show/hide - a slider to change alpha channel

Parameters:

layer (TileLayer) – the layer associated to the row

Return type:

None