pysepal.mapping.layer_state_control.LayerStateControl#
- class pysepal.mapping.layer_state_control.LayerStateControl(*args, **kwargs)[source]#
A specific statebar dedicated to the the counting of loading tiles in the map.
every time a map is added to the map the counter will be raised by one. same behaviour with removed.
- Parameters:
m (Map | None) – The map the component is listening to
Attributes
mthe map connected to the control
nb_layerthe number of layers in the map
nb_loading_layerthe number of loading layer in the map
w_statethe stateBar displaying the number of layer loading on the map
Methods
A specific statebar dedicated to the the counting of loading tiles in the map.
Update the nb_loading_layer value according to the number of tile loading on the map.
Update the number of layer monitored by the statebar.
- LayerStateControl.__init__(m, **kwargs)[source]#
A specific statebar dedicated to the the counting of loading tiles in the map.
every time a map is added to the map the counter will be raised by one. same behaviour with removed.
- Parameters:
m (Map) – The map the component is listening to
- Return type:
None