RichAttribution
Inherits: MapLayer
An animated and interactive attribution layer that supports both images and text (displayed in a popup controlled by an icon button adjacent to the images).
Properties
-
alignment
(AttributionAlignment | None
) –The position in which to anchor this attribution control.
-
attributions
(list[SourceAttribution]
) –List of attributions to display.
-
permanent_height
(Number
) –The height of the permanent row in which is found the popup menu toggle button.
-
popup_bgcolor
(ColorValue | None
) –The color to use as the popup box's background color.
-
popup_border_radius
(BorderRadiusValue | None
) –The radius of the edges of the popup box.
-
show_flutter_map_attribution
(bool
) –Whether to add an additional attribution logo and text
Properties#
alignment
#
alignment: AttributionAlignment | None = None
The position in which to anchor this attribution control.
attributions
#
attributions: list[SourceAttribution]
List of attributions to display.
TextSourceAttribution
s are shown in a popup box,
unlike ImageSourceAttribution
, which are visible permanently.
permanent_height
#
permanent_height: Number = 24.0
The height of the permanent row in which is found the popup menu toggle button. Also determines spacing between the items within the row.
popup_bgcolor
#
popup_bgcolor: ColorValue | None = SURFACE
The color to use as the popup box's background color.
popup_border_radius
#
popup_border_radius: BorderRadiusValue | None = None
The radius of the edges of the popup box.
show_flutter_map_attribution
#
show_flutter_map_attribution: bool = True
Whether to add an additional attribution logo and text
for flutter-map
,
on which 'flet-map' package is based for map-renderings.