FillExtrusionLayer

class FillExtrusionLayer(layerId: String, sourceId: String) : Layer, FillExtrusionLayerDsl

An extruded (3D) polygon.

See also

Parameters

layerId

the ID of the layer

sourceId

the ID of the source

Constructors

FillExtrusionLayer
Link copied to clipboard
fun FillExtrusionLayer(layerId: String, sourceId: String)
the ID of the layer

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

bindTo
Link copied to clipboard
fun bindTo(delegate: StyleInterface)
Bind the layer to the Style.
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Bind the layer to the map controller.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
fillExtrusionBase
Link copied to clipboard
open override fun fillExtrusionBase(fillExtrusionBase: Expression): FillExtrusionLayer
Set the FillExtrusionBase property
open override fun fillExtrusionBase(fillExtrusionBase: Double): FillExtrusionLayer
Set the FillExtrusionBase property
fillExtrusionBaseTransition
Link copied to clipboard
open override fun fillExtrusionBaseTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionBase property transition options
open override fun fillExtrusionBaseTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionColor
Link copied to clipboard
open override fun fillExtrusionColor(fillExtrusionColor: Expression): FillExtrusionLayer
Set the FillExtrusionColor property
open override fun fillExtrusionColor(@ColorInt() fillExtrusionColor: Int): FillExtrusionLayer
Set the FillExtrusionColor property.
open override fun fillExtrusionColor(fillExtrusionColor: String): FillExtrusionLayer
Set the FillExtrusionColor property
fillExtrusionColorTransition
Link copied to clipboard
open override fun fillExtrusionColorTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionColor property transition options
open override fun fillExtrusionColorTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionHeight
Link copied to clipboard
open override fun fillExtrusionHeight(fillExtrusionHeight: Expression): FillExtrusionLayer
Set the FillExtrusionHeight property
open override fun fillExtrusionHeight(fillExtrusionHeight: Double): FillExtrusionLayer
Set the FillExtrusionHeight property
fillExtrusionHeightTransition
Link copied to clipboard
open override fun fillExtrusionHeightTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionHeight property transition options
open override fun fillExtrusionHeightTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionOpacity
Link copied to clipboard
open override fun fillExtrusionOpacity(fillExtrusionOpacity: Expression): FillExtrusionLayer
Set the FillExtrusionOpacity property
open override fun fillExtrusionOpacity(fillExtrusionOpacity: Double): FillExtrusionLayer
Set the FillExtrusionOpacity property
fillExtrusionOpacityTransition
Link copied to clipboard
open override fun fillExtrusionOpacityTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionOpacity property transition options
open override fun fillExtrusionOpacityTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionPattern
Link copied to clipboard
open override fun fillExtrusionPattern(fillExtrusionPattern: Expression): FillExtrusionLayer
Set the FillExtrusionPattern property
open override fun fillExtrusionPattern(fillExtrusionPattern: String): FillExtrusionLayer
Set the FillExtrusionPattern property
fillExtrusionPatternTransition
Link copied to clipboard
open override fun fillExtrusionPatternTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionPattern property transition options
open override fun fillExtrusionPatternTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionTranslate
Link copied to clipboard
open override fun fillExtrusionTranslate(fillExtrusionTranslate: Expression): FillExtrusionLayer
Set the FillExtrusionTranslate property
open override fun fillExtrusionTranslate(fillExtrusionTranslate: List<Double>): FillExtrusionLayer
Set the FillExtrusionTranslate property
fillExtrusionTranslateAnchor
Link copied to clipboard
open override fun fillExtrusionTranslateAnchor(fillExtrusionTranslateAnchor: Expression): FillExtrusionLayer
Set the FillExtrusionTranslateAnchor property
open override fun fillExtrusionTranslateAnchor(fillExtrusionTranslateAnchor: FillExtrusionTranslateAnchor): FillExtrusionLayer
Set the FillExtrusionTranslateAnchor property
fillExtrusionTranslateTransition
Link copied to clipboard
open override fun fillExtrusionTranslateTransition(options: StyleTransition): FillExtrusionLayer
Set the FillExtrusionTranslate property transition options
open override fun fillExtrusionTranslateTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer
fillExtrusionVerticalGradient
Link copied to clipboard
open override fun fillExtrusionVerticalGradient(fillExtrusionVerticalGradient: Expression): FillExtrusionLayer
Set the FillExtrusionVerticalGradient property
open override fun fillExtrusionVerticalGradient(fillExtrusionVerticalGradient: Boolean): FillExtrusionLayer
Set the FillExtrusionVerticalGradient property
filter
Link copied to clipboard
open override fun filter(filter: Expression): FillExtrusionLayer
Set the filter property
hashCode
Link copied to clipboard
open fun hashCode(): Int
maxZoom
Link copied to clipboard
open override fun maxZoom(maxZoom: Double): FillExtrusionLayer
Set the maxzoom property
minZoom
Link copied to clipboard
open override fun minZoom(minZoom: Double): FillExtrusionLayer
Set the minzoom property
sourceLayer
Link copied to clipboard
open override fun sourceLayer(sourceLayer: String): FillExtrusionLayer
Set the sourceLayer property
toString
Link copied to clipboard
open fun toString(): String
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): FillExtrusionLayer
Set the Visibility property

