Maps SDK for Android 概览

admin | 女足世界杯预测

首页

产品

Google Maps Platform

文档

Android

Maps SDK for Android

指南

Maps SDK for Android 概览

请选择平台:

Android

iOS

JavaScript

借助 Maps SDK for Android,您可以将地图添加到您的 Android 应用,包括使用 Google 地图数据、地图显示内容和地图手势响应的 Wear OS 应用。您还可以通过向地图添加标记、多边形和叠加层,来提供有关地图位置的更多信息,并支持用户与地图互动。

该 SDK 支持 Kotlin 和 Java 编程语言,并提供额外的库和扩展,用于实现高级功能和编程技术。

后续内容

使用入门

Codelab 和教程

任务和概念

工具和示例

设置并构建您的首个应用:

快速入门 - 添加地图

构建显示地图的基本 Android 应用。

获取 API 密钥并启用结算功能

详细了解如何启用结算功能和获取 API 密钥。如需将地图添加到应用中,必须执行这两项操作。

设置现有 Android Studio 项目

将现有应用配置为使用 Maps SDK for Android。

用量和结算

SDK 的定价和用量限额。

服务条款

《Google Maps Platform 服务条款》阐述了应用在使用该 SDK 时必须遵守的法律要求。

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。

最后更新时间 (UTC):2024-05-10。

[null,null,["最后更新时间 (UTC):2024-05-10。"],[[["The Maps SDK for Android allows you to integrate Google Maps into your Android and Wear OS applications, enabling features like displaying maps, adding markers, and handling user interactions."],["The SDK supports both Kotlin and Java, offering libraries and extensions for advanced functionalities and programming techniques."],["To get started, you need to set up your app by creating a basic map, obtaining an API key, enabling billing, and configuring your project."],["You can find detailed guides for quickstarts, configuration, usage, billing, and terms of service within the documentation."],["Pricing and usage limits apply to the SDK, and your app must comply with the Google Maps Platform Terms of Service."]]],["The Maps SDK for Android enables adding Google Maps to Android and Wear OS apps. It supports Kotlin and Java, allowing map displays, gesture responses, markers, polygons, and overlays. Key actions include creating a basic app with a map, obtaining an API key, enabling billing, and configuring existing projects. Users should also review usage, billing information and terms of service for legal compliance. Additional tools, libraries and advanced features are available.\n"]]