已淘汰:舊版雲端樣式已停用,並預計於 2025 年 3 月完全淘汰。屆時,舊版地圖樣式可能無法再正常運作。Google 建議您在 2025 年 3 月前改用新版雲端式地圖樣式設定。詳情請參閱「
淘汰項目」一文。如要更新舊版樣式,請參閱「
將地圖樣式更新為最新版本」。
舊版設定和計費方式
事前準備
*
升級 Maps SDK for Android:如要使用雲端式地圖樣式設定,請務必使用 18.0.0 以上版本的 Maps SDK for Android,並
採用最新版的 Maps SDK for Android 轉譯器。
計費方式
如要使用雲端式地圖樣式設定,需要有地圖 ID。在 Maps SDK for Android、Maps SDK for iOS 和 JavaScript 中使用地圖 ID 時,系統會根據 Dynamic Maps SKU 收取費用。在 Maps Static API 中使用地圖 ID 時,系統會根據 Static Maps SKU 收取費用。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-04-17 (世界標準時間)。
[null,null,["上次更新時間:2024-04-17 (世界標準時間)。"],[[["To utilize cloud-based map styling, you must first create a map ID and ensure your map is loaded using it."],["Before implementing cloud-based styling, remove any existing hard-coded styling from your map to avoid conflicts."],["Upgrading to Maps SDK for Android 18.0.0 or later and using the latest renderer is essential for cloud-based styling functionality."],["Utilizing cloud-based map styling with a map ID will incur charges based on usage, either under the Dynamic Maps or Static Maps SKU depending on the platform."]]],[]]