GoogleMaps Framework Reference

  • GMSMarkerAnimation defines animation types for Google Maps SDK markers.

  • Three animation types are available: none (default), pop , and fadeIn .

  • none applies no animation, pop makes the marker pop from its ground anchor, and fadeIn fades the marker in when 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 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: