AI-generated Key Takeaways
-
GMSMapCapabilityFlagsis an enumeration that defines flags representing conditionally-available map capabilities, requiring a mapID or specific map settings for activation. -
These flags indicate whether features like advanced markers, data-driven styling, and sprite polylines are enabled on a
GMSMapView. -
The flags can be combined using bitwise OR operations to represent multiple capabilities being enabled simultaneously.
-
A value of
GMSMapCapabilityFlagsNoneindicates that no conditional capabilities are active on the map view.
GMSMapCapabilityFlags
enum GMSMapCapabilityFlags : NSUInteger {}Flags that represent conditionally-available map capabilities (ones that require a mapID or some other map setting) that can be used to indicate availability.
-
No conditional capabilities are enabled on the
GMSMapView.Declaration
Objective-C
GMSMapCapabilityFlagsNone = 0 -
Advanced markers are enabled on the
GMSMapView.Declaration
Swift
static var advancedMarkers: GMSMapCapabilityFlags { get }Objective-C
GMSMapCapabilityFlagsAdvancedMarkers = 1 << 0 -
Data driven styling is enabled on the
GMSMapView.Declaration
Swift
static var dataDrivenStyling: GMSMapCapabilityFlags { get }Objective-C
GMSMapCapabilityFlagsDataDrivenStyling = 1 << 1 -
GMSPolylinewith a stampStyle ofGMSSpriteStyleis enabled on theGMSMapView.Declaration
Swift
static var spritePolylines: GMSMapCapabilityFlags { get }Objective-C
GMSMapCapabilityFlagsSpritePolylines = 1 << 2