CircleLayerDsl

interface CircleLayerDsl

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

Link copied to clipboard
abstract fun circleBlur(circleBlur: Expression): CircleLayer
abstract fun circleBlur(circleBlur: Double = 0.0): CircleLayer

Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. Default value: 0.

Link copied to clipboard

Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. Default value: 0.

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

The fill color of the circle. Default value: "#000000".

Link copied to clipboard

The fill color of the circle. Default value: "#000000".

Link copied to clipboard
abstract fun circleEmissiveStrength(circleEmissiveStrength: Expression): CircleLayer
abstract fun circleEmissiveStrength(circleEmissiveStrength: Double = 0.0): CircleLayer

Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.

Link copied to clipboard

Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.

Link copied to clipboard
abstract fun circleOpacity(circleOpacity: Expression): CircleLayer
abstract fun circleOpacity(circleOpacity: Double = 1.0): CircleLayer

The opacity at which the circle will be drawn. Default value: 1. Value range: 0, 1

Link copied to clipboard

The opacity at which the circle will be drawn. Default value: 1. Value range: 0, 1

Link copied to clipboard
abstract fun circlePitchAlignment(circlePitchAlignment: Expression): CircleLayer
abstract fun circlePitchAlignment(circlePitchAlignment: CirclePitchAlignment = CirclePitchAlignment.VIEWPORT): CircleLayer

Orientation of circle when map is pitched. Default value: "viewport".

Link copied to clipboard
abstract fun circlePitchScale(circlePitchScale: Expression): CircleLayer
abstract fun circlePitchScale(circlePitchScale: CirclePitchScale = CirclePitchScale.MAP): CircleLayer

Controls the scaling behavior of the circle when the map is pitched. Default value: "map".

Link copied to clipboard
abstract fun circleRadius(circleRadius: Expression): CircleLayer
abstract fun circleRadius(circleRadius: Double = 5.0): CircleLayer

Circle radius. Default value: 5. Minimum value: 0.

Link copied to clipboard

Circle radius. Default value: 5. Minimum value: 0.

Link copied to clipboard
abstract fun circleSortKey(circleSortKey: Expression): CircleLayer
abstract fun circleSortKey(circleSortKey: Double): CircleLayer

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

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

The stroke color of the circle. Default value: "#000000".

Link copied to clipboard

The stroke color of the circle. Default value: "#000000".

Link copied to clipboard
abstract fun circleStrokeOpacity(circleStrokeOpacity: Expression): CircleLayer
abstract fun circleStrokeOpacity(circleStrokeOpacity: Double = 1.0): CircleLayer

The opacity of the circle's stroke. Default value: 1. Value range: 0, 1

Link copied to clipboard

The opacity of the circle's stroke. Default value: 1. Value range: 0, 1

Link copied to clipboard
abstract fun circleStrokeWidth(circleStrokeWidth: Expression): CircleLayer
abstract fun circleStrokeWidth(circleStrokeWidth: Double = 0.0): CircleLayer

The width of the circle's stroke. Strokes are placed outside of the circle-radius. Default value: 0. Minimum value: 0.

Link copied to clipboard

The width of the circle's stroke. Strokes are placed outside of the circle-radius. Default value: 0. Minimum value: 0.

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

The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0.

Link copied to clipboard
abstract fun circleTranslateAnchor(circleTranslateAnchor: Expression): CircleLayer
abstract fun circleTranslateAnchor(circleTranslateAnchor: CircleTranslateAnchor = CircleTranslateAnchor.MAP): CircleLayer

Controls the frame of reference for circle-translate. Default value: "map".

Link copied to clipboard

The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0.

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

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

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

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

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

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

Link copied to clipboard
abstract fun slot(slot: String): CircleLayer

The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.

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

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

Link copied to clipboard
abstract fun visibility(visibility: Expression): CircleLayer
abstract fun visibility(visibility: Visibility): CircleLayer

Whether this layer is displayed.

Inheritors

Link copied to clipboard