AI-generated Key Takeaways
-
GMSMapViewType
defines the display styles for aGMSMapView
. -
It includes five map types:
normal
,satellite
,terrain
,hybrid
, andnone
. -
normal
is the default, displaying basic maps with support for light and dark color schemes. -
satellite
andhybrid
offer satellite imagery, with the latter including transparent labels. -
terrain
displays terrain maps, whilenone
shows 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 = 1
Objective-C
kGMSTypeNormal = 1
-
Satellite maps with no labels.
Declaration
Swift
case satellite = 2
Objective-C
kGMSTypeSatellite
-
Terrain maps. Supports both Light and Dark color schemes.
Declaration
Swift
case terrain = 3
Objective-C
kGMSTypeTerrain
-
Satellite maps with a transparent label overview.
Declaration
Swift
case hybrid = 4
Objective-C
kGMSTypeHybrid
-
No maps, no labels. Display of traffic data is not supported.
Declaration
Swift
case none = 5
Objective-C
kGMSTypeNone