Skip to main content

MarkerLayer

A layer to display Markers.

Inherits: MapLayer

Properties

Properties​

alignmentclass-attributeinstance-attribute​

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

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

markersinstance-attribute​

markers: list[Marker]

A list of Markers to display.

rotateclass-attributeinstance-attribute​

rotate: bool = False

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