Companion

object Companion

Static variables and methods.

Properties

defaultLineBlur
Link copied to clipboard
val defaultLineBlur: Double?

Blur applied to the line, in pixels.

defaultLineBlurAsExpression
Link copied to clipboard
val defaultLineBlurAsExpression: Expression?

Blur applied to the line, in pixels.

defaultLineBlurTransition
Link copied to clipboard
val defaultLineBlurTransition: StyleTransition?

Transition options for LineBlur.

defaultLineCap
Link copied to clipboard
val defaultLineCap: LineCap?

The display of line endings.

defaultLineCapAsExpression
Link copied to clipboard
val defaultLineCapAsExpression: Expression?

The display of line endings.

defaultLineColor
Link copied to clipboard
val defaultLineColor: String?

The color with which the line will be drawn.

defaultLineColorAsColorInt
Link copied to clipboard
val defaultLineColorAsColorInt: Int?

The color with which the line will be drawn.

defaultLineColorAsExpression
Link copied to clipboard
val defaultLineColorAsExpression: Expression?

The color with which the line will be drawn.

defaultLineColorTransition
Link copied to clipboard
val defaultLineColorTransition: StyleTransition?

Transition options for LineColor.

defaultLineDasharray
Link copied to clipboard
val defaultLineDasharray: List<Double>?

Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with lineMetrics: true specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.

defaultLineDasharrayAsExpression
Link copied to clipboard
val defaultLineDasharrayAsExpression: Expression?

Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with lineMetrics: true specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.

defaultLineDasharrayTransition
Link copied to clipboard
val defaultLineDasharrayTransition: StyleTransition?

Transition options for LineDasharray.

defaultLineGapWidth
Link copied to clipboard
val defaultLineGapWidth: Double?

Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.

defaultLineGapWidthAsExpression
Link copied to clipboard
val defaultLineGapWidthAsExpression: Expression?

Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.

defaultLineGapWidthTransition
Link copied to clipboard
val defaultLineGapWidthTransition: StyleTransition?

Transition options for LineGapWidth.

defaultLineJoin
Link copied to clipboard
val defaultLineJoin: LineJoin?

The display of lines when joining.

defaultLineJoinAsExpression
Link copied to clipboard
val defaultLineJoinAsExpression: Expression?

The display of lines when joining.

defaultLineMiterLimit
Link copied to clipboard
val defaultLineMiterLimit: Double?

Used to automatically convert miter joins to bevel joins for sharp angles.

defaultLineMiterLimitAsExpression
Link copied to clipboard
val defaultLineMiterLimitAsExpression: Expression?

Used to automatically convert miter joins to bevel joins for sharp angles.

defaultLineOffset
Link copied to clipboard
val defaultLineOffset: Double?

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

defaultLineOffsetAsExpression
Link copied to clipboard
val defaultLineOffsetAsExpression: Expression?

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

defaultLineOffsetTransition
Link copied to clipboard
val defaultLineOffsetTransition: StyleTransition?

Transition options for LineOffset.

defaultLineOpacity
Link copied to clipboard
val defaultLineOpacity: Double?

The opacity at which the line will be drawn.

defaultLineOpacityAsExpression
Link copied to clipboard
val defaultLineOpacityAsExpression: Expression?

The opacity at which the line will be drawn.

defaultLineOpacityTransition
Link copied to clipboard
val defaultLineOpacityTransition: StyleTransition?

Transition options for LineOpacity.

defaultLinePattern
Link copied to clipboard
val defaultLinePattern: String?

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

defaultLinePatternAsExpression
Link copied to clipboard
val defaultLinePatternAsExpression: Expression?

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

defaultLinePatternTransition
Link copied to clipboard
val defaultLinePatternTransition: StyleTransition?

Transition options for LinePattern.

defaultLineRoundLimit
Link copied to clipboard
val defaultLineRoundLimit: Double?

Used to automatically convert round joins to miter joins for shallow angles.

defaultLineRoundLimitAsExpression
Link copied to clipboard
val defaultLineRoundLimitAsExpression: Expression?

Used to automatically convert round joins to miter joins for shallow angles.

defaultLineSortKey
Link copied to clipboard
val defaultLineSortKey: Double?

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

defaultLineSortKeyAsExpression
Link copied to clipboard
val defaultLineSortKeyAsExpression: Expression?

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

defaultLineTranslate
Link copied to clipboard
val defaultLineTranslate: List<Double>?

The geometry's offset. Values are x, y where negatives indicate left and up, respectively.

defaultLineTranslateAnchor
Link copied to clipboard
val defaultLineTranslateAnchor: LineTranslateAnchor?

Controls the frame of reference for line-translate.

defaultLineTranslateAnchorAsExpression
Link copied to clipboard
val defaultLineTranslateAnchorAsExpression: Expression?

Controls the frame of reference for line-translate.

defaultLineTranslateAsExpression
Link copied to clipboard
val defaultLineTranslateAsExpression: Expression?

The geometry's offset. Values are x, y where negatives indicate left and up, respectively.

defaultLineTranslateTransition
Link copied to clipboard
val defaultLineTranslateTransition: StyleTransition?

Transition options for LineTranslate.

defaultLineTrimOffset
Link copied to clipboard
val defaultLineTrimOffset: List<Double>?

The line trim-off percentage range based on the whole line gradinet range 0.0, 1.0. The line part between trim-start, trim-end will be marked as transparent to make a route vanishing effect. If either 'trim-start' or 'trim-end' offset is out of valid range, the default range will be set.

defaultLineTrimOffsetAsExpression
Link copied to clipboard
val defaultLineTrimOffsetAsExpression: Expression?

The line trim-off percentage range based on the whole line gradinet range 0.0, 1.0. The line part between trim-start, trim-end will be marked as transparent to make a route vanishing effect. If either 'trim-start' or 'trim-end' offset is out of valid range, the default range will be set.

defaultLineWidth
Link copied to clipboard
val defaultLineWidth: Double?

Stroke thickness.

defaultLineWidthAsExpression
Link copied to clipboard
val defaultLineWidthAsExpression: Expression?

Stroke thickness.

defaultLineWidthTransition
Link copied to clipboard
val defaultLineWidthTransition: StyleTransition?

Transition options for LineWidth.

defaultMaxZoom
Link copied to clipboard
val defaultMaxZoom: Double?

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

defaultMinZoom
Link copied to clipboard
val defaultMinZoom: Double?

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

defaultVisibility
Link copied to clipboard
val defaultVisibility: Visibility?

Visibility of the layer.