bearing property
num
get
bearing
The initial bearing (rotation) of the map, measured in degrees counter-clockwise from north. If bearing
is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object. If it is not specified in the style, either, it will default to 0
.
Implementation
num get bearing => jsObject.bearing;