Maps SDK for Android 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Maps SDK for Android,您可以将地图添加到您的 Android 应用中,包括使用 Google 地图数据、地图显示内容和地图手势响应的 Wear OS 应用。您还可以通过向地图添加标记、多边形和叠加层,来提供有关地图位置的更多信息,并支持用户与地图互动。
SDK 支持 Kotlin 和 Java 编程语言,并为高级地图项和编程技术提供更多库和扩展程序。
后续步骤
SDK 的示例代码、库和扩展程序:
- GitHub - 示例代码
- 使用 SDK 的完整示例应用代码和代码段。
- Android 实用程序库
- 地图的高级地图项库,例如多个图层、标记聚类和距离计算等地图项。
- KTX Kotlin 扩展程序
- 一系列扩展程序 (Maps Android KTX),可让您使用 Maps SDK for Android 在应用内编写更高效的 Kotlin 代码。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-25 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]