GoogleNavigation Framework Reference

  • GMSMarkerAnimation defines animation types for Google Maps markers.

  • It offers three animation options: none (default), pop, and fadeIn.

  • pop makes the marker pop from its ground anchor, while fadeIn gradually 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 = 0

    Objective-C

    kGMSMarkerAnimationNone = 0
  • The marker will pop from its groundAnchor when added.

    Declaration

    Swift

    case pop = 1

    Objective-C

    kGMSMarkerAnimationPop
  • The marker will fade in when added.

    Declaration

    Swift

    case fadeIn = 2

    Objective-C

    kGMSMarkerAnimationFadeIn