Options
All
  • Public
  • Public/Protected
  • All
Menu

This describes the general interface for a pin style object

An object literal containing placement instructions for point-based labels. All properties are optional.

A pin is a connecting line between the label and the anchor point of the label. If the position of the label changes, so will the pin change position as well.

Hierarchy

  • PinStyle

Overview

Properties

Optional color

color: string

The color of the pin. It must be a valid CSS color string.

Optional endPosition

endPosition: PinEndPosition

The location of where the pin should attach to the label.

Optional haloColor

haloColor: string

The color of the halo. It must be a valid CSS color string.

Optional haloWidth

haloWidth: number

The width of the halo in pixels.

Optional width

width: number

The width of the pin in pixels.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method