Type alias TCreateMarkerOptions

TCreateMarkerOptions: {
    anchor?: MARKER_ANCHOR;
    interactive?: boolean;
    layer?: string;
    rank?: COLLISION_RANKING_TIERS | number;
}

Options for controlling the behavior of a Marker.

Type declaration

  • Optional anchor?: MARKER_ANCHOR

    The anchor point of the Marker.

  • Optional interactive?: boolean

    Whether the Marker should be clickable and included in E_SDK_EVENT.CLICK events.

    Default

    false
    
  • Optional layer?: string

    Optional layer to attach the Marker to.

  • Optional rank?: COLLISION_RANKING_TIERS | number

    The rank of the Marker used when comparing colliders to determine which should be shown.