Companion

Static variables and methods.

object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

defaultLineBlur
Link copied to clipboard

Blur applied to the line, in pixels.

val defaultLineBlur: Double?
defaultLineBlurAsExpression
Link copied to clipboard

This is an Expression representation of "line-blur".

Blur applied to the line, in pixels.

val defaultLineBlurAsExpression: Expression?
defaultLineBlurTransition
Link copied to clipboard

Transition options for LineBlur.

val defaultLineBlurTransition: StyleTransition?
defaultLineCap
Link copied to clipboard

The display of line endings.

val defaultLineCap: LineCap?
defaultLineCapAsExpression
Link copied to clipboard

This is an Expression representation of "line-cap".

The display of line endings.

val defaultLineCapAsExpression: Expression?
defaultLineColor
Link copied to clipboard

The color with which the line will be drawn.

val defaultLineColor: String?
defaultLineColorAsColorInt
Link copied to clipboard

The color with which the line will be drawn.

val defaultLineColorAsColorInt: Int?
defaultLineColorAsExpression
Link copied to clipboard

This is an Expression representation of "line-color".

The color with which the line will be drawn.

val defaultLineColorAsExpression: Expression?
defaultLineColorTransition
Link copied to clipboard

Transition options for LineColor.

val defaultLineColorTransition: StyleTransition?
defaultLineDasharray
Link copied to clipboard

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.

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

This is an Expression representation of "line-dasharray".

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.

val defaultLineDasharrayAsExpression: Expression?
defaultLineDasharrayTransition
Link copied to clipboard

Transition options for LineDasharray.

val defaultLineDasharrayTransition: StyleTransition?
defaultLineGapWidth
Link copied to clipboard

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

val defaultLineGapWidth: Double?
defaultLineGapWidthAsExpression
Link copied to clipboard

This is an Expression representation of "line-gap-width".

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

val defaultLineGapWidthAsExpression: Expression?
defaultLineGapWidthTransition
Link copied to clipboard

Transition options for LineGapWidth.

val defaultLineGapWidthTransition: StyleTransition?
defaultLineJoin
Link copied to clipboard

The display of lines when joining.

val defaultLineJoin: LineJoin?
defaultLineJoinAsExpression
Link copied to clipboard

This is an Expression representation of "line-join".

The display of lines when joining.

val defaultLineJoinAsExpression: Expression?
defaultLineMiterLimit
Link copied to clipboard

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

val defaultLineMiterLimit: Double?
defaultLineMiterLimitAsExpression
Link copied to clipboard

This is an Expression representation of "line-miter-limit".

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

val defaultLineMiterLimitAsExpression: Expression?
defaultLineOffset
Link copied to clipboard

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.

val defaultLineOffset: Double?
defaultLineOffsetAsExpression
Link copied to clipboard

This is an Expression representation of "line-offset".

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.

val defaultLineOffsetAsExpression: Expression?
defaultLineOffsetTransition
Link copied to clipboard

Transition options for LineOffset.

val defaultLineOffsetTransition: StyleTransition?
defaultLineOpacity
Link copied to clipboard

The opacity at which the line will be drawn.

val defaultLineOpacity: Double?
defaultLineOpacityAsExpression
Link copied to clipboard

This is an Expression representation of "line-opacity".

The opacity at which the line will be drawn.

val defaultLineOpacityAsExpression: Expression?
defaultLineOpacityTransition
Link copied to clipboard

Transition options for LineOpacity.

val defaultLineOpacityTransition: StyleTransition?
defaultLinePattern
Link copied to clipboard

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.

val defaultLinePattern: String?
defaultLinePatternAsExpression
Link copied to clipboard

This is an Expression representation of "line-pattern".

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.

val defaultLinePatternAsExpression: Expression?
defaultLinePatternTransition
Link copied to clipboard

Transition options for LinePattern.

val defaultLinePatternTransition: StyleTransition?
defaultLineRoundLimit
Link copied to clipboard

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

val defaultLineRoundLimit: Double?
defaultLineRoundLimitAsExpression
Link copied to clipboard

This is an Expression representation of "line-round-limit".

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

val defaultLineRoundLimitAsExpression: Expression?
defaultLineSortKey
Link copied to clipboard

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

val defaultLineSortKey: Double?
defaultLineSortKeyAsExpression
Link copied to clipboard

This is an Expression representation of "line-sort-key".

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

val defaultLineSortKeyAsExpression: Expression?
defaultLineTranslate
Link copied to clipboard

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

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

Controls the frame of reference for line-translate.

val defaultLineTranslateAnchor: LineTranslateAnchor?
defaultLineTranslateAnchorAsExpression
Link copied to clipboard

This is an Expression representation of "line-translate-anchor".

Controls the frame of reference for line-translate.

val defaultLineTranslateAnchorAsExpression: Expression?
defaultLineTranslateAsExpression
Link copied to clipboard

This is an Expression representation of "line-translate".

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

val defaultLineTranslateAsExpression: Expression?
defaultLineTranslateTransition
Link copied to clipboard

Transition options for LineTranslate.

val defaultLineTranslateTransition: StyleTransition?
defaultLineWidth
Link copied to clipboard

Stroke thickness.

val defaultLineWidth: Double?
defaultLineWidthAsExpression
Link copied to clipboard

This is an Expression representation of "line-width".

Stroke thickness.

val defaultLineWidthAsExpression: Expression?
defaultLineWidthTransition
Link copied to clipboard

Transition options for LineWidth.

val defaultLineWidthTransition: StyleTransition?
defaultMaxZoom
Link copied to clipboard

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

Range: minimum: 0 maximum: 24

val defaultMaxZoom: Double?
defaultMinZoom
Link copied to clipboard

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

Range: minimum: 0 maximum: 24

val defaultMinZoom: Double?
defaultVisibility
Link copied to clipboard

Visibility of the layer.

val defaultVisibility: Visibility?