GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSMarkerAnimation
enum GMSMarkerAnimation : NSUInteger {}
Animation types for GMSMarker.
-
Declaration
Objective-C
kGMSMarkerAnimationNone = 0
-
The marker will pop from its groundAnchor when added.
Declaration
Objective-C
kGMSMarkerAnimationPop
-
The marker will fade in when added.
Declaration
Objective-C
kGMSMarkerAnimationFadeIn
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSMarkerAnimation\u003c/code\u003e defines animation types for Google Maps SDK markers.\u003c/p\u003e\n"],["\u003cp\u003eThree animation types are available: \u003ccode\u003enone\u003c/code\u003e (default), \u003ccode\u003epop\u003c/code\u003e, and \u003ccode\u003efadeIn\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003enone\u003c/code\u003e applies no animation, \u003ccode\u003epop\u003c/code\u003e makes the marker pop from its ground anchor, and \u003ccode\u003efadeIn\u003c/code\u003e fades the marker in when added to the map.\u003c/p\u003e\n"]]],["The core content describes animation types for `GMSMarker`. The `GMSMarkerAnimation` enum defines three options: `kGMSMarkerAnimationNone` (default), which applies no animation; `kGMSMarkerAnimationPop`, causing the marker to pop from its ground anchor when added; and `kGMSMarkerAnimationFadeIn`, making the marker fade in upon addition. Each type has equivalent Swift and Objective-C declarations with its corresponding case number.\n"],null,["# GoogleMaps Framework Reference\n\nGMSMarkerAnimation\n==================\n\n enum GMSMarkerAnimation : NSUInteger {}\n\nAnimation types for GMSMarker.\n- `\n ``\n ``\n `\n\n ### [kGMSMarkerAnimationNone](#/c:@E@GMSMarkerAnimation@kGMSMarkerAnimationNone)\n\n `\n ` \n No animation (default). \n\n #### Declaration\n\n Swift \n\n case none = 0\n\n Objective-C \n\n kGMSMarkerAnimationNone = 0\n\n- `\n ``\n ``\n `\n\n ### [kGMSMarkerAnimationPop](#/c:@E@GMSMarkerAnimation@kGMSMarkerAnimationPop)\n\n `\n ` \n The marker will pop from its groundAnchor when added. \n\n #### Declaration\n\n Swift \n\n case pop = 1\n\n Objective-C \n\n kGMSMarkerAnimationPop\n\n- `\n ``\n ``\n `\n\n ### [kGMSMarkerAnimationFadeIn](#/c:@E@GMSMarkerAnimation@kGMSMarkerAnimationFadeIn)\n\n `\n ` \n The marker will fade in when added. \n\n #### Declaration\n\n Swift \n\n case fadeIn = 2\n\n Objective-C \n\n kGMSMarkerAnimationFadeIn"]]