WidthByZoom

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class WidthByZoom(widthByZoom: Map<Double, Double>) : StyleByZoom<Double>

Represents the width to use for each zoom level.

Parameters

widthByZoom

A mapping of zoom levels to widths in dp units.

Constructors

Link copied to clipboard
constructor(widthByZoom: Map<Double, Double>)

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion

Inherited functions

Link copied to clipboard
operator fun get(key: Double): Double

Returns the corresponding style value. If a zoom level does not exists, the value will interpolated using the interpolationFunction and the corresponding range. If valueByZoom is empty, defaultValue will be returned.