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

defaultIconAllowOverlap
Link copied to clipboard

If true, the icon will be visible even if it collides with other previously drawn symbols.

val defaultIconAllowOverlap: Boolean?
defaultIconAllowOverlapAsExpression
Link copied to clipboard

This is an Expression representation of "icon-allow-overlap".

If true, the icon will be visible even if it collides with other previously drawn symbols.

val defaultIconAllowOverlapAsExpression: Expression?
defaultIconAnchor
Link copied to clipboard

Part of the icon placed closest to the anchor.

val defaultIconAnchor: IconAnchor?
defaultIconAnchorAsExpression
Link copied to clipboard

This is an Expression representation of "icon-anchor".

Part of the icon placed closest to the anchor.

val defaultIconAnchorAsExpression: Expression?
defaultIconColor
Link copied to clipboard

The color of the icon. This can only be used with sdf icons.

val defaultIconColor: String?
defaultIconColorAsColorInt
Link copied to clipboard

The color of the icon. This can only be used with sdf icons.

val defaultIconColorAsColorInt: Int?
defaultIconColorAsExpression
Link copied to clipboard

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

The color of the icon. This can only be used with sdf icons.

val defaultIconColorAsExpression: Expression?
defaultIconColorTransition
Link copied to clipboard

Transition options for IconColor.

val defaultIconColorTransition: StyleTransition?
defaultIconHaloBlur
Link copied to clipboard

Fade out the halo towards the outside.

val defaultIconHaloBlur: Double?
defaultIconHaloBlurAsExpression
Link copied to clipboard

This is an Expression representation of "icon-halo-blur".

Fade out the halo towards the outside.

val defaultIconHaloBlurAsExpression: Expression?
defaultIconHaloBlurTransition
Link copied to clipboard

Transition options for IconHaloBlur.

val defaultIconHaloBlurTransition: StyleTransition?
defaultIconHaloColor
Link copied to clipboard

The color of the icon's halo. Icon halos can only be used with SDF icons.

val defaultIconHaloColor: String?
defaultIconHaloColorAsColorInt
Link copied to clipboard

The color of the icon's halo. Icon halos can only be used with SDF icons.

val defaultIconHaloColorAsColorInt: Int?
defaultIconHaloColorAsExpression
Link copied to clipboard

This is an Expression representation of "icon-halo-color".

The color of the icon's halo. Icon halos can only be used with SDF icons.

val defaultIconHaloColorAsExpression: Expression?
defaultIconHaloColorTransition
Link copied to clipboard

Transition options for IconHaloColor.

val defaultIconHaloColorTransition: StyleTransition?
defaultIconHaloWidth
Link copied to clipboard

Distance of halo to the icon outline.

val defaultIconHaloWidth: Double?
defaultIconHaloWidthAsExpression
Link copied to clipboard

This is an Expression representation of "icon-halo-width".

Distance of halo to the icon outline.

val defaultIconHaloWidthAsExpression: Expression?
defaultIconHaloWidthTransition
Link copied to clipboard

Transition options for IconHaloWidth.

val defaultIconHaloWidthTransition: StyleTransition?
defaultIconIgnorePlacement
Link copied to clipboard

If true, other symbols can be visible even if they collide with the icon.

val defaultIconIgnorePlacement: Boolean?
defaultIconIgnorePlacementAsExpression
Link copied to clipboard

This is an Expression representation of "icon-ignore-placement".

If true, other symbols can be visible even if they collide with the icon.

val defaultIconIgnorePlacementAsExpression: Expression?
defaultIconImage
Link copied to clipboard

Name of image in sprite to use for drawing an image background.

val defaultIconImage: String?
defaultIconImageAsExpression
Link copied to clipboard

This is an Expression representation of "icon-image".

Name of image in sprite to use for drawing an image background.

val defaultIconImageAsExpression: Expression?
defaultIconKeepUpright
Link copied to clipboard

If true, the icon may be flipped to prevent it from being rendered upside-down.

val defaultIconKeepUpright: Boolean?
defaultIconKeepUprightAsExpression
Link copied to clipboard

This is an Expression representation of "icon-keep-upright".

If true, the icon may be flipped to prevent it from being rendered upside-down.

val defaultIconKeepUprightAsExpression: Expression?
defaultIconOffset
Link copied to clipboard

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up.

