AI-generated Key Takeaways
-
GMSMarkerAnimationdefines animation types for Google Maps markers. -
It offers three animation options:
none(default),pop, andfadeIn. -
popmakes the marker pop from its ground anchor, whilefadeIngradually reveals it. -
These animations apply when the marker is added to the map.
GMSMarkerAnimation
enum GMSMarkerAnimation : NSUInteger {}Animation types for GMSMarker.
-
No animation (default).
Declaration
Swift
case none = 0Objective-C
kGMSMarkerAnimationNone = 0 -
The marker will pop from its groundAnchor when added.
Declaration
Swift
case pop = 1Objective-C
kGMSMarkerAnimationPop -
The marker will fade in when added.
Declaration
Swift
case fadeIn = 2Objective-C
kGMSMarkerAnimationFadeIn