pysepal.mapping.layer.EELayer#

class pysepal.mapping.layer.EELayer(*args, **kwargs)[source]#

Wrapper of the TileLayer class to add the ee object as a member.

useful to get back the values for specific points in a v_inspector.

Parameters:
  • ee_object (ee.object) – the ee.object displayed on the map

  • theme_urls (Dict[bool, str] | None) – the tile url rendered for each theme, keyed by whether it is dark. Earth Engine bakes the colours into the tiles, so a layer that follows the map theme needs one render per theme.

Attributes

ee_object

the ee.object displayed on the map

theme_urls

the tile url rendered for each theme, keyed by whether it is dark.

Methods

__init__

Wrapper of the TileLayer class to add the ee object as a member.

EELayer.__init__(ee_object, theme_urls=None, **kwargs)[source]#

Wrapper of the TileLayer class to add the ee object as a member.

useful to get back the values for specific points in a v_inspector.

Parameters:
  • ee_object (ee.object) – the ee.object displayed on the map

  • theme_urls (Dict[bool, str] | None) – the tile url rendered for each theme, keyed by whether it is dark. Earth Engine bakes the colours into the tiles, so a layer that follows the map theme needs one render per theme.

Return type:

None