Skip to content

MarkerLayer

Inherits: MapLayer

A layer to display Markers.

Properties

Properties#

alignment #

alignment: Alignment | None = field(
    default_factory=lambda: CENTER
)

The alignment of each marker relative to its normal center at Marker.coordinates.

markers #

markers: list[Marker]

A list of Markers to display.

rotate #

rotate: bool = False

Whether to counter-rotate markers to the map's rotation, to keep a fixed orientation.