PatternConverter
object PatternConverter
Functions
Link copied to clipboard
fun convertToAzureMapsPattern(omhPatternItems: List<OmhPatternItem>, logger: UnsupportedFeatureLogger? = null): List<Float>
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.