Stay organized with collections Save and categorize content based on your preferences.
GMSPanoramaService@interface GMSPanoramaService : NSObject
GMSPanoramaService
can be used to request panorama metadata even when a GMSPanoramaView
is not active.
Get an instance like this: [[GMSPanoramaService alloc] init]
.
Retrieves information about a panorama near the given coordinate
.
This is an asynchronous request, callback
will be called with the result.
Swift
func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, callback: @escaping GMSPanoramaCallback)
Objective-C
- (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate
callback:(nonnull GMSPanoramaCallback)callback;
Similar to -requestPanoramaNearCoordinate:callback:
but allows specifying a search radius (meters) around coordinate
.
Swift
func requestPanoramaNearCoordinate(_ coordinate: CLLocationCoordinate2D, radius: UInt, callback: @escaping GMSPanoramaCallback)
Objective-C
- (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate
radius:(NSUInteger)radius
callback:(nonnull GMSPanoramaCallback)callback;
Similar to -requestPanoramaNearCoordinate:callback:
but allows specifying a search radius (meters) and the panorama source type near the given coordinate
.
This API is experimental and may not always filter by source.
DeclarationObjective-C
- (void)requestPanoramaNearCoordinate:(CLLocationCoordinate2D)coordinate
radius:(NSUInteger)radius
source:(GMSPanoramaSource)source
callback:(nonnull GMSPanoramaCallback)callback;
Retrieves information about a panorama with the given panoramaID
.
callback
will be called with the result. Only panoramaIDs obtained from the Google Maps SDK for iOS are supported.
Objective-C
- (void)requestPanoramaWithID:(nonnull NSString *)panoramaID
callback:(nonnull GMSPanoramaCallback)callback;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-15 UTC.
[[["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."],[[["`GMSPanoramaService` allows you to request panorama metadata without needing an active `GMSPanoramaView`."],["It provides methods to asynchronously retrieve information about panoramas near a given coordinate, optionally specifying a search radius and panorama source."],["You can also request panorama information using a specific panorama ID obtained from the Google Maps SDK for iOS."],["The service uses a callback mechanism to deliver the results of these asynchronous requests."]]],["`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"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4