GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSAdvancedMarker
An advanced marker is an icon placed at a particular point on the map’s surface.
-
The marker’s collision behavior, which determines whether or not the marker’s visibility can be
affected by other markers or labeled content on the map.
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\u003eGMSAdvancedMarker is an icon placed at a specific point on the map, similar to GMSMarker but with advanced features.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecollisionBehavior\u003c/code\u003e property controls if the marker's visibility is affected by other markers or map elements.\u003c/p\u003e\n"]]],["The `GMSAdvancedMarker` class represents an icon on a map's surface. Its key property is `collisionBehavior`, which dictates how the marker's visibility is affected by other markers or labeled content. This property can be both read and set, using the `GMSCollisionBehavior` enum to define the desired behavior. The `collisionBehavior` property can be declared in both Swift and Objective-C.\n"],null,["# GoogleNavigation Framework Reference\n\nGMSAdvancedMarker\n=================\n\n @interface GMSAdvancedMarker : ../Classes/GMSMarker.html\n\nAn advanced marker is an icon placed at a particular point on the map's surface.\n- `\n ``\n ``\n `\n\n ### [collisionBehavior](#/c:objc(cs)GMSAdvancedMarker(py)collisionBehavior)\n\n `\n ` \n The marker's collision behavior, which determines whether or not the marker's visibility can be\n affected by other markers or labeled content on the map. \n\n #### Declaration\n\n Swift \n\n var collisionBehavior: ../Enums/GMSCollisionBehavior.html { get set }\n\n Objective-C \n\n @property (nonatomic) ../Enums/GMSCollisionBehavior.html collisionBehavior;"]]