Adding arrowheads to polylines Adding arrowheads to polylines The following code example displays an icon at the start and end points of a polyline.