StyleByZoom
constructor(valueByZoom: Map<Double, T>, defaultValue: T, interpolationFunction: (zoom: Double, minZoom: Double, maxZoom: Double, minZoomValue: T, maxZoomValue: T) -> T)
Parameters
valueByZoom
A mapping of zoom levels to a generic style type.
defaultValue
The default value used when no mapping is found.
interpolationFunction
Function used to interpolate style value between zoom levels.