Type Alias TAddLabelOptions

TAddLabelOptions: {
    appearance?: TLabelAppearance;
    enabled?: boolean;
    interactive?: boolean;
    rank?: TCollisionRankingTier | "initial";
}

Options for creating a new Label with Labels.add.

Type declaration

  • Optionalappearance?: TLabelAppearance

    Customize the appearance of the Label and its pin

  • Optionalenabled?: boolean

    Whether the label is enabled.

  • Optionalinteractive?: boolean

    Whether the Label should be clickable.

    false
    
  • Optionalrank?: TCollisionRankingTier | "initial"

    Optional. Determines the collision ranking tier of the label, which influences its visibility in relation to other colliders. For the possible values ('medium', 'high', 'always-visible') and their impact on label visibility, see TCollisionRankingTier.

MMNEPVFCICPMFPCPTTAAATR