AI-generated Key Takeaways
-
GMSMapViewTypedefines the display styles for aGMSMapView. -
It includes five map types:
normal,satellite,terrain,hybrid, andnone. -
normalis the default, displaying basic maps with support for light and dark color schemes. -
satelliteandhybridoffer satellite imagery, with the latter including transparent labels. -
terraindisplays terrain maps, whilenoneshows no map data.
GMSMapViewType
enum GMSMapViewType : NSUInteger {}Display types for GMSMapView.
-
Basic maps. The default. Supports both Light and Dark color schemes.
Declaration
Swift
case normal = 1Objective-C
kGMSTypeNormal = 1 -
Satellite maps with no labels.
Declaration
Swift
case satellite = 2Objective-C
kGMSTypeSatellite -
Terrain maps. Supports both Light and Dark color schemes.
Declaration
Swift
case terrain = 3Objective-C
kGMSTypeTerrain -
Satellite maps with a transparent label overview.
Declaration
Swift
case hybrid = 4Objective-C
kGMSTypeHybrid -
No maps, no labels. Display of traffic data is not supported.
Declaration
Swift
case none = 5Objective-C
kGMSTypeNone