flyTo

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. https://www.win.tue.nl/~vanwijk/zoompan.pdf#page=5.

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

Parameters

animationOptions

Transition options (animation duration, listeners etc)

cameraOptions

The camera options to fly to

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