Sets the spans of the polyline.
A list of OmhStyleSpan objects representing the spans of the polyline.