easeTo

Extension easeTo() for MapPluginExtensionsDelegate Ease the map camera to a given camera options and animation options

Camera plugin with id = Plugin.MAPBOX_CAMERA_PLUGIN_ID must be added while constructing com.mapbox.maps.MapView as part of com.mapbox.maps.MapInitOptions.plugins.

Return

Cancelable animator set object or null if associated map object was garbage collected.

See also

com.mapbox.maps.MapInitOptions

Parameters

animationOptions

Transition options (animation duration, listeners etc)

cameraOptions

The camera options to ease to

fun MapPluginExtensionsDelegate.easeTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions?): Cancelable