DoubleRangeValue

data class DoubleRangeValue(val value: Value)

Defines a primitive that can accommodate a range of two Double. Usually defined by a lower and upper limit.

Parameters

value

a value representing an array of two numbers. See Number

Constructors

Link copied to clipboard
fun DoubleRangeValue(lower: Double, upper: Double)

Create a DoubleRangeValue that contains a list of Double that represent a range.

Link copied to clipboard

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun DoubleRangeValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun DoubleRangeValue(value: Value)

Types

Link copied to clipboard
object Companion

DoubleRangeValue's companion object.

Properties

Link copied to clipboard

The Range represented by value or null if the stored Value is not a Range.

Link copied to clipboard
val value: Value