您可以使用 Maps SDK for iOS,在應用程式中加入以 Google 地圖資料為基礎的地圖。SDK 會自動處理對 Google 地圖伺服器的存取權、地圖顯示,以及對使用者手勢 (例如點擊和拖曳) 的回應。您也可以在地圖中加入標記、多邊形、地面疊加層和資訊視窗。這些物件可為地圖位置提供額外資訊,並讓使用者與地圖互動。
使用 SDK 時,您必須遵守 Google 地圖平台服務條款,並確保應用程式遵守適用法律。請注意,使用 SDK 時,系統會在每次要求中自動傳送應用程式名稱和版本、驗證資訊,以及跨應用程式匿名 ID。
目標對象
這份概念說明文件適用於熟悉 iOS 開發和以物件為導向的程式設計概念的使用者。您也應從使用者的角度熟悉 Google 地圖。這項指南旨在讓您開始探索並使用 Maps SDK for iOS 開發應用程式。您也可以參閱參考文件,瞭解類別和方法的具體細節。
作者資訊相關規定
如果您在應用程式中使用 Maps SDK for iOS,則必須在應用程式的法律聲明部分加入歸屬文字。建議您將法律聲明設為獨立的選單項目,或設為「關於」選單項目的一部分。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-01-14 (世界標準時間)。"],[[["The Maps SDK for iOS allows you to integrate Google Maps into your iOS application, enabling features like markers, polylines, and ground overlays for enhanced user interaction."],["You must comply with the Google Maps Platform Terms of Service and display attribution text within your application when using the SDK."],["The SDK supports native 64-bit iOS devices running iOS 14.0 and later, requiring Xcode 15.0 or higher for development."],["To get started, you need a Google Cloud project with billing enabled and the Maps SDK for iOS activated."],["Familiarity with iOS development, object-oriented programming, and Google Maps from a user perspective is recommended."]]],[]]