PatternConverter

Functions

Link copied to clipboard

Converts list of OmhPatternItem into list of the alternating dashes and gaps lengths. Only OmhDash and OmhGap items are supported. If same consecutive items types are provided, a additional item is inserted with value 0 as AzureMapsPattern expects alternating dashes and gaps.