bearingSnap property

num bearingSnap

The threshold, measured in degrees, that determines when the map's bearing will snap to north. For example, with a bearingSnap of 7, if the user rotates the map within 7 degrees of north, the map will automatically snap to exact north.

Implementation

num get bearingSnap => jsObject.bearingSnap;