val defaultIconOffset: List<Double>?
defaultIconOffsetAsExpression
Link copied to clipboard

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

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up.

val defaultIconOffsetAsExpression: Expression?
defaultIconOpacity
Link copied to clipboard

The opacity at which the icon will be drawn.

val defaultIconOpacity: Double?
defaultIconOpacityAsExpression
Link copied to clipboard

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

The opacity at which the icon will be drawn.

val defaultIconOpacityAsExpression: Expression?
defaultIconOpacityTransition
Link copied to clipboard

Transition options for IconOpacity.

val defaultIconOpacityTransition: StyleTransition?
defaultIconOptional
Link copied to clipboard

If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.

val defaultIconOptional: Boolean?
defaultIconOptionalAsExpression
Link copied to clipboard

This is an Expression representation of "icon-optional".

If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.

val defaultIconOptionalAsExpression: Expression?
defaultIconPadding
Link copied to clipboard

Size of the additional area around the icon bounding box used for detecting symbol collisions.

val defaultIconPadding: Double?
defaultIconPaddingAsExpression
Link copied to clipboard

This is an Expression representation of "icon-padding".

Size of the additional area around the icon bounding box used for detecting symbol collisions.

val defaultIconPaddingAsExpression: Expression?
defaultIconPitchAlignment
Link copied to clipboard

Orientation of icon when map is pitched.

val defaultIconPitchAlignment: IconPitchAlignment?
defaultIconPitchAlignmentAsExpression
Link copied to clipboard

This is an Expression representation of "icon-pitch-alignment".

Orientation of icon when map is pitched.

val defaultIconPitchAlignmentAsExpression: Expression?
defaultIconRotate
Link copied to clipboard

Rotates the icon clockwise.

val defaultIconRotate: Double?
defaultIconRotateAsExpression
Link copied to clipboard

This is an Expression representation of "icon-rotate".

Rotates the icon clockwise.

val defaultIconRotateAsExpression: Expression?
defaultIconRotationAlignment
Link copied to clipboard

In combination with symbol-placement, determines the rotation behavior of icons.

val defaultIconRotationAlignment: IconRotationAlignment?

This is an Expression representation of "icon-rotation-alignment".

In combination with symbol-placement, determines the rotation behavior of icons.

val defaultIconRotationAlignmentAsExpression: Expression?
defaultIconSize
Link copied to clipboard

Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image.

val defaultIconSize: Double?
defaultIconSizeAsExpression
Link copied to clipboard

This is an Expression representation of "icon-size".

Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image.

val defaultIconSizeAsExpression: Expression?
defaultIconTextFit
Link copied to clipboard

Scales the icon to fit around the associated text.

val defaultIconTextFit: IconTextFit?
defaultIconTextFitAsExpression
Link copied to clipboard

This is an Expression representation of "icon-text-fit".

Scales the icon to fit around the associated text.

val defaultIconTextFitAsExpression: Expression?
defaultIconTextFitPadding
Link copied to clipboard

Size of the additional area added to dimensions determined by icon-text-fit, in clockwise order: top, right, bottom, left.

val defaultIconTextFitPadding: List<Double>?
defaultIconTextFitPaddingAsExpression
Link copied to clipboard

This is an Expression representation of "icon-text-fit-padding".

Size of the additional area added to dimensions determined by icon-text-fit, in clockwise order: top, right, bottom, left.

val defaultIconTextFitPaddingAsExpression: Expression?
defaultIconTranslate
Link copied to clipboard

Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.

val defaultIconTranslate: List<Double>?
defaultIconTranslateAnchor
Link copied to clipboard

Controls the frame of reference for icon-translate.

val defaultIconTranslateAnchor: IconTranslateAnchor?
defaultIconTranslateAnchorAsExpression
Link copied to clipboard

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

Controls the frame of reference for icon-translate.

val defaultIconTranslateAnchorAsExpression: Expression?
defaultIconTranslateAsExpression
Link copied to clipboard

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

Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.

val defaultIconTranslateAsExpression: Expression?
defaultIconTranslateTransition
Link copied to clipboard

Transition options for IconTranslate.

val defaultIconTranslateTransition: 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?
defaultSymbolAvoidEdges
Link copied to clipboard

If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.

val defaultSymbolAvoidEdges: Boolean?
defaultSymbolAvoidEdgesAsExpression
Link copied to clipboard

