flyTo

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

cameraOptions

The camera options to fly to

animationOptions

Transition options (animation duration, listeners etc)

completionListener

the optional CompletionListener to observe the completion if the transition