IconOffset

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun IconOffset(value: List<Double>)

Construct the IconOffset with List.

Link copied to clipboard
fun IconOffset(expression: Expression)

Construct the IconOffset with Mapbox Expression.

Link copied to clipboard
fun IconOffset(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard