convertToAzureMapsPattern

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.

Return

The lengths of the alternating dashes and gaps that form the dash pattern.