GMSCollisionBehavior
Enumerations | |
enum | GMSCollisionBehavior { GMSCollisionBehaviorRequired, GMSCollisionBehaviorRequiredAndHidesOptional, GMSCollisionBehaviorOptionalAndHidesLowerPriority } |
How markers interact with other markers and regular labels. More... |
Enumeration Type Documentation
enum GMSCollisionBehavior |
How markers interact with other markers and regular labels.
Defaults to GMSCollisionBehaviorRequired
.
Marker collisions occur when coordinates intersect.
Priority is defined as: 1) Required > Optional 2) zIndex: higher zIndex > lower zIndex
Beyond this, it is undefined which marker will show if both are optional and have the same zIndex. Regular map labels are the lowest priority.
- Enumerator: