弃用:旧版云端样式设置现已弃用,并计划于 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,会产生动态地图 SKU 费用。如果您在使用 Maps Static API 时使用地图 ID,则会产生静态地图 SKU 费用。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-28。
[null,null,["最后更新时间 (UTC):2024-06-28。"],[[["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."]]],[]]