Line Layer
See also
Parameters
layerId
the ID of the layer
sourceId
the ID of the source
Constructors
Types
Functions
bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Content copied to clipboard
filter
Link copied to clipboard
lineBlur
Link copied to clipboard
lineBlurTransition
Link copied to clipboard
open override fun lineBlurTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineBlurTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineBlurTransition.
lineCap
Link copied to clipboard
lineColor
Link copied to clipboard
lineColorTransition
Link copied to clipboard
open override fun lineColorTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineColorTransition.
lineDasharray
Link copied to clipboard
open override fun lineDasharray(lineDasharray: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun lineDasharray(lineDasharray: List<Double>): <ERROR CLASS>
Content copied to clipboard
lineDasharrayTransition
Link copied to clipboard
open override fun lineDasharrayTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineDasharrayTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineDasharrayTransition.
lineGapWidth
Link copied to clipboard
lineGapWidthTransition
Link copied to clipboard
open override fun lineGapWidthTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineGapWidthTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineGapWidthTransition.
lineGradient
Link copied to clipboard
lineJoin
Link copied to clipboard
lineMiterLimit
Link copied to clipboard
open override fun lineMiterLimit(lineMiterLimit: Expression): <ERROR CLASS>
Content copied to clipboard
lineOffset
Link copied to clipboard
lineOffsetTransition
Link copied to clipboard
open override fun lineOffsetTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineOffsetTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineOffsetTransition.
lineOpacity
Link copied to clipboard
lineOpacityTransition
Link copied to clipboard
open override fun lineOpacityTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineOpacityTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineOpacityTransition.
linePattern
Link copied to clipboard
linePatternTransition
Link copied to clipboard
open override fun linePatternTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun linePatternTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for linePatternTransition.
lineRoundLimit
Link copied to clipboard
open override fun lineRoundLimit(lineRoundLimit: Expression): <ERROR CLASS>
Content copied to clipboard
lineSortKey
Link copied to clipboard
lineTranslate
Link copied to clipboard
open override fun lineTranslate(lineTranslate: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun lineTranslate(lineTranslate: List<Double>): <ERROR CLASS>
Content copied to clipboard
lineTranslateAnchor
Link copied to clipboard
open override fun lineTranslateAnchor(lineTranslateAnchor: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun lineTranslateAnchor(lineTranslateAnchor: LineTranslateAnchor): <ERROR CLASS>
Content copied to clipboard
lineTranslateTransition
Link copied to clipboard
open override fun lineTranslateTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineTranslateTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineTranslateTransition.
lineWidth
Link copied to clipboard
lineWidthTransition
Link copied to clipboard
open override fun lineWidthTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun lineWidthTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for lineWidthTransition.
sourceLayer
Link copied to clipboard
visibility
Link copied to clipboard
Properties
filter
Link copied to clipboard
A expression specifying conditions on source features.
lineBlurAsExpression
Link copied to clipboard
This is an Expression representation of "line-blur".
lineBlurTransition
Link copied to clipboard
Transition options for LineBlur.
lineCapAsExpression
Link copied to clipboard
This is an Expression representation of "line-cap".
lineColorAsColorInt
Link copied to clipboard
The color with which the line will be drawn.
lineColorAsExpression
Link copied to clipboard
This is an Expression representation of "line-color".
lineColorTransition
Link copied to clipboard
Transition options for LineColor.
lineDasharray
Link copied to clipboard
Specifies the lengths of the alternating dashes and gaps that form the dash pattern.
lineDasharrayAsExpression
Link copied to clipboard
This is an Expression representation of "line-dasharray".
lineDasharrayTransition
Link copied to clipboard
Transition options for LineDasharray.
lineGapWidth
Link copied to clipboard
Draws a line casing outside of a line's actual path.
lineGapWidthAsExpression
Link copied to clipboard
This is an Expression representation of "line-gap-width".
lineGapWidthTransition
Link copied to clipboard
Transition options for LineGapWidth.
lineGradient
Link copied to clipboard
Defines a gradient with which to color a line feature.
lineJoinAsExpression
Link copied to clipboard
This is an Expression representation of "line-join".
lineMiterLimit
Link copied to clipboard
Used to automatically convert miter joins to bevel joins for sharp angles.
lineMiterLimitAsExpression
Link copied to clipboard
This is an Expression representation of "line-miter-limit".
lineOffset
Link copied to clipboard
The line's offset.
lineOffsetAsExpression
Link copied to clipboard
This is an Expression representation of "line-offset".
lineOffsetTransition
Link copied to clipboard
Transition options for LineOffset.
lineOpacity
Link copied to clipboard
The opacity at which the line will be drawn.
lineOpacityAsExpression
Link copied to clipboard
This is an Expression representation of "line-opacity".
lineOpacityTransition
Link copied to clipboard
Transition options for LineOpacity.
linePattern
Link copied to clipboard
Name of image in sprite to use for drawing image lines.
linePatternAsExpression
Link copied to clipboard
This is an Expression representation of "line-pattern".
linePatternTransition
Link copied to clipboard
Transition options for LinePattern.
lineRoundLimit
Link copied to clipboard
Used to automatically convert round joins to miter joins for shallow angles.
lineRoundLimitAsExpression
Link copied to clipboard
This is an Expression representation of "line-round-limit".
lineSortKey
Link copied to clipboard
Sorts features in ascending order based on this value.
lineSortKeyAsExpression
Link copied to clipboard
This is an Expression representation of "line-sort-key".
lineTranslate
Link copied to clipboard
The geometry's offset.
lineTranslateAnchor
Link copied to clipboard
Controls the frame of reference for
line-translate
.lineTranslateAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "line-translate-anchor".
lineTranslateAsExpression
Link copied to clipboard
This is an Expression representation of "line-translate".
lineTranslateTransition
Link copied to clipboard
Transition options for LineTranslate.
lineWidthAsExpression
Link copied to clipboard
This is an Expression representation of "line-width".
lineWidthTransition
Link copied to clipboard
Transition options for LineWidth.
sourceLayer
Link copied to clipboard
Source layer.
visibility
Link copied to clipboard
Visibility of the layer.