GoogleMaps Framework Reference

  • GMSAdvancedMarker is an icon placed at a specific point on the map, similar to GMSMarker but with advanced features.

  • The collisionBehavior property determines if the marker's visibility is impacted by other markers or map elements.

GMSAdvancedMarker

@interface GMSAdvancedMarker : GMSMarker

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.

    Declaration

    Swift

    var collisionBehavior: GMSCollisionBehavior { get set }

    Objective-C

    @property (nonatomic) GMSCollisionBehavior collisionBehavior;