MaplyViewControllerSimpleAnimationDelegate
Objective-C
@interface MaplyViewControllerSimpleAnimationDelegate
: NSObject <MaplyViewControllerAnimationDelegate>
Swift
class MaplyViewControllerSimpleAnimationDelegate : NSObject, MaplyViewControllerAnimationDelegate
A simple animation delegate for moving the map 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: (MaplyViewControllerAnimationState *_Nonnull)endState;
Swift
init(state endState: MaplyViewControllerAnimationState)
-
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 }