Symbol Layer
@UiThread()
Content copied to clipboard
An icon or a text label.
See also
Parameters
layerId
the ID of the layer
sourceId
the ID of the source
Constructors
SymbolLayer
Link copied to clipboard
the ID of the layer
Types
Functions
bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Content copied to clipboard
filter
Link copied to clipboard
iconAllowOverlap
Link copied to clipboard
open override fun iconAllowOverlap(iconAllowOverlap: Expression): SymbolLayer
Content copied to clipboard
open override fun iconAllowOverlap(iconAllowOverlap: Boolean): SymbolLayer
Content copied to clipboard
iconAnchor
Link copied to clipboard
iconColor
Link copied to clipboard
iconColorTransition
Link copied to clipboard
open override fun iconColorTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconColorTransition.
iconHaloBlur
Link copied to clipboard
iconHaloBlurTransition
Link copied to clipboard
open override fun iconHaloBlurTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconHaloBlurTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconHaloBlurTransition.
iconHaloColor
Link copied to clipboard
open override fun iconHaloColor(@ColorInt() iconHaloColor: Int): SymbolLayer
Content copied to clipboard
iconHaloColorTransition
Link copied to clipboard
open override fun iconHaloColorTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconHaloColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconHaloColorTransition.
iconHaloWidth
Link copied to clipboard
iconHaloWidthTransition
Link copied to clipboard
open override fun iconHaloWidthTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconHaloWidthTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconHaloWidthTransition.
iconIgnorePlacement
Link copied to clipboard
open override fun iconIgnorePlacement(iconIgnorePlacement: Expression): SymbolLayer
Content copied to clipboard
open override fun iconIgnorePlacement(iconIgnorePlacement: Boolean): SymbolLayer
Content copied to clipboard
iconImage
Link copied to clipboard
iconKeepUpright
Link copied to clipboard
open override fun iconKeepUpright(iconKeepUpright: Expression): SymbolLayer
Content copied to clipboard
iconOffset
Link copied to clipboard
iconOpacity
Link copied to clipboard
iconOpacityTransition
Link copied to clipboard
open override fun iconOpacityTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconOpacityTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconOpacityTransition.
iconOptional
Link copied to clipboard
iconPadding
Link copied to clipboard
iconPitchAlignment
Link copied to clipboard
open override fun iconPitchAlignment(iconPitchAlignment: Expression): SymbolLayer
Content copied to clipboard
open override fun iconPitchAlignment(iconPitchAlignment: IconPitchAlignment): SymbolLayer
Content copied to clipboard
iconRotate
Link copied to clipboard
iconRotationAlignment
Link copied to clipboard
open override fun iconRotationAlignment(iconRotationAlignment: Expression): SymbolLayer
Content copied to clipboard
open override fun iconRotationAlignment(iconRotationAlignment: IconRotationAlignment): SymbolLayer
Content copied to clipboard
iconSize
Link copied to clipboard
iconTextFit
Link copied to clipboard
iconTextFitPadding
Link copied to clipboard
open override fun iconTextFitPadding(iconTextFitPadding: Expression): SymbolLayer
Content copied to clipboard
open override fun iconTextFitPadding(iconTextFitPadding: List<Double>): SymbolLayer
Content copied to clipboard
iconTranslate
Link copied to clipboard
open override fun iconTranslate(iconTranslate: List<Double>): SymbolLayer
Content copied to clipboard
iconTranslateAnchor
Link copied to clipboard
open override fun iconTranslateAnchor(iconTranslateAnchor: Expression): SymbolLayer
Content copied to clipboard
open override fun iconTranslateAnchor(iconTranslateAnchor: IconTranslateAnchor): SymbolLayer
Content copied to clipboard
iconTranslateTransition
Link copied to clipboard
open override fun iconTranslateTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun iconTranslateTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for iconTranslateTransition.
maxZoom
Link copied to clipboard
minZoom
Link copied to clipboard
sourceLayer
Link copied to clipboard
symbolAvoidEdges
Link copied to clipboard
open override fun symbolAvoidEdges(symbolAvoidEdges: Expression): SymbolLayer
Content copied to clipboard
open override fun symbolAvoidEdges(symbolAvoidEdges: Boolean): SymbolLayer
Content copied to clipboard
symbolPlacement
Link copied to clipboard
open override fun symbolPlacement(symbolPlacement: Expression): SymbolLayer
Content copied to clipboard
open override fun symbolPlacement(symbolPlacement: SymbolPlacement): SymbolLayer
Content copied to clipboard
symbolSortKey
Link copied to clipboard
symbolSpacing
Link copied to clipboard
symbolZOrder
Link copied to clipboard
textAllowOverlap
Link copied to clipboard
open override fun textAllowOverlap(textAllowOverlap: Expression): SymbolLayer
Content copied to clipboard
open override fun textAllowOverlap(textAllowOverlap: Boolean): SymbolLayer
Content copied to clipboard
textAnchor
Link copied to clipboard
textColor
Link copied to clipboard
textColorTransition
Link copied to clipboard
open override fun textColorTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textColorTransition.
textFont
Link copied to clipboard
textHaloBlur
Link copied to clipboard
textHaloBlurTransition
Link copied to clipboard
open override fun textHaloBlurTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textHaloBlurTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textHaloBlurTransition.
textHaloColor
Link copied to clipboard
open override fun textHaloColor(@ColorInt() textHaloColor: Int): SymbolLayer
Content copied to clipboard
textHaloColorTransition
Link copied to clipboard
open override fun textHaloColorTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textHaloColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textHaloColorTransition.
textHaloWidth
Link copied to clipboard
textHaloWidthTransition
Link copied to clipboard
open override fun textHaloWidthTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textHaloWidthTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textHaloWidthTransition.
textIgnorePlacement
Link copied to clipboard
open override fun textIgnorePlacement(textIgnorePlacement: Expression): SymbolLayer
Content copied to clipboard
open override fun textIgnorePlacement(textIgnorePlacement: Boolean): SymbolLayer
Content copied to clipboard
textJustify
Link copied to clipboard
textKeepUpright
Link copied to clipboard
open override fun textKeepUpright(textKeepUpright: Expression): SymbolLayer
Content copied to clipboard
textLetterSpacing
Link copied to clipboard
open override fun textLetterSpacing(textLetterSpacing: Expression): SymbolLayer
Content copied to clipboard
open override fun textLetterSpacing(textLetterSpacing: Double): SymbolLayer
Content copied to clipboard
textLineHeight
Link copied to clipboard
open override fun textLineHeight(textLineHeight: Expression): SymbolLayer
Content copied to clipboard
textMaxAngle
Link copied to clipboard
textMaxWidth
Link copied to clipboard
textOffset
Link copied to clipboard
textOpacity
Link copied to clipboard
textOpacityTransition
Link copied to clipboard
open override fun textOpacityTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textOpacityTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textOpacityTransition.
textOptional
Link copied to clipboard
textPadding
Link copied to clipboard
textPitchAlignment
Link copied to clipboard
open override fun textPitchAlignment(textPitchAlignment: Expression): SymbolLayer
Content copied to clipboard
open override fun textPitchAlignment(textPitchAlignment: TextPitchAlignment): SymbolLayer
Content copied to clipboard
textRadialOffset
Link copied to clipboard
open override fun textRadialOffset(textRadialOffset: Expression): SymbolLayer
Content copied to clipboard
open override fun textRadialOffset(textRadialOffset: Double): SymbolLayer
Content copied to clipboard
textRotate
Link copied to clipboard
textRotationAlignment
Link copied to clipboard
open override fun textRotationAlignment(textRotationAlignment: Expression): SymbolLayer
Content copied to clipboard
open override fun textRotationAlignment(textRotationAlignment: TextRotationAlignment): SymbolLayer
Content copied to clipboard
textSize
Link copied to clipboard
textTransform
Link copied to clipboard
open override fun textTransform(textTransform: TextTransform): SymbolLayer
Content copied to clipboard
textTranslate
Link copied to clipboard
open override fun textTranslate(textTranslate: List<Double>): SymbolLayer
Content copied to clipboard
textTranslateAnchor
Link copied to clipboard
open override fun textTranslateAnchor(textTranslateAnchor: Expression): SymbolLayer
Content copied to clipboard
open override fun textTranslateAnchor(textTranslateAnchor: TextTranslateAnchor): SymbolLayer
Content copied to clipboard
textTranslateTransition
Link copied to clipboard
open override fun textTranslateTransition(options: StyleTransition): SymbolLayer
Content copied to clipboard
open override fun textTranslateTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
Content copied to clipboard
DSL for textTranslateTransition.
textVariableAnchor
Link copied to clipboard
open override fun textVariableAnchor(textVariableAnchor: Expression): SymbolLayer
Content copied to clipboard
open override fun textVariableAnchor(textVariableAnchor: List<String>): SymbolLayer
Content copied to clipboard
textWritingMode
Link copied to clipboard
open override fun textWritingMode(textWritingMode: Expression): SymbolLayer
Content copied to clipboard
open override fun textWritingMode(textWritingMode: List<String>): SymbolLayer
Content copied to clipboard
visibility
Link copied to clipboard
Properties
filter
Link copied to clipboard
iconAllowOverlap
Link copied to clipboard
iconAllowOverlapAsExpression
Link copied to clipboard
iconAnchor
Link copied to clipboard
iconAnchorAsExpression
Link copied to clipboard
iconColorAsColorInt
Link copied to clipboard
iconColorAsExpression
Link copied to clipboard
iconColorTransition
Link copied to clipboard
iconHaloBlur
Link copied to clipboard
iconHaloBlurAsExpression
Link copied to clipboard
iconHaloBlurTransition
Link copied to clipboard
iconHaloColor
Link copied to clipboard
iconHaloColorAsColorInt
Link copied to clipboard
iconHaloColorAsExpression
Link copied to clipboard
iconHaloColorTransition
Link copied to clipboard
iconHaloWidth
Link copied to clipboard
iconHaloWidthAsExpression
Link copied to clipboard
iconHaloWidthTransition
Link copied to clipboard
iconIgnorePlacement
Link copied to clipboard
iconIgnorePlacementAsExpression
Link copied to clipboard
iconImageAsExpression
Link copied to clipboard
iconKeepUpright
Link copied to clipboard
iconKeepUprightAsExpression
Link copied to clipboard
iconOffset
Link copied to clipboard
iconOffsetAsExpression
Link copied to clipboard
iconOpacity
Link copied to clipboard
iconOpacityAsExpression
Link copied to clipboard
iconOpacityTransition
Link copied to clipboard
iconOptional
Link copied to clipboard
iconOptionalAsExpression
Link copied to clipboard
iconPadding
Link copied to clipboard
iconPaddingAsExpression
Link copied to clipboard
iconPitchAlignment
Link copied to clipboard
iconPitchAlignmentAsExpression
Link copied to clipboard
iconRotate
Link copied to clipboard
iconRotateAsExpression
Link copied to clipboard
iconRotationAlignment
Link copied to clipboard
iconRotationAlignmentAsExpression
Link copied to clipboard
iconSizeAsExpression
Link copied to clipboard
iconTextFit
Link copied to clipboard
iconTextFitAsExpression
Link copied to clipboard
iconTextFitPadding
Link copied to clipboard
iconTextFitPaddingAsExpression
Link copied to clipboard
iconTranslate
Link copied to clipboard
iconTranslateAnchor
Link copied to clipboard
iconTranslateAnchorAsExpression
Link copied to clipboard
iconTranslateAsExpression
Link copied to clipboard
iconTranslateTransition
Link copied to clipboard
sourceLayer
Link copied to clipboard
symbolAvoidEdges
Link copied to clipboard
symbolAvoidEdgesAsExpression
Link copied to clipboard
symbolPlacement
Link copied to clipboard
symbolPlacementAsExpression
Link copied to clipboard
symbolSortKey
Link copied to clipboard
symbolSortKeyAsExpression
Link copied to clipboard
symbolSpacing
Link copied to clipboard
symbolSpacingAsExpression
Link copied to clipboard
symbolZOrder
Link copied to clipboard
symbolZOrderAsExpression
Link copied to clipboard
textAllowOverlap
Link copied to clipboard
textAllowOverlapAsExpression
Link copied to clipboard
textAnchor
Link copied to clipboard
textAnchorAsExpression
Link copied to clipboard
textColorAsColorInt
Link copied to clipboard
textColorAsExpression
Link copied to clipboard
textColorTransition
Link copied to clipboard
textFieldAsExpression
Link copied to clipboard
textFieldAsString
Link copied to clipboard
textFontAsExpression
Link copied to clipboard
textHaloBlur
Link copied to clipboard
textHaloBlurAsExpression
Link copied to clipboard
textHaloBlurTransition
Link copied to clipboard
textHaloColor
Link copied to clipboard
textHaloColorAsColorInt
Link copied to clipboard
textHaloColorAsExpression
Link copied to clipboard
textHaloColorTransition
Link copied to clipboard
textHaloWidth
Link copied to clipboard
textHaloWidthAsExpression
Link copied to clipboard
textHaloWidthTransition
Link copied to clipboard
textIgnorePlacement
Link copied to clipboard
textIgnorePlacementAsExpression
Link copied to clipboard
textJustify
Link copied to clipboard
textJustifyAsExpression
Link copied to clipboard
textKeepUpright
Link copied to clipboard
textKeepUprightAsExpression
Link copied to clipboard
textLetterSpacing
Link copied to clipboard
textLetterSpacingAsExpression
Link copied to clipboard
textLineHeight
Link copied to clipboard
textLineHeightAsExpression
Link copied to clipboard
textMaxAngle
Link copied to clipboard
textMaxAngleAsExpression
Link copied to clipboard
textMaxWidth
Link copied to clipboard
textMaxWidthAsExpression
Link copied to clipboard
textOffset
Link copied to clipboard
textOffsetAsExpression
Link copied to clipboard
textOpacity
Link copied to clipboard
textOpacityAsExpression
Link copied to clipboard
textOpacityTransition
Link copied to clipboard
textOptional
Link copied to clipboard
textOptionalAsExpression
Link copied to clipboard
textPadding
Link copied to clipboard
textPaddingAsExpression
Link copied to clipboard
textPitchAlignment
Link copied to clipboard
textPitchAlignmentAsExpression
Link copied to clipboard
textRadialOffset
Link copied to clipboard
textRadialOffsetAsExpression
Link copied to clipboard
textRotate
Link copied to clipboard
textRotateAsExpression
Link copied to clipboard
textRotationAlignment
Link copied to clipboard
textRotationAlignmentAsExpression
Link copied to clipboard
textSizeAsExpression
Link copied to clipboard
textTransform
Link copied to clipboard
textTransformAsExpression
Link copied to clipboard
textTranslate
Link copied to clipboard
textTranslateAnchor
Link copied to clipboard
textTranslateAnchorAsExpression
Link copied to clipboard
textTranslateAsExpression
Link copied to clipboard
textTranslateTransition
Link copied to clipboard
textVariableAnchor
Link copied to clipboard
textVariableAnchorAsExpression
Link copied to clipboard
textWritingMode
Link copied to clipboard
textWritingModeAsExpression
Link copied to clipboard
visibility
Link copied to clipboard