Maps SDK for Android 簡介
有了 Maps SDK for Android,您就能使用 Google 地圖資料、地圖顯示畫面和地圖手勢回應,將地圖加進 Android 應用程式 (包括使用 Wear OS 的應用程式)。此外還可以在地圖上新增標記、多邊形和疊加層,藉此提供更多地圖位置相關資訊並支援使用者互動。
這個 SDK 可支援 Kotlin 和 Java 兩種程式設計語言,並提供額外程式庫和擴充功能,以滿足進階功能與程式設計技巧相關需求。
後續步驟
設定並建立第一個應用程式:
- 快速入門導覽課程:新增地圖
- 建立可顯示地圖的基本 Android 應用程式。
- 取得 API 金鑰並啟用計費功能
- 深入瞭解如何啟用計費功能及取得 API 金鑰 (您必須完成這兩件事,才能在應用程式中加入地圖)。
- 設定現有的 Android Studio 專案
- 設定現有應用程式,讓該應用程式使用 Maps SDK for Android。
- 用量與計費
- SDK 的計費方式和用量限制。
- 服務條款
- 《Google 地圖平台服務條款》當中說明了應用程式使用 SDK 時,必須遵循的法律要求。
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 2022-08-04 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":"其他"
}]