Callback for when a panorama metadata becomes available.
If an error occurred, panorama is nil and error is not nil.
Otherwise, panorama is not nil and error is nil.
GMSVisibleRegion contains 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003eThis documentation page provides type definitions for various functionalities within the Google Maps SDK for iOS.\u003c/p\u003e\n"],["\u003cp\u003eThese definitions include types for features, map points, orientations, panorama metadata, and tile URLs.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize these types to interact with and manipulate different aspects of the Google Maps display within their iOS applications.\u003c/p\u003e\n"],["\u003cp\u003eThe definitions are available in both Swift and Objective-C, offering flexibility for developers using either language.\u003c/p\u003e\n"],["\u003cp\u003eEach type definition is linked to its detailed documentation for further information and usage instructions.\u003c/p\u003e\n"]]],[],null,["Type-Definitions\n\nThe following type definitions are available globally.\n- `\n ``\n ``\n `\n\n [GMSFeatureType](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSFeatureType)`\n ` \n Identifiers for feature types of data-driven styling features. \n\n Declaration \n Swift \n\n struct FeatureType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable\n\n Objective-C \n\n typedef NSString *GMSFeatureType\n\n- `\n ``\n ``\n `\n\n [GMSReverseGeocodeCallback](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSReverseGeocodeCallback)`\n ` \n Handler that reports a reverse geocoding response, or error.\n\n @related GMSGeocoder \n\n Declaration \n Swift \n\n typealias GMSReverseGeocodeCallback = (/maps/documentation/ios-sdk/reference/objc/Classes/GMSReverseGeocodeResponse?, (any Error)?) -\u003e Void\n\n Objective-C \n\n typedef void (^GMSReverseGeocodeCallback)(/maps/documentation/ios-sdk/reference/objc/Classes/GMSReverseGeocodeResponse *_Nullable,\n NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n [GMSMapPoint](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSMapPoint)`\n ` \n A point on the map. May represent a projected coordinate.\n\n x is in \\[-1, 1\\]. The axis direction is normal: y grows towards North, x grows towards East. (0,\n 0) is the center of the map.\n\n See `GMSProject()` and `GMSUnproject()`. \n\n Declaration \n Objective-C \n\n typedef struct /maps/documentation/ios-sdk/reference/objc/Structs/GMSMapPoint /maps/documentation/ios-sdk/reference/objc/Structs/GMSMapPoint\n\n- `\n ``\n ``\n `\n\n [GMSOrientation](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSOrientation)`\n ` \n [GMSOrientation](/maps/documentation/ios-sdk/reference/objc/Structs/GMSOrientation) is a tuple of heading and pitch used to control the viewing\n direction of a [GMSPanoramaCamera](/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCamera). \n\n Declaration \n Objective-C \n\n typedef struct /maps/documentation/ios-sdk/reference/objc/Structs/GMSOrientation /maps/documentation/ios-sdk/reference/objc/Structs/GMSOrientation\n\n- `\n ``\n ``\n `\n\n [GMSPanoramaCallback](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSPanoramaCallback)`\n ` \n Callback for when a panorama metadata becomes available.\n If an error occurred, `panorama` is nil and `error` is not nil.\n Otherwise, `panorama` is not nil and `error` is nil.\n\n @related [GMSPanoramaService](/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaService) \n\n Declaration \n Swift \n\n typealias GMSPanoramaCallback = (/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama?, (any Error)?) -\u003e Void\n\n Objective-C \n\n typedef void (^GMSPanoramaCallback)(/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama *_Nullable, NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n [GMSVisibleRegion](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSVisibleRegion)`\n ` \n [GMSVisibleRegion](/maps/documentation/ios-sdk/reference/objc/Structs/GMSVisibleRegion) contains the four points defining the polygon that is visible in a map's\n camera.\n\n This polygon can be a trapezoid instead of a rectangle, because a camera can have tilt. If the\n camera is directly over the center of the camera, the shape is rectangular, but if the camera is\n tilted, the shape will appear to be a trapezoid whose smallest side is closest to the point of\n view. \n\n Declaration \n Objective-C \n\n typedef struct /maps/documentation/ios-sdk/reference/objc/Structs/GMSVisibleRegion /maps/documentation/ios-sdk/reference/objc/Structs/GMSVisibleRegion\n\n- `\n ``\n ``\n `\n\n [GMSTileURLConstructor](/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSTileURLConstructor)`\n ` \n `GMSTileURLConstructor` is a block taking `x`, `y` and `zoom` and returning an NSURL, or nil to\n indicate no tile for that location.\n\n @related [GMSURLTileLayer](/maps/documentation/ios-sdk/reference/objc/Classes/GMSURLTileLayer) \n\n Declaration \n Swift \n\n typealias GMSTileURLConstructor = (UInt, UInt, UInt) -\u003e URL?\n\n Objective-C \n\n typedef NSURL *_Nullable (^GMSTileURLConstructor)(NSUInteger, NSUInteger,\n NSUInteger)"]]