RasterLayerDsl

interface RasterLayerDsl

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

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

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): RasterLayer

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

rasterBrightnessMax
Link copied to clipboard
abstract fun rasterBrightnessMax(rasterBrightnessMax: Expression): RasterLayer
abstract fun rasterBrightnessMax(rasterBrightnessMax: Double = 1.0): RasterLayer

Increase or reduce the brightness of the image. The value is the maximum brightness.

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

Increase or reduce the brightness of the image. The value is the maximum brightness.

rasterBrightnessMin
Link copied to clipboard
abstract fun rasterBrightnessMin(rasterBrightnessMin: Expression): RasterLayer
abstract fun rasterBrightnessMin(rasterBrightnessMin: Double = 0.0): RasterLayer

Increase or reduce the brightness of the image. The value is the minimum brightness.

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

Increase or reduce the brightness of the image. The value is the minimum brightness.

rasterContrast
Link copied to clipboard
abstract fun rasterContrast(rasterContrast: Expression): RasterLayer
abstract fun rasterContrast(rasterContrast: Double = 0.0): RasterLayer

Increase or reduce the contrast of the image.

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

Increase or reduce the contrast of the image.

rasterFadeDuration
Link copied to clipboard
abstract fun rasterFadeDuration(rasterFadeDuration: Expression): RasterLayer
abstract fun rasterFadeDuration(rasterFadeDuration: Double = 300.0): RasterLayer

Fade duration when a new tile is added.

rasterHueRotate
Link copied to clipboard
abstract fun rasterHueRotate(rasterHueRotate: Expression): RasterLayer
abstract fun rasterHueRotate(rasterHueRotate: Double = 0.0): RasterLayer

Rotates hues around the color wheel.

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

Rotates hues around the color wheel.

rasterOpacity
Link copied to clipboard
abstract fun rasterOpacity(rasterOpacity: Expression): RasterLayer
abstract fun rasterOpacity(rasterOpacity: Double = 1.0): RasterLayer

The opacity at which the image will be drawn.

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

The opacity at which the image will be drawn.

rasterResampling
Link copied to clipboard
abstract fun rasterResampling(rasterResampling: Expression): RasterLayer
abstract fun rasterResampling(rasterResampling: RasterResampling = RasterResampling.LINEAR): RasterLayer

The resampling/interpolation method to use for overscaling, also known as texture magnification filter

rasterSaturation
Link copied to clipboard
abstract fun rasterSaturation(rasterSaturation: Expression): RasterLayer
abstract fun rasterSaturation(rasterSaturation: Double = 0.0): RasterLayer

Increase or reduce the saturation of the image.

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

Increase or reduce the saturation of the image.

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

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): RasterLayer

Whether this layer is displayed.

Inheritors

RasterLayer
Link copied to clipboard