flyTo

abstract fun flyTo(cameraOptions: MTCameraOptions, flyToOptions: MTFlyToOptions?)

Changes any combination of center, zoom, bearing, and pitch, animating the transition along a curve that evokes flight.

Parameters

cameraOptions

Options for controlling the desired location, zoom, bearing, and pitch of the camera.

flyToOptions

Options describing the destination and animation of the transition.