This is an Expression representation of "symbol-avoid-edges".

If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.

val defaultSymbolAvoidEdgesAsExpression: Expression?
defaultSymbolPlacement
Link copied to clipboard

Label placement relative to its geometry.

val defaultSymbolPlacement: SymbolPlacement?
defaultSymbolPlacementAsExpression
Link copied to clipboard

This is an Expression representation of "symbol-placement".

Label placement relative to its geometry.

val defaultSymbolPlacementAsExpression: Expression?
defaultSymbolSortKey
Link copied to clipboard

Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.

val defaultSymbolSortKey: Double?
defaultSymbolSortKeyAsExpression
Link copied to clipboard

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

Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.

val defaultSymbolSortKeyAsExpression: Expression?
defaultSymbolSpacing
Link copied to clipboard

Distance between two symbol anchors.

val defaultSymbolSpacing: Double?
defaultSymbolSpacingAsExpression
Link copied to clipboard

This is an Expression representation of "symbol-spacing".

Distance between two symbol anchors.

val defaultSymbolSpacingAsExpression: Expression?
defaultSymbolZOrder
Link copied to clipboard

Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key.

val defaultSymbolZOrder: SymbolZOrder?
defaultSymbolZOrderAsExpression
Link copied to clipboard

This is an Expression representation of "symbol-z-order".

Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key.

val defaultSymbolZOrderAsExpression: Expression?
defaultTextAllowOverlap
Link copied to clipboard

If true, the text will be visible even if it collides with other previously drawn symbols.

val defaultTextAllowOverlap: Boolean?
defaultTextAllowOverlapAsExpression
Link copied to clipboard

This is an Expression representation of "text-allow-overlap".

If true, the text will be visible even if it collides with other previously drawn symbols.

val defaultTextAllowOverlapAsExpression: Expression?
defaultTextAnchor
Link copied to clipboard

Part of the text placed closest to the anchor.

val defaultTextAnchor: TextAnchor?
defaultTextAnchorAsExpression
Link copied to clipboard

This is an Expression representation of "text-anchor".

Part of the text placed closest to the anchor.

val defaultTextAnchorAsExpression: Expression?
defaultTextColor
Link copied to clipboard

The color with which the text will be drawn.

val defaultTextColor: String?
defaultTextColorAsColorInt
Link copied to clipboard

The color with which the text will be drawn.

val defaultTextColorAsColorInt: Int?
defaultTextColorAsExpression
Link copied to clipboard

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

The color with which the text will be drawn.

val defaultTextColorAsExpression: Expression?
defaultTextColorTransition
Link copied to clipboard

Transition options for TextColor.

val defaultTextColorTransition: StyleTransition?
defaultTextField
Link copied to clipboard

Value to use for a text label. If a plain string is provided, it will be treated as a formatted with default/inherited formatting options.

val defaultTextField: Formatted?
defaultTextFieldAsExpression
Link copied to clipboard

This is an Expression representation of "text-field".

Value to use for a text label. If a plain string is provided, it will be treated as a formatted with default/inherited formatting options.

val defaultTextFieldAsExpression: Expression?
defaultTextFieldAsString
Link copied to clipboard

Value to use for a text label. If a plain string is provided, it will be treated as a formatted with default/inherited formatting options.

val defaultTextFieldAsString: String?
defaultTextFont
Link copied to clipboard

Font stack to use for displaying text.

val defaultTextFont: List<String>?
defaultTextFontAsExpression
Link copied to clipboard

This is an Expression representation of "text-font".

Font stack to use for displaying text.

val defaultTextFontAsExpression: Expression?
defaultTextHaloBlur
Link copied to clipboard

The halo's fadeout distance towards the outside.

val defaultTextHaloBlur: Double?
defaultTextHaloBlurAsExpression
Link copied to clipboard

This is an Expression representation of "text-halo-blur".

The halo's fadeout distance towards the outside.

val defaultTextHaloBlurAsExpression: Expression?
defaultTextHaloBlurTransition
Link copied to clipboard

Transition options for TextHaloBlur.

val defaultTextHaloBlurTransition: StyleTransition?
defaultTextHaloColor
Link copied to clipboard

The color of the text's halo, which helps it stand out from backgrounds.

val defaultTextHaloColor: String?
defaultTextHaloColorAsColorInt
Link copied to clipboard

