pysepal.mapping.inspector_control.InspectorControl#
- class pysepal.mapping.inspector_control.InspectorControl(*args, **kwargs)[source]#
Widget control displaying a btn on the map.
When clicked the menu expand to show the values of each layer available on the map. The menu values will be change when the user click on a location on the map. It can digest any Layer added on a SepalMap.
- Parameters:
m (Map | None) – the map on which he vinspector is displayed to interact with it’s layers
open_tree (Bool)
Attributes
mthe map on which he vinspector is displayed to interact with it's layers
markerThe marker of the last visited point
menuThe menu displayed when the map btn is clicked
open_treeEither or not the tree should be opened automatically
textThe text element from the card that is edited when the user click on the map
w_loadingThe progress bar on top of the Card
fullscreenEither or not the Menu container should be displayed in fullscreen on top of the map
Methods
Widget control displaying a btn on the map.
Read the data when the map is clicked with the vinspector activated.
Toggle the cursor and marker display.
- InspectorControl.__init__(m, open_tree=True, **kwargs)[source]#
Widget control displaying a btn on the map.
When clicked the menu expand to show the values of each layer available on the map. The menu values will be change when the user click on a location on the map. It can digest any Layer added on a SepalMap.
- Parameters:
m (Map) – the map on which he vinspector is displayed to interact with it’s layers
open_tree (bool)
- Return type:
None