WhirlyGlobeViewControllerSimpleAnimationDelegate

@interface 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)
  • loc

    Location at the end of the animation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) MaplyCoordinateD loc;

    Swift

    var loc: MaplyCoordinateD { get set }
  • Heading at the end of the animation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) double heading;

    Swift

    var heading: Double { get set }
  • Height at the end of the animation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) double height;

    Swift

    var height: Double { get set }
  • Tilt at the end of the animation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) double tilt;

    Swift

    var tilt: Double { get set }