EncodedSampling

interface EncodedSampling

Inheritors

Properties

Link copied to clipboard
abstract var channel: List<ColorBand>

Color band(s) to sample from the encoded data. If performing an expression operation, such as .vector, .sum or .diff, then two bands must be provided.

Link copied to clipboard
abstract var drawRange: ClosedRange<Double>?

Limits the data range that should be rendered from the sampled data. If not provided, then the full data range provided by the associated data source will be rendered by default.

Link copied to clipboard

Determines how data should be sampled from the encoded data texture.

Link copied to clipboard

Type of interpolation to perform on the data.

Link copied to clipboard
abstract var offset: Float

Normalized amount to shift the interpolated sample values from 0 to 1. This is typically used for expression operations like diff where interpolated values can be negative and you need to start values half way (0.5) between the colorscale.range.

Link copied to clipboard
abstract var quality: DataQuality

Controls the data resolution that gets requested by the layer's data source and rendered to the map. Data will be interpolated when rendering to the map to ensure low resolution/quality data is still smooth.

Link copied to clipboard
abstract var smoothing: Float

Amount of smoothing to apply on the data from 0 (no smoothing) to 1 (full smoothing). Increasing this value is useful for low resolution data sets or when higher detail is not desired or needed.