SimpleAttribution
Inherits: MapLayer
A simple attribution layer displayed on the Map.
Properties
-
alignment
(Alignment
) –The alignment of this attribution on the map.
-
bgcolor
(ColorValue
) –The color of the box containing the
text
. -
text
(str | Text
) –The attribution message to be displayed.
Events
-
on_click
(ControlEventHandler[SimpleAttribution] | None
) –Fired when this attribution is clicked/pressed.
Properties#
alignment
#
alignment: Alignment = field(
default_factory=lambda: BOTTOM_RIGHT
)
The alignment of this attribution on the map.
Events#
on_click
#
on_click: ControlEventHandler[SimpleAttribution] | None = (
None
)
Fired when this attribution is clicked/pressed.