GoogleMaps Framework Reference

  • GMSMapViewType defines the display styles for a GMSMapView, offering options like normal, satellite, terrain, hybrid, and none.

  • The default map type is kGMSTypeNormal which presents a basic map with support for both light and dark color schemes.

  • Other map types include satellite imagery with or without labels (kGMSTypeSatellite, kGMSTypeHybrid), terrain maps (kGMSTypeTerrain), and a display with no map data (kGMSTypeNone).

  • Each map type has corresponding Swift and Objective-C enumerations for easy integration into your code.

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