Properties

fillExtrusionBase
Link copied to clipboard
val fillExtrusionBase: Double?
The height with which to extrude the base of this layer.
fillExtrusionBaseAsExpression
Link copied to clipboard
val fillExtrusionBaseAsExpression: Expression?
This is an Expression representation of "fill-extrusion-base".
fillExtrusionBaseTransition
Link copied to clipboard
val fillExtrusionBaseTransition: StyleTransition?
Transition options for FillExtrusionBase.
fillExtrusionColor
Link copied to clipboard
val fillExtrusionColor: String?
The base color of the extruded fill.
fillExtrusionColorAsColorInt
Link copied to clipboard
val fillExtrusionColorAsColorInt: Int?
The base color of the extruded fill.
fillExtrusionColorAsExpression
Link copied to clipboard
val fillExtrusionColorAsExpression: Expression?
This is an Expression representation of "fill-extrusion-color".
fillExtrusionColorTransition
Link copied to clipboard
val fillExtrusionColorTransition: StyleTransition?
Transition options for FillExtrusionColor.
fillExtrusionHeight
Link copied to clipboard
val fillExtrusionHeight: Double?
The height with which to extrude this layer.
fillExtrusionHeightAsExpression
Link copied to clipboard
val fillExtrusionHeightAsExpression: Expression?
This is an Expression representation of "fill-extrusion-height".
fillExtrusionHeightTransition
Link copied to clipboard
val fillExtrusionHeightTransition: StyleTransition?
Transition options for FillExtrusionHeight.
fillExtrusionOpacity
Link copied to clipboard
val fillExtrusionOpacity: Double?
The opacity of the entire fill extrusion layer.
fillExtrusionOpacityAsExpression
Link copied to clipboard
val fillExtrusionOpacityAsExpression: Expression?
This is an Expression representation of "fill-extrusion-opacity".
fillExtrusionOpacityTransition
Link copied to clipboard
val fillExtrusionOpacityTransition: StyleTransition?
Transition options for FillExtrusionOpacity.
fillExtrusionPattern
Link copied to clipboard
val fillExtrusionPattern: String?
Name of image in sprite to use for drawing images on extruded fills.
fillExtrusionPatternAsExpression
Link copied to clipboard
val fillExtrusionPatternAsExpression: Expression?
This is an Expression representation of "fill-extrusion-pattern".
fillExtrusionPatternTransition
Link copied to clipboard
val fillExtrusionPatternTransition: StyleTransition?
Transition options for FillExtrusionPattern.
fillExtrusionTranslate
Link copied to clipboard
val fillExtrusionTranslate: List<Double>?
The geometry's offset.
fillExtrusionTranslateAnchor
Link copied to clipboard
Controls the frame of reference for fill-extrusion-translate.
val fillExtrusionTranslateAnchorAsExpression: Expression?
This is an Expression representation of "fill-extrusion-translate-anchor".
fillExtrusionTranslateAsExpression
Link copied to clipboard
val fillExtrusionTranslateAsExpression: Expression?
This is an Expression representation of "fill-extrusion-translate".
fillExtrusionTranslateTransition
Link copied to clipboard
val fillExtrusionTranslateTransition: StyleTransition?
Transition options for FillExtrusionTranslate.
fillExtrusionVerticalGradient
Link copied to clipboard
val fillExtrusionVerticalGradient: Boolean?
Whether to apply a vertical gradient to the sides of a fill-extrusion layer.
val fillExtrusionVerticalGradientAsExpression: Expression?
This is an Expression representation of "fill-extrusion-vertical-gradient".
filter
Link copied to clipboard
val filter: Expression?
A expression specifying conditions on source features.
layerId
Link copied to clipboard
open override val layerId: String
the ID of the layer
maxZoom
Link copied to clipboard
open override val maxZoom: Double?
The maximum zoom level for the layer.
minZoom
Link copied to clipboard
open override val minZoom: Double?
The minimum zoom level for the layer.
sourceId
Link copied to clipboard
val sourceId: String
the ID of the source
sourceLayer
Link copied to clipboard
val sourceLayer: String?
Source layer.
visibility
Link copied to clipboard
open override val visibility: Visibility?
Visibility of the layer.