網路平台街景服務
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面說明如何在任何網站上嵌入球形相片,並提供互動式 360 度全景檢視器,就像在 Google 地圖的街景服務中看到的一樣。
Maps Embed API 中的街景服務
Google 地圖嵌入 API 可讓您在網站或網誌上,以互動式 360 度全景相片的形式顯示 Google 街景服務圖像。使用 Google 街景服務可在涵蓋區域內的指定地點,進行 360 度全景檢視。使用者提供的 360 度全景相片和街景服務特輯集錦也能使用這項功能。
以下是嵌入式互動式攝影球的示例:
Maps JavaScript API 中的街景服務
Maps JavaScript API 中的 街景服務可讓您透過程式輔助方式擷取及顯示街景相片球體。
這項服務可讓您在指定道路的涵蓋區域進行 360 度全景檢視。街景服務的 API 涵蓋範圍與 Google 地圖應用程式相同。如需街景服務目前支援的城市清單,請參閱 Google 地圖網站。
Street View Image API
Google 街景服務圖片 API 可讓您在網頁中嵌入靜態 (非互動式) 球形相片縮圖,而無須使用 JavaScript。這對建立多張全景相片的圖庫相當實用。
以下是攝影球的靜態圖片網址範例:

除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The content outlines three methods to embed photo spheres on websites. The Maps Embed API allows interactive Street View images, like Google Maps. The Maps JavaScript API programmatically retrieves and displays interactive 360-degree photo spheres from supported cities. The Street View Image API embeds static thumbnails of photo spheres without JavaScript, suitable for galleries. These methods use Street View data, including user-contributed spheres and special collections, offering both interactive and static options.\n"]]