AI-generated Key Takeaways
-
GMSAdvancedMarker is an icon placed at a specific point on the map, similar to GMSMarker but with advanced features.
-
The
collisionBehaviorproperty controls if the marker's visibility is affected by other markers or map elements.
GMSAdvancedMarker
@interface GMSAdvancedMarker : GMSMarkerAn 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.
Declaration
Swift
var collisionBehavior: GMSCollisionBehavior { get set }Objective-C
@property (nonatomic) GMSCollisionBehavior collisionBehavior;