借助 Maps SDK for iOS,您可以基于 Google 地图数据将地图添加到应用中。该 SDK 会自动处理对 Google 地图服务器的访问、地图显示以及对用户手势(例如点击和拖动)的响应。您还可以为地图添加标记、多段线、地面叠加层和信息窗口。这些对象可提供有关地图位置的更多信息,并允许用户与地图交互。
[null,null,["最后更新时间 (UTC):2025-03-11。"],[[["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."]]],["To use the Maps SDK for iOS, set up a Google Cloud project with a billing account and the SDK enabled. The SDK allows adding Google Maps to iOS apps, handling map display and user interactions. Developers must comply with Google Maps Platform Terms of Service and include attribution text via `[GMSServices openSourceLicenseInfo]`. Apps require iOS 14.0+ and Xcode 15.0+. Note that app extensions and multi-window use may be problematic, and Google Maps must be installed for Maps URLs to work.\n"]]