CameraTransition
public struct CameraTransition : Equatable
Structure used to represent a desired change to the map’s camera
-
Represents a change to the zoom of the map.
Declaration
Swift
public var zoom: Change<CGFloat>
-
Represetns a change to the padding of the map.
Declaration
Swift
public var padding: Change<UIEdgeInsets>
-
Represents a change to the anchor of the map NOTE: Incompatible with concurrent center animations
Declaration
Swift
public var anchor: Change<CGPoint>
-
Represents a change to the bearing of the map.
Declaration
Swift
public var bearing: Change<CLLocationDirection>
-
Ensures that bearing transitions are optimized to take the shortest path.
Declaration
Swift
public var shouldOptimizeBearingPath: Bool
-
Represents a change to the pitch of the map.
Declaration
Swift
public var pitch: Change<CGFloat>
-
Generic struct used to represent a change in a value from a starting point (i.e.
See morefromValue
) to an end point (i.e.toValue
).Declaration
Swift
public struct Change<T> : Equatable where T : Equatable