update

open fun update(bearing: Double)

Updates the direction of the compass.

Parameters

bearing

the direction value of the map