<GMSPanoramaViewDelegate> 通訊協定參考資料
總覽
GMSPanoramaView 的事件委派。
公開成員函式 | |
(無效) | - PanoramaramaView:willMoveToPanoramaID: |
在開始移至其他全景時呼叫。 | |
(無效) | - PanoramaramaView:didMoveToPanorama: |
每當 view .Panoramarama 屬性變更時,系統就會叫用此函式。 | |
(無效) | - PanoramaramaView:didMoveToPanorama:nearCoordinate: |
當叫用全景 ToPanoramaNearCoordinate 時會造成全景。 | |
(無效) | - PanoramaramaView:error:onMoveNearCoordinate: |
於 MoveNearCoordinate 時呼叫: 產生錯誤。 | |
(無效) | - PanoramaramaView:error:onMoveToPanoramaID: |
MoveToPanoramaID 時呼叫: 產生錯誤。 | |
(無效) | - PanoramaramaView:didMoveCamera: |
在 GMSPanoramaView 的相機變更時,會多次呼叫此方法。 | |
(無效) | - PanoramaramaView:didTap: |
使用者輕觸 GMSPanoramaView 時呼叫,但該點不予使用 (例如輕觸箭頭來瀏覽)。 | |
(布林值) | - PanoramaramaView:didTapMarker: |
使用者輕觸標記後呼叫。 | |
(無效) | - 全景相片: |
當目前檢視的全景圖塊獲得要求且開始載入時,會呼叫此方法。 | |
(無效) | - 全景相片: |
當全景圖塊載入 (或無法載入) 並在螢幕上顯示時呼叫。 |
成員函式說明文件
- (void)全景 View: | (GMSPanoramaView *) | 查看 | |
WillMoveToPanoramaID: | (NSString *) | PanoramaramaID | |
[optional] |
在開始移至其他全景時呼叫。
這可能是互動式導覽至鄰近全景的結果。
在呼叫此方法時,view
.Panoramarama 仍指向舊全景,因為 panoID
所識別的新全景尚未解析。全景 View:didMoveToPanorama: 會在新全景準備就緒時呼叫。
- (void)全景 View: | (GMSPanoramaView *) | 查看 | |
doMoveToPanorama: | (GMSPanorama *) | Panoramarama | |
[optional] |
每當 view
.Panoramarama 屬性變更時,系統就會叫用此函式。
- (void)全景 View: | (GMSPanoramaView *) | 查看 | |
doMoveToPanorama: | (GMSPanorama *) | 全景 | |
附近的協調中心: | (CLLocationCoordinate2D) | 協調中心 | |
[optional] |
當叫用全景 ToPanoramaNearCoordinate 時會造成全景。
傳遞到該方法的座標也會在這裡傳遞。
- (void)全景 View: | (GMSPanoramaView *) | 查看 | |
錯誤: | (NSError *) | 錯誤 | |
onMoveNearCoordinate: | (CLLocationCoordinate2D) | 協調中心 | |
[optional] |
於 MoveNearCoordinate 時呼叫: 產生錯誤。
- (void)全景 View: | (GMSPanoramaView *) | 查看 | |
錯誤: | (NSError *) | 錯誤 | |
onMoveToPanoramaID: | (NSString *) | PanoramaramaID | |
[optional] |
MoveToPanoramaID 時呼叫: 產生錯誤。
- (void)全景 View: | (GMSPanoramaView *) | 全景 | |
doMoveCamera: | (GMSPanoramaCamera *) | camera | |
[optional] |
在 GMSPanoramaView 的相機變更時,會多次呼叫此方法。
並非所有中間的相機值都可能呼叫此方法,但在動畫或手勢之後,系統一律會呼叫相機的最終位置。
- (void)全景 View: | (GMSPanoramaView *) | 全景 | |
doTap: | (CGPoint) | point | |
[optional] |
使用者輕觸 GMSPanoramaView 時呼叫,但該點不予使用 (例如輕觸箭頭來瀏覽)。
- (BOOL)全景檢視: | (GMSPanoramaView *) | 全景 | |
doTapMarker: | (GMSMarker *) | Marker | |
[optional] |
使用者輕觸標記後呼叫。
可能會傳回「是」,表示事件已處理完成,並略過任何預設行為。
- (無效) PanoramaramaViewdoesStartrender: | (GMSPanoramaView *) | 全景 | [optional] |
當目前檢視的全景圖塊獲得要求且開始載入時,會呼叫此方法。
- (無效) PanoramaramaViewDoneFinishrender: | (GMSPanoramaView *) | 全景 | [optional] |
當全景圖塊載入 (或無法載入) 並在螢幕上顯示時呼叫。