create Bearing Animator
abstract fun createBearingAnimator(options: CameraAnimatorOptions<Double>, useShortestPath: Boolean = true, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
Create CameraBearingAnimator. Current map camera option will be applied on animation start if not specified explicitly with options.startValue.
Parameters
options
animator options object to set targets and other non mandatory options
use Shortest Path
if set to True shortest bearing path will be applied while animating bearing values. If set to False clock-wise rotation will be used if next target is greater or equal than current one and counter clock-wise rotation will be used if next target less than current one.
block
optional block to apply any ValueAnimator parameters