我的地圖架構參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
已匯出的物件:地圖
已匯出的物件代表:地圖會匯出為 KML/KMZ 檔案。
物件會以以下格式匯出:KMZ
匯出的物件包含下列欄位:
* 上述欄位代表用於剖析及擷取相關資料匯出內容的關鍵資料欄位。匯出作業產生的資料欄位會因服務和使用者動作而異,且部分服務或動作不會產生上述的每個資料欄位。 |
資料欄位 * | 欄位定義 | 資料欄位類型 |
---|
doc.kml | 含有地圖資料的 KML 檔案。 | 檔案 |
圖片 | 包含自訂圖示圖片的目錄。 | 目錄 |
代表資源群組及其匯出的物件的資料表。資源群組 * | 說明 | 匯出的物件 |
---|
mymaps.maps | 這個資源群組包含使用者在「我的地圖」中建立的地圖,包括圖層、地圖項目和媒體。 | 地圖 |
* 如要取得特定資源群組的 OAuth 範圍名稱,請在資源群組後方加上「https://www.googleapis.com/auth/dataportability」。舉例來說,「myactivity.search」資源群組的 OAuth 範圍名稱為「https://www.googleapis.com/auth/dataportability.myactivity.search」。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eUsers can export their custom maps created in Google My Maps as KMZ files, containing map data, custom icons, layers, features, and media.\u003c/p\u003e\n"],["\u003cp\u003eExported map data includes a KML file for map data, a directory for custom icon images, and encompasses all layers, features, and media elements within the map.\u003c/p\u003e\n"],["\u003cp\u003eMap data export utilizes the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/dataportability.mymaps.maps\u003c/code\u003e under the \u003ccode\u003emymaps.maps\u003c/code\u003e resource group to access and retrieve user-created map content.\u003c/p\u003e\n"]]],[],null,["# My Maps Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|---------------|--------------------------------------------------|-----------------|\n| doc.kml | KML file that contains map data. | file |\n| images | Directory that contains images for custom icons. | directory |\n[Exported Object: Map\nExported Object represents: The map as a KML/KMZ file.\nObject is exported in these formats: KMZ\nExported object has the following fields:]\n\n| Resource Group \\* | Description | Exported Objects |\n|-------------------|-----------------------------------------------------------------------------------------------------------|------------------|\n| mymaps.maps | This resource group contains the maps the user created in My Maps, including layers, features, and media. | Map |\n[A table representing Resource Groups and the objects that are exported with it.]"]]