pysepal.mapping.layers_control.LayersControl#
- class pysepal.mapping.layers_control.LayersControl(*args, **kwargs)[source]#
Richer layerControl to add some controls over the lyers displayed on the map.
Each layer is associated to a line where the user can adapt the alpha channel or even hide it completely
- Parameters:
m (Map | None) – the map to display the layers
kwargs – optional extra parameters for the ipyleaflet.WidgetControl
Attributes
groupAs radio button cannot behave individually we add an extra GroupRadio to wrap the table
mthe map controlled by the layercontrol
fullscreenEither or not the Menu container should be displayed in fullscreen on top of the map
Methods
Richer layerControl to add some controls over the lyers displayed on the map.
Update the table content.
- LayersControl.__init__(m, **kwargs)[source]#
Richer layerControl to add some controls over the lyers displayed on the map.
Each layer is associated to a line where the user can adapt the alpha channel or even hide it completely
- Parameters:
m (Map) – the map to display the layers
kwargs – optional extra parameters for the ipyleaflet.WidgetControl
- Return type:
None