sepal_ui.mapping.map_btn.MapBtn#

class sepal_ui.mapping.map_btn.MapBtn(**kwargs)[source]#

Btn specifically design to be displayed on a map.

It matches all the characteristics of the classic leaflet btn but as they are from ipyvuetify we can use them in combination with Menu to produce on-the-map tiles. The MapBtn is responsive to theme changes. It only accept icon or 3 letters as children as the space is very limited.

Parameters:

content (str) – a fa-solid/mdi fully qualified name or a string name. If a string name is used, only the 3 first letters will be displayed.

Attributes

Methods

__init__

Btn specifically design to be displayed on a map.

MapBtn.__init__(content, **kwargs)[source]#

Btn specifically design to be displayed on a map.

It matches all the characteristics of the classic leaflet btn but as they are from ipyvuetify we can use them in combination with Menu to produce on-the-map tiles. The MapBtn is responsive to theme changes. It only accept icon or 3 letters as children as the space is very limited.

Parameters:

content (str) – a fa-solid/mdi fully qualified name or a string name. If a string name is used, only the 3 first letters will be displayed.

Return type:

None