GeoCoordinatesKeyframe

public struct GeoCoordinatesKeyframe : Hashable

A GeoCoordinatesKeyframe consists of a GeoCoordinates and an animation duration.

  • GeoCoordinates keyframe value. Altitude component is ignored.

    Declaration

    Swift

    public let value: GeoCoordinates
  • Relative animation duration for reaching the keyframe value from previous keyframe value. Negative duration value gets clamped to 0.

    Declaration

    Swift

    public let duration: TimeInterval
  • Constructs a GeoCoordinatesKeyframe from the value and offset.

    Declaration

    Swift

    public init(value: GeoCoordinates, duration: TimeInterval)

    Parameters

    value

    GeoCoordinates keyframe value.

    duration

    Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.