flyTo

abstract fun flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null): Cancelable

Fly the map camera to a given camera options.

This method implements an “optimal path” animation, as detailed in:

Van Wijk, Jarke J.; Nuij, Wim A. A. “Smooth and efficient zooming and panning.” INFOVIS ’03. pp. 15–22. The online documentation.

Where applicable, local variable documentation begins with the associated variable or function in van Wijk (2003).

Return

Cancelable animator set object.

Parameters

cameraOptions

The camera options to fly to

animationOptions

Transition options (animation duration, listeners etc)