GoogleNavigation Framework Reference
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 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["GMSAdvancedMarker is an icon placed at a specific point on the map, similar to GMSMarker but with advanced features."],["The `collisionBehavior` property controls if the marker's visibility is affected by other markers or map elements."]]],["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"]]