RouteLineStyle
interface RouteLineStyleStrategy interface for defining how a route line is rendered on the map.
Each implementation produces a configured MapLibre LineLayer with specific visual properties (color, dash pattern, gradient, etc.). Used by RoutePainterStyled to apply the chosen style when drawing route geometry.
See also
| GradientRouteLine |
| DashRouteLine |
| PlainRouteLine |
| PatternsRouteLine |
| RoutePainterStyled |
Inheritors
| DashRouteLine |
| GradientRouteLine |
| PatternsRouteLine |
| PlainRouteLine |
Functions
builtLayer
abstract 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