MTFlyToOptions
public struct MTFlyToOptions : @unchecked Sendable, Codable
Options describing the destination and animation of the flyTo transition.
-
The zooming “curve” that will occur along the flight path.
Declaration
Swift
public var curve: Double?
-
The zero-based zoom level at the peak of the flight path.
Declaration
Swift
public var minZoom: Double?
-
The average speed of the animation defined in relation to curve.
Declaration
Swift
public var speed: Double?
-
The average speed of the animation measured in screenfuls per second, assuming a linear timing curve.
Declaration
Swift
public var screenSpeed: Double?
-
The animation’s maximum duration, measured in milliseconds.
Declaration
Swift
public var maxDuration: Double?
-
Initializes the options.
Declaration
Swift
public init( curve: Double? = nil, minZoom: Double? = nil, speed: Double? = nil, screenSpeed: Double? = nil, maxDuration: Double? = nil )