LabelTextPlacement: typeof LABEL_TEXT_PLACEMENT[keyof typeof LABEL_TEXT_PLACEMENT]

The placement of a label's text relative to its pin.

  • 'right' — text appears to the right of the pin.
  • 'left' — text appears to the left of the pin.
  • 'top' — text appears above the pin.
  • 'hidden' — text is hidden, only the pin is visible.
  • 'center' — text is centered at the pin location and the pin is hidden.