setSpans

abstract fun setSpans(spans: List<OmhStyleSpan>)

Sets the spans of the polyline.

Parameters

spans

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