PatternsRouteLine
class PatternsRouteLine(pattern: String = "play_arrow", lineWith: Float = 10.0f) : RouteLineStylePattern line style. It will repeat the pattern image along the route line. For example, this can be used to paint an arrow along the route.
See also
| RouteLineStyle |
Constructors
PatternsRouteLine | constructor(pattern: String = “play_arrow”, lineWith: Float = 10.0f) |
Functions
builtLayer
open override fun builtLayer(layerId: String, sourceId: String): LineLayerBuilds a MapLibre LineLayer configured with this style’s visual properties.
lineColor
open fun lineColor(): String?Returns the dominant line color hex (e.g. “#7000FF”), or null if not applicable.
Last updated on