Enumerations
The following enumerations are available globally.
-
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.
Declaration
Swift
enum GMSCollisionBehavior : Int, @unchecked Sendable
Objective-C
enum GMSCollisionBehavior : NSInteger {}
-
GMSGeocoder
error codes, embedded in NSError.Declaration
Swift
enum GMSGeocoderErrorCode : Int, @unchecked Sendable
Objective-C
enum GMSGeocoderErrorCode : NSInteger {}
-
Flags that represent conditionally-available map capabilities (ones that require a mapID or some other map setting) that can be used to indicate availability.
Declaration
Swift
struct GMSMapCapabilityFlags : OptionSet, @unchecked Sendable
Objective-C
enum GMSMapCapabilityFlags : NSUInteger {}
-
Display types for
GMSMapView
.Declaration
Swift
enum GMSMapViewType : UInt, @unchecked Sendable
Objective-C
enum GMSMapViewType : NSUInteger {}
-
Rendering frame rates for
GMSMapView
.Declaration
Swift
enum GMSFrameRate : UInt, @unchecked Sendable
Objective-C
enum GMSFrameRate : NSUInteger {}
-
Constants indicating how safe area insets are added to padding.
Declaration
Swift
enum GMSMapViewPaddingAdjustmentBehavior : UInt, @unchecked Sendable
Objective-C
enum GMSMapViewPaddingAdjustmentBehavior : NSUInteger {}
-
Animation types for GMSMarker.
Declaration
Swift
enum GMSMarkerAnimation : UInt, @unchecked Sendable
Objective-C
enum GMSMarkerAnimation : NSUInteger {}
-
Source types for Panoramas. Used to specify the source of a StreetView Panorama.
This API is experimental. Results may not always match expectations.
Declaration
Swift
enum GMSPanoramaSource : UInt, @unchecked Sendable
Objective-C
enum GMSPanoramaSource : NSUInteger {}
-
GMSLengthKind
indicates the type of a length value, which can be geodesic (in meters), rhumb length (in meters) and projected length (inGMSMapPoint
units).Declaration
Swift
enum GMSLengthKind : UInt, @unchecked Sendable
Objective-C
enum GMSLengthKind : NSUInteger {}