iconRotationAlignment property
dynamic
iconRotationAlignment
final
In combination with
symbol-placement,
determines the rotation behavior of icons.
Type: enum
default: auto
Options:
"map"
When
symbol-placement
is set to point, aligns icons east-west. When
symbol-placement is set to line or line-center, aligns icon
x-axes with the line.
"viewport"
Produces icons whose x-axes are aligned with the x-axis of the
viewport, regardless of the value of
symbol-placement.
"auto"
When
symbol-placement
is set to point, this is equivalent to viewport. When
symbol-placement is set to line or line-center, this is
equivalent to map.
Sdk Support: basic functionality with js, android, ios data-driven styling on no platform yet
Implementation
final dynamic iconRotationAlignment;