rotation property

double? rotation
getter/setter pair

The clockwise rotation value in degrees of the compass. Default value: 0.

Has no effect on web: Mapbox GL JS rewrites the needle's rotation on every camera change, so the value is stored and returned by getSettings but is not applied.

Implementation

double? rotation;