drawRange

open override 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.

Either end may be left open with com.xweather.mapsgl.types.math_type.BoundedRange.atLeast / com.xweather.mapsgl.types.math_type.BoundedRange.atMost and is then filled from the data range. On particle layers it can be changed at runtime with setPaintProperty("sample.drawRange", …); on sample layers set it before adding the layer.