RouteLineScaleValue

data class RouteLineScaleValue(scaleStop: Float, scaleMultiplier: Float, scale: Float)

Represents the values used for the ExpressionBuilder.stop elements in an Expression for controlling the scaling of the route line at different zoom levels. See the Mapbox Map documentation for more information regarding Expressions.

Parameters

scaleStop

the stop value for the ExpressionBuilder.stop

scaleMultiplier

a value multiplied by the scale

scale

represents the scale value used in the Expression

Constructors

RouteLineScaleValue
Link copied to clipboard
fun RouteLineScaleValue(scaleStop: Float, scaleMultiplier: Float, scale: Float)
the stop value for the ExpressionBuilder.stop

Functions

component1
Link copied to clipboard
operator fun component1(): Float
component2
Link copied to clipboard
operator fun component2(): Float
component3
Link copied to clipboard
operator fun component3(): Float
copy
Link copied to clipboard
fun copy(scaleStop: Float, scaleMultiplier: Float, scale: Float): RouteLineScaleValue
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

scale
Link copied to clipboard
val scale: Float
represents the scale value used in the Expression
scaleMultiplier
Link copied to clipboard
val scaleMultiplier: Float
a value multiplied by the scale
scaleStop
Link copied to clipboard
val scaleStop: Float
the stop value for the ExpressionBuilder.stop