FillExtrusionLayerDsl

interface FillExtrusionLayerDsl

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

fillExtrusionAmbientOcclusionIntensity
Link copied to clipboard
abstract fun fillExtrusionAmbientOcclusionIntensity(fillExtrusionAmbientOcclusionIntensity: Expression): FillExtrusionLayer
abstract fun fillExtrusionAmbientOcclusionIntensity(fillExtrusionAmbientOcclusionIntensity: Double = 0.0): FillExtrusionLayer

Controls the intensity of ambient occlusion (AO) shading. Current AO implementation is a low-cost best-effort approach that shades area near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.

Controls the intensity of ambient occlusion (AO) shading. Current AO implementation is a low-cost best-effort approach that shades area near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.

fillExtrusionAmbientOcclusionRadius
Link copied to clipboard
abstract fun fillExtrusionAmbientOcclusionRadius(fillExtrusionAmbientOcclusionRadius: Expression): FillExtrusionLayer
abstract fun fillExtrusionAmbientOcclusionRadius(fillExtrusionAmbientOcclusionRadius: Double = 3.0): FillExtrusionLayer

The radius of ambient occlusion (AO) shading, in meters. Current AO implementation is a low-cost best-effort approach that shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to hight of one floor and brings the most plausible results for buildings.

The radius of ambient occlusion (AO) shading, in meters. Current AO implementation is a low-cost best-effort approach that shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to hight of one floor and brings the most plausible results for buildings.

fillExtrusionBase
Link copied to clipboard
abstract fun fillExtrusionBase(fillExtrusionBase: Expression): FillExtrusionLayer
abstract fun fillExtrusionBase(fillExtrusionBase: Double = 0.0): FillExtrusionLayer

The height with which to extrude the base of this layer. Must be less than or equal to fill-extrusion-height.

fillExtrusionBaseTransition
Link copied to clipboard
abstract fun fillExtrusionBaseTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionBaseTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

The height with which to extrude the base of this layer. Must be less than or equal to fill-extrusion-height.

fillExtrusionColor
Link copied to clipboard
abstract fun fillExtrusionColor(fillExtrusionColor: Expression): FillExtrusionLayer
abstract fun fillExtrusionColor(@ColorInt fillExtrusionColor: Int): FillExtrusionLayer
abstract fun fillExtrusionColor(fillExtrusionColor: String = "#000000"): FillExtrusionLayer

The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light settings. If this color is specified as rgba with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity to set layer opacity.

fillExtrusionColorTransition
Link copied to clipboard
abstract fun fillExtrusionColorTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionColorTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light settings. If this color is specified as rgba with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity to set layer opacity.

fillExtrusionHeight
Link copied to clipboard
abstract fun fillExtrusionHeight(fillExtrusionHeight: Expression): FillExtrusionLayer
abstract fun fillExtrusionHeight(fillExtrusionHeight: Double = 0.0): FillExtrusionLayer

The height with which to extrude this layer.

fillExtrusionHeightTransition
Link copied to clipboard
abstract fun fillExtrusionHeightTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionHeightTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

The height with which to extrude this layer.

fillExtrusionOpacity
Link copied to clipboard
abstract fun fillExtrusionOpacity(fillExtrusionOpacity: Expression): FillExtrusionLayer
abstract fun fillExtrusionOpacity(fillExtrusionOpacity: Double = 1.0): FillExtrusionLayer

The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.

fillExtrusionOpacityTransition
Link copied to clipboard
abstract fun fillExtrusionOpacityTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionOpacityTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.

fillExtrusionPattern
Link copied to clipboard
abstract fun fillExtrusionPattern(fillExtrusionPattern: Expression): FillExtrusionLayer
abstract fun fillExtrusionPattern(fillExtrusionPattern: String): FillExtrusionLayer

Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

fillExtrusionPatternTransition
Link copied to clipboard
abstract fun fillExtrusionPatternTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionPatternTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

fillExtrusionTranslate
Link copied to clipboard
abstract fun fillExtrusionTranslate(fillExtrusionTranslate: Expression): FillExtrusionLayer
abstract fun fillExtrusionTranslate(fillExtrusionTranslate: List<Double> = listOf(0.0, 0.0)): FillExtrusionLayer

The geometry's offset. Values are x, y where negatives indicate left and up (on the flat plane), respectively.

fillExtrusionTranslateAnchor
Link copied to clipboard
abstract fun fillExtrusionTranslateAnchor(fillExtrusionTranslateAnchor: Expression): FillExtrusionLayer
abstract fun fillExtrusionTranslateAnchor(fillExtrusionTranslateAnchor: FillExtrusionTranslateAnchor = FillExtrusionTranslateAnchor.MAP): FillExtrusionLayer

Controls the frame of reference for fill-extrusion-translate.

fillExtrusionTranslateTransition
Link copied to clipboard
abstract fun fillExtrusionTranslateTransition(options: StyleTransition): FillExtrusionLayer
abstract fun fillExtrusionTranslateTransition(block: StyleTransition.Builder.() -> Unit): FillExtrusionLayer

The geometry's offset. Values are x, y where negatives indicate left and up (on the flat plane), respectively.

fillExtrusionVerticalGradient
Link copied to clipboard
abstract fun fillExtrusionVerticalGradient(fillExtrusionVerticalGradient: Expression): FillExtrusionLayer
abstract fun fillExtrusionVerticalGradient(fillExtrusionVerticalGradient: Boolean = true): FillExtrusionLayer

Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.

filter
Link copied to clipboard
abstract fun filter(filter: Expression): FillExtrusionLayer

A filter is a property at the layer level that determines which features should be rendered in a style layer.

maxZoom
Link copied to clipboard
abstract fun maxZoom(maxZoom: Double): FillExtrusionLayer

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

minZoom
Link copied to clipboard
abstract fun minZoom(minZoom: Double): FillExtrusionLayer

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

sourceLayer
Link copied to clipboard
abstract fun sourceLayer(sourceLayer: String): FillExtrusionLayer

A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.

visibility
Link copied to clipboard
abstract fun visibility(visibility: Visibility): FillExtrusionLayer

Whether this layer is displayed.

Inheritors

FillExtrusionLayer
Link copied to clipboard