fly To
abstract fun flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null, animatorListener: Animator.AnimatorListener? = 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
camera Options
The camera options to fly to
animation Options
Transition options (animation duration, listeners etc)