[[["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\u003e\u003ccode\u003eGMSPanoramaService\u003c/code\u003e allows you to request panorama metadata without needing an active \u003ccode\u003eGMSPanoramaView\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to asynchronously retrieve information about panoramas near a given coordinate, optionally specifying a search radius and panorama source.\u003c/p\u003e\n"],["\u003cp\u003eYou can also request panorama information using a specific panorama ID obtained from the Google Maps SDK for iOS.\u003c/p\u003e\n"],["\u003cp\u003eThe service uses a callback mechanism to deliver the results of these asynchronous requests.\u003c/p\u003e\n"]]],["`GMSPanoramaService` retrieves panorama metadata, even without an active `GMSPanoramaView`. It's initialized via `[[GMSPanoramaService alloc] init]`. The service can request panorama information near a specific coordinate asynchronously via a callback. This can be done with or without a specified search radius and panorama source type. It also supports requesting panorama information directly by a given `panoramaID`. These methods use an asynchronous callback to return the results.\n"],null,["GMSPanoramaService \n\n @interface GMSPanoramaService : NSObject\n\n`GMSPanoramaService` can be used to request panorama metadata even when a [GMSPanoramaView](../Classes/GMSPanoramaView.html) is\nnot active.\n\nGet an instance like this: `[[GMSPanoramaService alloc] init]`.\n- `\n ``\n ``\n `\n\n [-requestPanoramaNearCoordinate:callback:](#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:callback:)`\n ` \n Retrieves information about a panorama near the given `coordinate`.\n\n This is an asynchronous request, `callback` will be called with the result. \n\n Declaration \n Swift \n\n func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, callback: @escaping ../Type-Definitions/GMSPanoramaCallback.html)\n\n Objective-C \n\n - (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate\n callback:(nonnull ../Type-Definitions/GMSPanoramaCallback.html)callback;\n\n- `\n ``\n ``\n `\n\n [-requestPanoramaNearCoordinate:radius:callback:](#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:radius:callback:)`\n ` \n Similar to [-requestPanoramaNearCoordinate:callback:](../Classes/GMSPanoramaService.html#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:callback:) but allows specifying a search radius\n (meters) around `coordinate`. \n\n Declaration \n Swift \n\n func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, radius: UInt, callback: @escaping ../Type-Definitions/GMSPanoramaCallback.html)\n\n Objective-C \n\n - (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate\n radius:(NSUInteger)radius\n callback:(nonnull ../Type-Definitions/GMSPanoramaCallback.html)callback;\n\n- `\n ``\n ``\n `\n\n [-requestPanoramaNearCoordinate:source:callback:](#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:source:callback:)`\n ` \n Similar to [-requestPanoramaNearCoordinate:callback:](../Classes/GMSPanoramaService.html#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:callback:) but allows specifying the panorama source\n type near the given `coordinate`.\n\n This API is experimental and may not always filter by source. \n\n Declaration \n Swift \n\n func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, source: ../Enums/GMSPanoramaSource.html, callback: @escaping ../Type-Definitions/GMSPanoramaCallback.html)\n\n Objective-C \n\n - (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate\n source:(../Enums/GMSPanoramaSource.html)source\n callback:(nonnull ../Type-Definitions/GMSPanoramaCallback.html)callback;\n\n- `\n ``\n ``\n `\n\n [-requestPanoramaNearCoordinate:radius:source:callback:](#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:radius:source:callback:)`\n ` \n Similar to [-requestPanoramaNearCoordinate:callback:](../Classes/GMSPanoramaService.html#/c:objc(cs)GMSPanoramaService(im)requestPanoramaNearCoordinate:callback:) but allows specifying a search radius\n (meters) and the panorama source type near the given `coordinate`.\n\n This API is experimental and may not always filter by source. \n\n Declaration \n Swift \n\n func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, radius: UInt, source: ../Enums/GMSPanoramaSource.html, callback: @escaping ../Type-Definitions/GMSPanoramaCallback.html)\n\n Objective-C \n\n - (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate\n radius:(NSUInteger)radius\n source:(../Enums/GMSPanoramaSource.html)source\n callback:(nonnull ../Type-Definitions/GMSPanoramaCallback.html)callback;\n\n- `\n ``\n ``\n `\n\n [-requestPanoramaWithID:callback:](#/c:objc(cs)GMSPanoramaService(im)requestPanoramaWithID:callback:)`\n ` \n Retrieves information about a panorama with the given `panoramaID`.\n\n `callback` will be called with the result. Only panoramaIDs obtained from the Google Maps SDK for\n iOS are supported. \n\n Declaration \n Swift \n\n func requestPanorama(withID panoramaID: String, callback: @escaping ../Type-Definitions/GMSPanoramaCallback.html)\n\n Objective-C \n\n - (void)requestPanoramaWithID:(nonnull NSString *)panoramaID\n callback:(nonnull ../Type-Definitions/GMSPanoramaCallback.html)callback;"]]