PlainRouteLine
class PlainRouteLine(colorHex: String = "#ff33b5e5", lineWith: Float = 10.0f) : RouteLineStylePlain solid-color line style. Renders the route as a single continuous line with the specified color and width.
See also
| RouteLineStyle |
Constructors
PlainRouteLine | constructor(colorHex: String = “#ff33b5e5”, 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 override fun lineColor(): StringReturns the dominant line color hex (e.g. “#7000FF”), or null if not applicable.
Last updated on