The color of the text's halo, which helps it stand out from backgrounds.

val defaultTextHaloColorAsColorInt: Int?
defaultTextHaloColorAsExpression
Link copied to clipboard

This is an Expression representation of "text-halo-color".

The color of the text's halo, which helps it stand out from backgrounds.

val defaultTextHaloColorAsExpression: Expression?
defaultTextHaloColorTransition
Link copied to clipboard

Transition options for TextHaloColor.

val defaultTextHaloColorTransition: StyleTransition?
defaultTextHaloWidth
Link copied to clipboard

Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.

val defaultTextHaloWidth: Double?
defaultTextHaloWidthAsExpression
Link copied to clipboard

This is an Expression representation of "text-halo-width".

Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.

val defaultTextHaloWidthAsExpression: Expression?
defaultTextHaloWidthTransition
Link copied to clipboard

Transition options for TextHaloWidth.

val defaultTextHaloWidthTransition: StyleTransition?
defaultTextIgnorePlacement
Link copied to clipboard

If true, other symbols can be visible even if they collide with the text.

val defaultTextIgnorePlacement: Boolean?
defaultTextIgnorePlacementAsExpression
Link copied to clipboard

This is an Expression representation of "text-ignore-placement".

If true, other symbols can be visible even if they collide with the text.

val defaultTextIgnorePlacementAsExpression: Expression?
defaultTextJustify
Link copied to clipboard

Text justification options.

val defaultTextJustify: TextJustify?
defaultTextJustifyAsExpression
Link copied to clipboard

This is an Expression representation of "text-justify".

Text justification options.

val defaultTextJustifyAsExpression: Expression?
defaultTextKeepUpright
Link copied to clipboard

If true, the text may be flipped vertically to prevent it from being rendered upside-down.

val defaultTextKeepUpright: Boolean?
defaultTextKeepUprightAsExpression
Link copied to clipboard

This is an Expression representation of "text-keep-upright".

If true, the text may be flipped vertically to prevent it from being rendered upside-down.

val defaultTextKeepUprightAsExpression: Expression?
defaultTextLetterSpacing
Link copied to clipboard

Text tracking amount.

val defaultTextLetterSpacing: Double?
defaultTextLetterSpacingAsExpression
Link copied to clipboard

This is an Expression representation of "text-letter-spacing".

Text tracking amount.

val defaultTextLetterSpacingAsExpression: Expression?
defaultTextLineHeight
Link copied to clipboard

Text leading value for multi-line text.

val defaultTextLineHeight: Double?
defaultTextLineHeightAsExpression
Link copied to clipboard

This is an Expression representation of "text-line-height".

Text leading value for multi-line text.

val defaultTextLineHeightAsExpression: Expression?
defaultTextMaxAngle
Link copied to clipboard

Maximum angle change between adjacent characters.

val defaultTextMaxAngle: Double?
defaultTextMaxAngleAsExpression
Link copied to clipboard

This is an Expression representation of "text-max-angle".

Maximum angle change between adjacent characters.

val defaultTextMaxAngleAsExpression: Expression?
defaultTextMaxWidth
Link copied to clipboard

The maximum line width for text wrapping.

val defaultTextMaxWidth: Double?
defaultTextMaxWidthAsExpression
Link copied to clipboard

This is an Expression representation of "text-max-width".

The maximum line width for text wrapping.

val defaultTextMaxWidthAsExpression: Expression?
defaultTextOffset
Link copied to clipboard

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

val defaultTextOffset: List<Double>?
defaultTextOffsetAsExpression
Link copied to clipboard

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

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

val defaultTextOffsetAsExpression: Expression?
defaultTextOpacity
Link copied to clipboard

The opacity at which the text will be drawn.

val defaultTextOpacity: Double?
defaultTextOpacityAsExpression
Link copied to clipboard

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

The opacity at which the text will be drawn.

val defaultTextOpacityAsExpression: Expression?
defaultTextOpacityTransition
Link copied to clipboard

Transition options for TextOpacity.

val defaultTextOpacityTransition: StyleTransition?
defaultTextOptional
Link copied to clipboard

If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.

val defaultTextOptional: Boolean?
defaultTextOptionalAsExpression
Link copied to clipboard

This is an Expression representation of "text-optional".

If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.

val defaultTextOptionalAsExpression: Expression?
defaultTextPadding
Link copied to clipboard

