全景相片 XMP
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
下表列出所有 必要的 Photo Sphere XMP 欄位。請選取下方連結,進一步瞭解 Photo Sphere XMP。如要新增自訂欄位,例如 GPano:PosePitchDegrees
,請縮短為 PosePitchDegrees
(不需要前置底線「_」)。
名稱 |
類型 |
說明 |
ProjectionType |
開啟文字選擇 |
圖片檔案投影類型。Google 產品目前支援等角格式。 |
UsePanoramaViewer |
布林值 |
在全景圖檢視器 (True ) 中顯示圖片,或以平面圖片形式顯示 (False )。預設為 True 。 |
PoseHeadingDegrees |
真的 |
圖片中心的指南針方向,以度為單位。值範圍介於 0 和 360 之間。 |
CroppedAreaImageWidthPixels |
整數 |
未經編輯圖片的原始寬度 (等於未經編輯圖片的實際圖片寬度),以像素為單位。 |
CroppedAreaImageHeightPixels |
整數 |
圖片的原始高度 (未經編輯的圖片為實際圖片高度),以像素為單位。 |
FullPanoWidthPixels |
整數 |
圖片裁剪前的原始全景寬度。或者,如果只擷取部分全景圖,則會指定全景圖的寬度。 |
FullPanoHeightPixels |
整數 |
圖片裁剪前的原始全景高度。或者,如果只擷取部分全景圖,則會指定完整全景圖的高度。 |
CroppedAreaLeftPixels |
整數 |
從全景圖裁剪的圖片左側邊緣所屬的欄。 |
CroppedAreaTopPixels |
整數 |
從全景圖裁剪圖片頂端邊緣的列。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-30 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-30 (世界標準時間)。"],[],["Photo Sphere XMP requires specific fields for proper image handling. These include `ProjectionType` (typically equirectangular), `UsePanoramaViewer` (defaults to `True`), and `PoseHeadingDegrees` (compass heading). Dimensions are specified using `CroppedAreaImageWidthPixels`, `CroppedAreaImageHeightPixels`, `FullPanoWidthPixels`, and `FullPanoHeightPixels`. `CroppedAreaLeftPixels` and `CroppedAreaTopPixels` indicate the cropped image's position within the full panorama. Custom fields can be added without prefixing underscores.\n"]]