MapPolylineAnimation
public class MapPolylineAnimation
extension MapPolylineAnimation: NativeBase
extension MapPolylineAnimation: Hashable
An animation that can be applied to the MapPolyline object.
-
Thrown when a problem occurs while trying to create a
MapPolylineAnimation.Declaration
Swift
public typealias InstantiationError = InstantiationErrorCode -
Creates an animation of
MapPolylinebased on provided keyframe track. Supports tracks created withMapItemKeyFrameTrack‘polylineProgress*’ methods. For starting the animation, seeMapPolyline.startAnimation(...).Throws
MapPolylineAnimation.InstantiationErrorIf the specified keyframe track cannot be used to create animation of aMapPolyline.Declaration
Swift
public init(track: MapItemKeyFrameTrack) throwsParameters
trackThe track holding the keyframes for the animation.
-
Describes a reason for failing to create a
See moreMapPolylineAnimation.Declaration
Swift
public enum InstantiationErrorCode : UInt32, CaseIterable, Codableextension MapPolylineAnimation.InstantiationErrorCode : Error