SymbolLayerDsl

interface SymbolLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.

Functions

filter
Link copied to clipboard
abstract fun filter(filter: Expression): SymbolLayer
Set the filter property
iconAllowOverlap
Link copied to clipboard
abstract fun iconAllowOverlap(iconAllowOverlap: Expression): SymbolLayer
Set the IconAllowOverlap property
abstract fun iconAllowOverlap(iconAllowOverlap: Boolean = false): SymbolLayer
Set the IconAllowOverlap property
iconAnchor
Link copied to clipboard
abstract fun iconAnchor(iconAnchor: Expression): SymbolLayer
Set the IconAnchor property
abstract fun iconAnchor(iconAnchor: IconAnchor = IconAnchor.CENTER): SymbolLayer
Set the IconAnchor property
iconColor
Link copied to clipboard
abstract fun iconColor(iconColor: Expression): SymbolLayer
Set the IconColor property
abstract fun iconColor(@ColorInt() iconColor: Int): SymbolLayer
Set the IconColor property.
abstract fun iconColor(iconColor: String = "#000000"): SymbolLayer
Set the IconColor property
iconColorTransition
Link copied to clipboard
abstract fun iconColorTransition(options: StyleTransition): SymbolLayer
Set the IconColor property transition options
abstract fun iconColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
iconHaloBlur
Link copied to clipboard
abstract fun iconHaloBlur(iconHaloBlur: Expression): SymbolLayer
Set the IconHaloBlur property
abstract fun iconHaloBlur(iconHaloBlur: Double = 0.0): SymbolLayer
Set the IconHaloBlur property
iconHaloBlurTransition
Link copied to clipboard
abstract fun iconHaloBlurTransition(options: StyleTransition): SymbolLayer
Set the IconHaloBlur property transition options
abstract fun iconHaloBlurTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
iconHaloColor
Link copied to clipboard
abstract fun iconHaloColor(iconHaloColor: Expression): SymbolLayer
Set the IconHaloColor property
abstract fun iconHaloColor(@ColorInt() iconHaloColor: Int): SymbolLayer
Set the IconHaloColor property.
abstract fun iconHaloColor(iconHaloColor: String = "rgba(0, 0, 0, 0)"): SymbolLayer
Set the IconHaloColor property
iconHaloColorTransition
Link copied to clipboard
abstract fun iconHaloColorTransition(options: StyleTransition): SymbolLayer
Set the IconHaloColor property transition options
abstract fun iconHaloColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
iconHaloWidth
Link copied to clipboard
abstract fun iconHaloWidth(iconHaloWidth: Expression): SymbolLayer
Set the IconHaloWidth property
abstract fun iconHaloWidth(iconHaloWidth: Double = 0.0): SymbolLayer
Set the IconHaloWidth property
iconHaloWidthTransition
Link copied to clipboard
abstract fun iconHaloWidthTransition(options: StyleTransition): SymbolLayer
Set the IconHaloWidth property transition options
abstract fun iconHaloWidthTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
iconIgnorePlacement
Link copied to clipboard
abstract fun iconIgnorePlacement(iconIgnorePlacement: Expression): SymbolLayer
Set the IconIgnorePlacement property
abstract fun iconIgnorePlacement(iconIgnorePlacement: Boolean = false): SymbolLayer
Set the IconIgnorePlacement property
iconImage
Link copied to clipboard
abstract fun iconImage(iconImage: Expression): SymbolLayer
Set the IconImage property
abstract fun iconImage(iconImage: String): SymbolLayer
Set the IconImage property
iconKeepUpright
Link copied to clipboard
abstract fun iconKeepUpright(iconKeepUpright: Expression): SymbolLayer
Set the IconKeepUpright property
abstract fun iconKeepUpright(iconKeepUpright: Boolean = false): SymbolLayer
Set the IconKeepUpright property
iconOffset
Link copied to clipboard
abstract fun iconOffset(iconOffset: Expression): SymbolLayer
Set the IconOffset property
abstract fun iconOffset(iconOffset: List<Double> = listOf(0.0, 0.0)): SymbolLayer
Set the IconOffset property
iconOpacity
Link copied to clipboard
abstract fun iconOpacity(iconOpacity: Expression): SymbolLayer
Set the IconOpacity property
abstract fun iconOpacity(iconOpacity: Double = 1.0): SymbolLayer
Set the IconOpacity property
iconOpacityTransition
Link copied to clipboard
abstract fun iconOpacityTransition(options: StyleTransition): SymbolLayer
Set the IconOpacity property transition options
abstract fun iconOpacityTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
iconOptional
Link copied to clipboard
abstract fun iconOptional(iconOptional: Expression): SymbolLayer
Set the IconOptional property
abstract fun iconOptional(iconOptional: Boolean = false): SymbolLayer
Set the IconOptional property
iconPadding
Link copied to clipboard
abstract fun iconPadding(iconPadding: Expression): SymbolLayer
Set the IconPadding property
abstract fun iconPadding(iconPadding: Double = 2.0): SymbolLayer
Set the IconPadding property
iconPitchAlignment
Link copied to clipboard
abstract fun iconPitchAlignment(iconPitchAlignment: Expression): SymbolLayer
Set the IconPitchAlignment property
abstract fun iconPitchAlignment(iconPitchAlignment: IconPitchAlignment = IconPitchAlignment.AUTO): SymbolLayer
Set the IconPitchAlignment property
iconRotate
Link copied to clipboard
abstract fun iconRotate(iconRotate: Expression): SymbolLayer
Set the IconRotate property
abstract fun iconRotate(iconRotate: Double = 0.0): SymbolLayer
Set the IconRotate property
iconRotationAlignment
Link copied to clipboard
abstract fun iconRotationAlignment(iconRotationAlignment: Expression): SymbolLayer
Set the IconRotationAlignment property
abstract fun iconRotationAlignment(iconRotationAlignment: IconRotationAlignment = IconRotationAlignment.AUTO): SymbolLayer
Set the IconRotationAlignment property
iconSize
Link copied to clipboard
abstract fun iconSize(iconSize: Expression): SymbolLayer
Set the IconSize property
abstract fun iconSize(iconSize: Double = 1.0): SymbolLayer
Set the IconSize property
iconTextFit
Link copied to clipboard
abstract fun iconTextFit(iconTextFit: Expression): SymbolLayer
Set the IconTextFit property
abstract fun iconTextFit(iconTextFit: IconTextFit = IconTextFit.NONE): SymbolLayer
Set the IconTextFit property
iconTextFitPadding
Link copied to clipboard
abstract fun iconTextFitPadding(iconTextFitPadding: Expression): SymbolLayer
Set the IconTextFitPadding property
abstract fun iconTextFitPadding(iconTextFitPadding: List<Double> = listOf(0.0, 0.0, 0.0, 0.0)): SymbolLayer
Set the IconTextFitPadding property
iconTranslate
Link copied to clipboard
abstract fun iconTranslate(iconTranslate: Expression): SymbolLayer
Set the IconTranslate property
abstract fun iconTranslate(iconTranslate: List<Double> = listOf(0.0, 0.0)): SymbolLayer
Set the IconTranslate property
iconTranslateAnchor
Link copied to clipboard
abstract fun iconTranslateAnchor(iconTranslateAnchor: Expression): SymbolLayer
Set the IconTranslateAnchor property
abstract fun iconTranslateAnchor(iconTranslateAnchor: IconTranslateAnchor = IconTranslateAnchor.MAP): SymbolLayer
Set the IconTranslateAnchor property
iconTranslateTransition
Link copied to clipboard
abstract fun iconTranslateTransition(options: StyleTransition): SymbolLayer
Set the IconTranslate property transition options
abstract fun iconTranslateTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
maxZoom
Link copied to clipboard
abstract fun maxZoom(maxZoom: Double): SymbolLayer
Set the maxzoom property
minZoom
Link copied to clipboard
abstract fun minZoom(minZoom: Double): SymbolLayer
Set the minzoom property
sourceLayer
Link copied to clipboard
abstract fun sourceLayer(sourceLayer: String): SymbolLayer
Set the sourceLayer property
symbolAvoidEdges
Link copied to clipboard
abstract fun symbolAvoidEdges(symbolAvoidEdges: Expression): SymbolLayer
Set the SymbolAvoidEdges property
abstract fun symbolAvoidEdges(symbolAvoidEdges: Boolean = false): SymbolLayer
Set the SymbolAvoidEdges property
symbolPlacement
Link copied to clipboard
abstract fun symbolPlacement(symbolPlacement: Expression): SymbolLayer
Set the SymbolPlacement property
abstract fun symbolPlacement(symbolPlacement: SymbolPlacement = SymbolPlacement.POINT): SymbolLayer
Set the SymbolPlacement property
symbolSortKey
Link copied to clipboard
abstract fun symbolSortKey(symbolSortKey: Expression): SymbolLayer
Set the SymbolSortKey property
abstract fun symbolSortKey(symbolSortKey: Double): SymbolLayer
Set the SymbolSortKey property
symbolSpacing
Link copied to clipboard
abstract fun symbolSpacing(symbolSpacing: Expression): SymbolLayer
Set the SymbolSpacing property
abstract fun symbolSpacing(symbolSpacing: Double = 250.0): SymbolLayer
Set the SymbolSpacing property
symbolZOrder
Link copied to clipboard
abstract fun symbolZOrder(symbolZOrder: Expression): SymbolLayer
Set the SymbolZOrder property
abstract fun symbolZOrder(symbolZOrder: SymbolZOrder = SymbolZOrder.AUTO): SymbolLayer
Set the SymbolZOrder property
textAllowOverlap
Link copied to clipboard
abstract fun textAllowOverlap(textAllowOverlap: Expression): SymbolLayer
Set the TextAllowOverlap property
abstract fun textAllowOverlap(textAllowOverlap: Boolean = false): SymbolLayer
Set the TextAllowOverlap property
textAnchor
Link copied to clipboard
abstract fun textAnchor(textAnchor: Expression): SymbolLayer
Set the TextAnchor property
abstract fun textAnchor(textAnchor: TextAnchor = TextAnchor.CENTER): SymbolLayer
Set the TextAnchor property
textColor
Link copied to clipboard
abstract fun textColor(textColor: Expression): SymbolLayer
Set the TextColor property
abstract fun textColor(@ColorInt() textColor: Int): SymbolLayer
Set the TextColor property.
abstract fun textColor(textColor: String = "#000000"): SymbolLayer
Set the TextColor property
textColorTransition
Link copied to clipboard
abstract fun textColorTransition(options: StyleTransition): SymbolLayer
Set the TextColor property transition options
abstract fun textColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textField
Link copied to clipboard
abstract fun textField(textField: Expression): SymbolLayer
Set the TextField property
abstract fun textField(textField: Formatted): SymbolLayer
Set the TextField property
abstract fun textField(block: Formatted.() -> Unit): SymbolLayer
DSL for construct Formatted textField.
abstract fun textField(textField: String): SymbolLayer
Set the TextField property as String.
textFont
Link copied to clipboard
abstract fun textFont(textFont: Expression): SymbolLayer
Set the TextFont property
abstract fun textFont(textFont: List<String> = listOf("Open Sans Regular", "Arial Unicode MS Regular")): SymbolLayer
Set the TextFont property
textHaloBlur
Link copied to clipboard
abstract fun textHaloBlur(textHaloBlur: Expression): SymbolLayer
Set the TextHaloBlur property
abstract fun textHaloBlur(textHaloBlur: Double = 0.0): SymbolLayer
Set the TextHaloBlur property
textHaloBlurTransition
Link copied to clipboard
abstract fun textHaloBlurTransition(options: StyleTransition): SymbolLayer
Set the TextHaloBlur property transition options
abstract fun textHaloBlurTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textHaloColor
Link copied to clipboard
abstract fun textHaloColor(textHaloColor: Expression): SymbolLayer
Set the TextHaloColor property
abstract fun textHaloColor(@ColorInt() textHaloColor: Int): SymbolLayer
Set the TextHaloColor property.
abstract fun textHaloColor(textHaloColor: String = "rgba(0, 0, 0, 0)"): SymbolLayer
Set the TextHaloColor property
textHaloColorTransition
Link copied to clipboard
abstract fun textHaloColorTransition(options: StyleTransition): SymbolLayer
Set the TextHaloColor property transition options
abstract fun textHaloColorTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textHaloWidth
Link copied to clipboard
abstract fun textHaloWidth(textHaloWidth: Expression): SymbolLayer
Set the TextHaloWidth property
abstract fun textHaloWidth(textHaloWidth: Double = 0.0): SymbolLayer
Set the TextHaloWidth property
textHaloWidthTransition
Link copied to clipboard
abstract fun textHaloWidthTransition(options: StyleTransition): SymbolLayer
Set the TextHaloWidth property transition options
abstract fun textHaloWidthTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textIgnorePlacement
Link copied to clipboard
abstract fun textIgnorePlacement(textIgnorePlacement: Expression): SymbolLayer
Set the TextIgnorePlacement property
abstract fun textIgnorePlacement(textIgnorePlacement: Boolean = false): SymbolLayer
Set the TextIgnorePlacement property
textJustify
Link copied to clipboard
abstract fun textJustify(textJustify: Expression): SymbolLayer
Set the TextJustify property
abstract fun textJustify(textJustify: TextJustify = TextJustify.CENTER): SymbolLayer
Set the TextJustify property
textKeepUpright
Link copied to clipboard
abstract fun textKeepUpright(textKeepUpright: Expression): SymbolLayer
Set the TextKeepUpright property
abstract fun textKeepUpright(textKeepUpright: Boolean = true): SymbolLayer
Set the TextKeepUpright property
textLetterSpacing
Link copied to clipboard
abstract fun textLetterSpacing(textLetterSpacing: Expression): SymbolLayer
Set the TextLetterSpacing property
abstract fun textLetterSpacing(textLetterSpacing: Double = 0.0): SymbolLayer
Set the TextLetterSpacing property
textLineHeight
Link copied to clipboard
abstract fun textLineHeight(textLineHeight: Expression): SymbolLayer
Set the TextLineHeight property
abstract fun textLineHeight(textLineHeight: Double = 1.2): SymbolLayer
Set the TextLineHeight property
textMaxAngle
Link copied to clipboard
abstract fun textMaxAngle(textMaxAngle: Expression): SymbolLayer
Set the TextMaxAngle property
abstract fun textMaxAngle(textMaxAngle: Double = 45.0): SymbolLayer
Set the TextMaxAngle property
textMaxWidth
Link copied to clipboard
abstract fun textMaxWidth(textMaxWidth: Expression): SymbolLayer
Set the TextMaxWidth property
abstract fun textMaxWidth(textMaxWidth: Double = 10.0): SymbolLayer
Set the TextMaxWidth property
textOffset
Link copied to clipboard
abstract fun textOffset(textOffset: Expression): SymbolLayer
Set the TextOffset property
abstract fun textOffset(textOffset: List<Double> = listOf(0.0, 0.0)): SymbolLayer
Set the TextOffset property
textOpacity
Link copied to clipboard
abstract fun textOpacity(textOpacity: Expression): SymbolLayer
Set the TextOpacity property
abstract fun textOpacity(textOpacity: Double = 1.0): SymbolLayer
Set the TextOpacity property
textOpacityTransition
Link copied to clipboard
abstract fun textOpacityTransition(options: StyleTransition): SymbolLayer
Set the TextOpacity property transition options
abstract fun textOpacityTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textOptional
Link copied to clipboard
abstract fun textOptional(textOptional: Expression): SymbolLayer
Set the TextOptional property
abstract fun textOptional(textOptional: Boolean = false): SymbolLayer
Set the TextOptional property
textPadding
Link copied to clipboard
abstract fun textPadding(textPadding: Expression): SymbolLayer
Set the TextPadding property
abstract fun textPadding(textPadding: Double = 2.0): SymbolLayer
Set the TextPadding property
textPitchAlignment
Link copied to clipboard
abstract fun textPitchAlignment(textPitchAlignment: Expression): SymbolLayer
Set the TextPitchAlignment property
abstract fun textPitchAlignment(textPitchAlignment: TextPitchAlignment = TextPitchAlignment.AUTO): SymbolLayer
Set the TextPitchAlignment property
textRadialOffset
Link copied to clipboard
abstract fun textRadialOffset(textRadialOffset: Expression): SymbolLayer
Set the TextRadialOffset property
abstract fun textRadialOffset(textRadialOffset: Double = 0.0): SymbolLayer
Set the TextRadialOffset property
textRotate
Link copied to clipboard
abstract fun textRotate(textRotate: Expression): SymbolLayer
Set the TextRotate property
abstract fun textRotate(textRotate: Double = 0.0): SymbolLayer
Set the TextRotate property
textRotationAlignment
Link copied to clipboard
abstract fun textRotationAlignment(textRotationAlignment: Expression): SymbolLayer
Set the TextRotationAlignment property
abstract fun textRotationAlignment(textRotationAlignment: TextRotationAlignment = TextRotationAlignment.AUTO): SymbolLayer
Set the TextRotationAlignment property
textSize
Link copied to clipboard
abstract fun textSize(textSize: Expression): SymbolLayer
Set the TextSize property
abstract fun textSize(textSize: Double = 16.0): SymbolLayer
Set the TextSize property
textTransform
Link copied to clipboard
abstract fun textTransform(textTransform: Expression): SymbolLayer
Set the TextTransform property
abstract fun textTransform(textTransform: TextTransform = TextTransform.NONE): SymbolLayer
Set the TextTransform property
textTranslate
Link copied to clipboard
abstract fun textTranslate(textTranslate: Expression): SymbolLayer
Set the TextTranslate property
abstract fun textTranslate(textTranslate: List<Double> = listOf(0.0, 0.0)): SymbolLayer
Set the TextTranslate property
textTranslateAnchor
Link copied to clipboard
abstract fun textTranslateAnchor(textTranslateAnchor: Expression): SymbolLayer
Set the TextTranslateAnchor property
abstract fun textTranslateAnchor(textTranslateAnchor: TextTranslateAnchor = TextTranslateAnchor.MAP): SymbolLayer
Set the TextTranslateAnchor property
textTranslateTransition
Link copied to clipboard
abstract fun textTranslateTransition(options: StyleTransition): SymbolLayer
Set the TextTranslate property transition options
abstract fun textTranslateTransition(block: StyleTransition.Builder.() -> Unit): SymbolLayer
textVariableAnchor
Link copied to clipboard
abstract fun textVariableAnchor(textVariableAnchor: Expression): SymbolLayer
Set the TextVariableAnchor property
abstract fun textVariableAnchor(textVariableAnchor: List<String>): SymbolLayer
Set the TextVariableAnchor property
textWritingMode
Link copied to clipboard
abstract fun textWritingMode(textWritingMode: Expression): SymbolLayer
Set the TextWritingMode property
abstract fun textWritingMode(textWritingMode: List<String>): SymbolLayer
Set the TextWritingMode property
visibility
Link copied to clipboard
abstract fun visibility(visibility: Visibility): SymbolLayer
Set the Visibility property

Inheritors

SymbolLayer
Link copied to clipboard