WhirlyGlobeViewControllerSimpleAnimationDelegate
Objective-C
@interface WhirlyGlobeViewControllerSimpleAnimationDelegate
: NSObject <WhirlyGlobeViewControllerAnimationDelegate>
Swift
class WhirlyGlobeViewControllerSimpleAnimationDelegate : NSObject, WhirlyGlobeViewControllerAnimationDelegate
A simple animation delegate for moving the globe around.
The animation delegate support provides a lot of flexibility. This version just provides all the standard fields and interpolates from beginning to end.
-
Initialize with an animation state to copy
Declaration
Objective-C
- (nonnull instancetype)initWithState: (WhirlyGlobeViewControllerAnimationState *_Nonnull)endState;
Swift
init(state endState: WhirlyGlobeViewControllerAnimationState)
-
Location at the end of the animation
Declaration
Objective-C
@property (nonatomic) MaplyCoordinateD loc;
Swift
var loc: MaplyCoordinateD { get set }
-
Heading at the end of the animation
Declaration
Objective-C
@property (nonatomic) double heading;
Swift
var heading: Double { get set }
-
Height at the end of the animation
Declaration
Objective-C
@property (nonatomic) double height;
Swift
var height: Double { get set }
-
Tilt at the end of the animation
Declaration
Objective-C
@property (nonatomic) double tilt;
Swift
var tilt: Double { get set }
-
Roll at the end of the animation
Declaration
Objective-C
@property (nonatomic) double roll;
Swift
var roll: Double { get set }
-
Globe center at the end of the animation
Declaration
Objective-C
@property (nonatomic) CGPoint globeCenter;
Swift
var globeCenter: CGPoint { get set }