rotation

Rotation of the icon in degrees clockwise. Default 0f.

Combine with flat to control whether rotation is screen-relative (flat == false) or map-relative (flat == true). Maps to iconRotate.

marker.rotation = 90f // east-facing arrow