RichAttribution
RichAttribution
#
Bases: 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).
alignment: Optional[AttributionAlignment] = None
#
The position in which to anchor this attribution control.
attributions: List[SourceAttribution]
#
List of attributions to display.
TextSourceAttribution
s are shown in a popup box,
unlike ImageSourceAttribution
, which are visible permanently.
permanent_height: ft.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.
Defaults to 24.0
.
popup_bgcolor: ft.OptionalColorValue = ft.Colors.SURFACE
#
The color to use as the popup box's background color.
Defaults to ft.Colors.SURFACE
.
popup_border_radius: ft.OptionalBorderRadiusValue = None
#
The radius of the edges of the popup box.
popup_initial_display_duration: ft.OptionalDurationValue = field(default_factory=lambda: ft.Duration())
#
The popup box will be open by default and be hidden this long after the map is initialised.
This is useful with certain sources/tile servers that make immediate
attribution mandatory and are not attributed with a permanently visible ImageSourceAttribution
.
Defaults to ft.Duration()
.
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.
Defaults to True
.