iconOffset property

dynamic iconOffset
final

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.

Type: array default: 0, 0

Sdk Support: basic functionality with js, android, ios, macos data-driven styling with js, android, ios, macos

Implementation

final dynamic iconOffset;