Übersicht
GMSPanoramaService kann verwendet werden, um Panoramametadaten anzufordern, auch wenn GMSPanoramaView nicht aktiv ist.
Rufen Sie eine Instanz wie diese auf: [[GMSPanoramaService alloc] init].
Funktionen für öffentliche Mitglieder | |
(void) | - requestPanoramaNearCoordinate:callback: |
Ruft Informationen zu einem Panorama in der Nähe des angegebenen coordinate ab. | |
(void) | – requestPanoramaNearCoordinate:radius:callback: |
Ähnlich wie requestPanoramaNearCoordinate:callback: ermöglicht jedoch die Angabe eines Suchradius (Meter) um coordinate . | |
(void) | - requestPanoramaNearCoordinate:source:callback: |
Ähnlich wie requestPanoramaNearCoordinate:callback: erlaubt jedoch die Angabe des Typs der Panoramaquelle in der Nähe des angegebenen coordinate . | |
(void) | - requestPanoramaNearCoordinate:radius:source:callback: |
Ähnlich wie requestPanoramaNearCoordinate:callback: ermöglicht jedoch die Angabe eines Suchradius (Meter) und des Typ der Panoramaquelle in der Nähe des angegebenen coordinate . | |
(void) | – requestPanoramaWithID:callback: |
Ruft Informationen zu einem Panorama mit dem angegebenen panoramaID ab. | |
Ähnliche Funktionen | |
(Hinweis: Dies sind keine Mitgliederfunktionen.) | |
typedef void(^ | GMSPanoramaCallback )(GMSPanorama *_Nullable panorama, NSError *_Nullable-Fehler) |
Callback, wenn Panoramametadaten verfügbar sind. |
Dokumentation zu Mitgliederfunktionen
- (void) requestPanoramaNearCoordinate: | (CLLocationCoordinate2D) | Koordinaten | |
Callback: | (GMSPanoramaCallback) | Callback | |
Ruft Informationen zu einem Panorama in der Nähe des angegebenen coordinate
ab.
Dies ist eine asynchrone Anfrage. callback
wird mit dem Ergebnis aufgerufen.
- (void) requestPanoramaNearCoordinate: | (CLLocationCoordinate2D) | Koordinaten | |
Radius: | (NSUInteger) | Radius | |
Callback: | (GMSPanoramaCallback) | Callback | |
Ähnlich wie requestPanoramaNearCoordinate:callback: ermöglicht jedoch die Angabe eines Suchradius (Meter) um coordinate
.
- (void) requestPanoramaNearCoordinate: | (CLLocationCoordinate2D) | Koordinaten | |
Quelle: | (GMSPanoramaSource) | source | |
Callback: | (GMSPanoramaCallback) | Callback | |
Ähnlich wie requestPanoramaNearCoordinate:callback: erlaubt jedoch die Angabe des Typs der Panoramaquelle in der Nähe des angegebenen coordinate
.
Diese API ist experimentell und kann nicht immer nach Quelle gefiltert werden.
- (void) requestPanoramaNearCoordinate: | (CLLocationCoordinate2D) | Koordinaten | |
Radius: | (NSUInteger) | Radius | |
Quelle: | (GMSPanoramaSource) | source | |
Callback: | (GMSPanoramaCallback) | Callback | |
Ähnlich wie requestPanoramaNearCoordinate:callback: ermöglicht jedoch die Angabe eines Suchradius (Meter) und des Typ der Panoramaquelle in der Nähe des angegebenen coordinate
.
Diese API ist experimentell und kann nicht immer nach Quelle gefiltert werden.
- (void) requestPanoramaWithID: | (NSString *) | panoramaID | |
Callback: | (GMSPanoramaCallback) | Callback | |
Ruft Informationen zu einem Panorama mit dem angegebenen panoramaID
ab.
callback
wird mit dem Ergebnis aufgerufen. Es werden nur panoramaIDs unterstützt, die vom Google Maps SDK for iOS abgerufen wurden.
Dokumentation zu Friends und verwandten Funktionen
- (typedef void(^ GMSPanoramaCallback)(GMSPanorama *_Nullable panorama, NSError *_Nullable error)) [related]
|
Callback, wenn Panoramametadaten verfügbar sind.
Wenn ein Fehler aufgetreten ist, ist panorama
null und error
nicht null. Andernfalls ist panorama
nicht null und error
ist null.