Companion

object Companion

Static variables and methods.

Properties

val defaultFillExtrusionAmbientOcclusionIntensity: Double?

Controls the intensity of shading 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 shading 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.

Transition options for FillExtrusionAmbientOcclusionIntensity.

val defaultFillExtrusionAmbientOcclusionRadius: Double?

Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings.

Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings.

Transition options for FillExtrusionAmbientOcclusionRadius.

defaultFillExtrusionBase
Link copied to clipboard
val defaultFillExtrusionBase: Double?

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

defaultFillExtrusionBaseAsExpression
Link copied to clipboard
val defaultFillExtrusionBaseAsExpression: Expression?

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

defaultFillExtrusionBaseTransition
Link copied to clipboard
val defaultFillExtrusionBaseTransition: StyleTransition?

Transition options for FillExtrusionBase.

defaultFillExtrusionColor
Link copied to clipboard
val defaultFillExtrusionColor: String?

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.

defaultFillExtrusionColorAsColorInt
Link copied to clipboard
val defaultFillExtrusionColorAsColorInt: Int?

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.

defaultFillExtrusionColorAsExpression
Link copied to clipboard
val defaultFillExtrusionColorAsExpression: Expression?

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.

defaultFillExtrusionColorTransition
Link copied to clipboard
val defaultFillExtrusionColorTransition: StyleTransition?

Transition options for FillExtrusionColor.

defaultFillExtrusionHeight
Link copied to clipboard
val defaultFillExtrusionHeight: Double?

The height with which to extrude this layer.

defaultFillExtrusionHeightAsExpression
Link copied to clipboard
val defaultFillExtrusionHeightAsExpression: Expression?

The height with which to extrude this layer.

defaultFillExtrusionHeightTransition
Link copied to clipboard
val defaultFillExtrusionHeightTransition: StyleTransition?

Transition options for FillExtrusionHeight.

defaultFillExtrusionOpacity
Link copied to clipboard
val defaultFillExtrusionOpacity: Double?

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.

defaultFillExtrusionOpacityAsExpression
Link copied to clipboard
val defaultFillExtrusionOpacityAsExpression: Expression?

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.

defaultFillExtrusionOpacityTransition
Link copied to clipboard

Transition options for FillExtrusionOpacity.

defaultFillExtrusionPattern
Link copied to clipboard
val defaultFillExtrusionPattern: String?

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.

defaultFillExtrusionPatternAsExpression
Link copied to clipboard
val defaultFillExtrusionPatternAsExpression: Expression?

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.

defaultFillExtrusionPatternTransition
Link copied to clipboard

Transition options for FillExtrusionPattern.

defaultFillExtrusionTranslate
Link copied to clipboard
val defaultFillExtrusionTranslate: List<Double>?

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

defaultFillExtrusionTranslateAnchor
Link copied to clipboard

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

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

val defaultFillExtrusionTranslateAsExpression: Expression?

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

defaultFillExtrusionTranslateTransition
Link copied to clipboard

Transition options for FillExtrusionTranslate.

defaultFillExtrusionVerticalGradient
Link copied to clipboard
val defaultFillExtrusionVerticalGradient: Boolean?

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

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

defaultMaxZoom
Link copied to clipboard
val defaultMaxZoom: Double?

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

defaultMinZoom
Link copied to clipboard
val defaultMinZoom: Double?

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

defaultVisibility
Link copied to clipboard
val defaultVisibility: Visibility?

Visibility of the layer.