onBearingUpdated

open override fun onBearingUpdated(vararg bearing: Double, options: ValueAnimator.() -> Unit?)

Called whenever the bearing is updated.

Parameters

bearing
  • supports multiple bearing values to create more complex animations with intermediate points. Last bearing value will always be the animator target for next animation.

options
  • if specified explicitly will apply current animator option to single location bearing animation. Otherwise default animator options will be used.