Size of the additional area around the text bounding box used for detecting symbol collisions.

val defaultTextPadding: Double?
defaultTextPaddingAsExpression
Link copied to clipboard

This is an Expression representation of "text-padding".

Size of the additional area around the text bounding box used for detecting symbol collisions.

val defaultTextPaddingAsExpression: Expression?
defaultTextPitchAlignment
Link copied to clipboard

Orientation of text when map is pitched.

val defaultTextPitchAlignment: TextPitchAlignment?
defaultTextPitchAlignmentAsExpression
Link copied to clipboard

This is an Expression representation of "text-pitch-alignment".

Orientation of text when map is pitched.

val defaultTextPitchAlignmentAsExpression: Expression?
defaultTextRadialOffset
Link copied to clipboard

Radial offset of text, in the direction of the symbol's anchor. Useful in combination with text-variable-anchor, which defaults to using the two-dimensional text-offset if present.

val defaultTextRadialOffset: Double?
defaultTextRadialOffsetAsExpression
Link copied to clipboard

This is an Expression representation of "text-radial-offset".

Radial offset of text, in the direction of the symbol's anchor. Useful in combination with text-variable-anchor, which defaults to using the two-dimensional text-offset if present.

val defaultTextRadialOffsetAsExpression: Expression?
defaultTextRotate
Link copied to clipboard

Rotates the text clockwise.

val defaultTextRotate: Double?
defaultTextRotateAsExpression
Link copied to clipboard

This is an Expression representation of "text-rotate".

Rotates the text clockwise.

val defaultTextRotateAsExpression: Expression?
defaultTextRotationAlignment
Link copied to clipboard

In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text.

val defaultTextRotationAlignment: TextRotationAlignment?

This is an Expression representation of "text-rotation-alignment".

In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text.

val defaultTextRotationAlignmentAsExpression: Expression?
defaultTextSize
Link copied to clipboard

Font size.

val defaultTextSize: Double?
defaultTextSizeAsExpression
Link copied to clipboard

This is an Expression representation of "text-size".

Font size.

val defaultTextSizeAsExpression: Expression?
defaultTextTransform
Link copied to clipboard

Specifies how to capitalize text, similar to the CSS text-transform property.

val defaultTextTransform: TextTransform?
defaultTextTransformAsExpression
Link copied to clipboard

This is an Expression representation of "text-transform".

Specifies how to capitalize text, similar to the CSS text-transform property.

val defaultTextTransformAsExpression: Expression?
defaultTextTranslate
Link copied to clipboard

Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.

val defaultTextTranslate: List<Double>?
defaultTextTranslateAnchor
Link copied to clipboard

Controls the frame of reference for text-translate.

val defaultTextTranslateAnchor: TextTranslateAnchor?
defaultTextTranslateAnchorAsExpression
Link copied to clipboard

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

Controls the frame of reference for text-translate.

val defaultTextTranslateAnchorAsExpression: Expression?
defaultTextTranslateAsExpression
Link copied to clipboard

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

Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.

val defaultTextTranslateAsExpression: Expression?
defaultTextTranslateTransition
Link copied to clipboard

Transition options for TextTranslate.

val defaultTextTranslateTransition: StyleTransition?
defaultTextVariableAnchor
Link copied to clipboard

To increase the chance of placing high-priority labels on the map, you can provide an array of text-anchor locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use text-justify: auto to choose justification based on anchor position. To apply an offset, use the text-radial-offset or the two-dimensional text-offset.

val defaultTextVariableAnchor: List<String>?
defaultTextVariableAnchorAsExpression
Link copied to clipboard

This is an Expression representation of "text-variable-anchor".

To increase the chance of placing high-priority labels on the map, you can provide an array of text-anchor locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use text-justify: auto to choose justification based on anchor position. To apply an offset, use the text-radial-offset or the two-dimensional text-offset.

val defaultTextVariableAnchorAsExpression: Expression?
defaultTextWritingMode
Link copied to clipboard

The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.

val defaultTextWritingMode: List<String>?
defaultTextWritingModeAsExpression
Link copied to clipboard

This is an Expression representation of "text-writing-mode".

The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.

val defaultTextWritingModeAsExpression: Expression?
defaultVisibility
Link copied to clipboard

Visibility of the layer.

val defaultVisibility: Visibility?