createPaddingAnimator

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

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