建構後續的圖塊要求時,應一併附加圖塊集 URI 中顯示的所有參數和 API 金鑰。3D Tiles API 提供下列兩個參數:
session
3D 載入工作階段的內建 ID。這項值是由 API 自動產生。建構後續的圖塊要求時,必須由算繪器附加。
key
用來存取 3D 圖塊服務的 API 金鑰。您必須將其附加至所有後續的圖塊要求。
顯示出處資訊
出處註明是指標示地圖圖塊的來源,是使用這項 API 的必要條件,包括 Google 品牌出處註明 (標誌) 和資料出處註明。您可以在「Map Tiles API 政策」頁面找到 Google 標誌。每個圖塊回應都會傳回資料歸因資訊。在 glTF 圖塊中尋找,位於 asset 和 copyright 下方。
{"asset":{"version":"2.0","generator":"draco_decoder","copyright":"Data SIO, NOAA, U.S. Navy, NGA, GEBCO;Landsat / Copernicus"}}
[[["容易理解","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"]],["上次更新時間:2025-09-12 (世界標準時間)。"],[[["\u003cp\u003eWhen building your own renderer for Photorealistic 3D Tiles, you need to handle content URLs, requests, and responses, and display attributions correctly.\u003c/p\u003e\n"],["\u003cp\u003eContent URLs for tilesets returned by the API are relative and require your API key to be added for subsequent requests.\u003c/p\u003e\n"],["\u003cp\u003eRequests for tiles must include both your API key and a session parameter provided in the initial tileset response.\u003c/p\u003e\n"],["\u003cp\u003eData attribution information is included in each tile's \u003ccode\u003easset.copyright\u003c/code\u003e property within the glTF and must be aggregated, sorted, and displayed appropriately in your application.\u003c/p\u003e\n"],["\u003cp\u003eYou are required to display both the Google logo and aggregated data attributions, similar to how Google Earth displays them, for compliance with API usage policies.\u003c/p\u003e\n"]]],[],null,[]]