GoogleMaps 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."],[],["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,[]]