ScreenAnnotation
public struct ScreenAnnotation<CardItem> : Identifiable, Equatable where CardItem : CardItemModel
Wrapper struct for the CardItem : CardItemModel, MarkerState, and the entity which backs real world position of the marker.
-
card identifier
Declaration
Swift
public var id: CardItem.ID { get } -
card
Declaration
Swift
public var card: CardItem -
marker state
Declaration
Swift
public internal(set) var markerState: MarkerControl.State { get } -
Initializer
Declaration
Swift
public init(card: CardItem)Parameters
cardcontent to be displayed