WidthByZoom

class WidthByZoom(widthByZoom: Map<Double, Double>) : StyleByZoom<Double>

Represents the width to use for each zoom level.

Important: This is a Public Preview API. It may be changed or removed at any time.

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