createCenterAnimator

abstract fun createCenterAnimator(options: CameraAnimatorOptions<Point>, block: ValueAnimator.() -> Unit? = null): ValueAnimator

Create CameraCenterAnimator. 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

block

optional block to apply any ValueAnimator parameters