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