If you are drawing a label around a point, it is possible to add a pin to that label. A pin is a small line that connects the label to the point to which it is anchored. You can attach the pin to the label in two locations: the middle of the label or the nearest border of the label.

To display a pin, configure the pin property of the PointLabelStyle. This configuration object is an object literal described by PinStyle, and contains the styling properties of the pin. If you do not define this property, the label will not have a pin.

pin houston
Figure 1. Label with a pin