AI-generated Key Takeaways
- 
          This documentation page provides type definitions for various functionalities within the Google Maps SDK for iOS. 
- 
          These definitions include types for features, map points, orientations, panorama metadata, and tile URLs. 
- 
          Developers can utilize these types to interact with and manipulate different aspects of the Google Maps display within their iOS applications. 
- 
          The definitions are available in both Swift and Objective-C, offering flexibility for developers using either language. 
- 
          Each type definition is linked to its detailed documentation for further information and usage instructions. 
Type-Definitions
The following type definitions are available globally.
- 
                  
                  Identifiers for feature types of data-driven styling features. DeclarationSwift struct FeatureType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked SendableObjective-C typedef NSString *GMSFeatureType
- 
                  
                  Handler that reports a reverse geocoding response, or error. @related GMSGeocoder DeclarationSwift typealias GMSReverseGeocodeCallback = (GMSReverseGeocodeResponse?, (any Error)?) -> VoidObjective-C typedef void (^GMSReverseGeocodeCallback)(GMSReverseGeocodeResponse *_Nullable, NSError *_Nullable)
- 
                  
                  A point on the map. May represent a projected coordinate. x is in [-1, 1]. The axis direction is normal: y grows towards North, x grows towards East. (0, 0) is the center of the map. See GMSProject()andGMSUnproject().DeclarationObjective-C typedef struct GMSMapPoint GMSMapPoint
- 
                  
                  GMSOrientationis a tuple of heading and pitch used to control the viewing direction of aGMSPanoramaCamera.DeclarationObjective-C typedef struct GMSOrientation GMSOrientation
- 
                  
                  Callback for when a panorama metadata becomes available. If an error occurred, panoramais nil anderroris not nil. Otherwise,panoramais not nil anderroris nil.@related GMSPanoramaServiceDeclarationSwift typealias GMSPanoramaCallback = (GMSPanorama?, (any Error)?) -> VoidObjective-C typedef void (^GMSPanoramaCallback)(GMSPanorama *_Nullable, NSError *_Nullable)
- 
                  
                  GMSVisibleRegioncontains the four points defining the polygon that is visible in a map’s camera.This polygon can be a trapezoid instead of a rectangle, because a camera can have tilt. If the camera is directly over the center of the camera, the shape is rectangular, but if the camera is tilted, the shape will appear to be a trapezoid whose smallest side is closest to the point of view. DeclarationObjective-C typedef struct GMSVisibleRegion GMSVisibleRegion
- 
                  
                  GMSTileURLConstructoris a block takingx,yandzoomand returning an NSURL, or nil to indicate no tile for that location.@related GMSURLTileLayerDeclarationSwift typealias GMSTileURLConstructor = (UInt, UInt, UInt) -> URL?Objective-C typedef NSURL *_Nullable (^GMSTileURLConstructor)(NSUInteger, NSUInteger, NSUInteger)