fly To
fun flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null, completionListener: CompletionListener? = null)
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).
Parameters
camera Options
The camera options to fly to
animation Options
Transition options (animation duration, listeners etc)
completion Listener
the optional CompletionListener to observe the completion if the transition