借助 Maps SDK for iOS,您可以将基于 Google 地图数据的地图添加到您的应用中。SDK 会自动处理对 Google 地图服务器的访问、地图显示以及对用户手势(例如点击和拖动)的响应。您还可以向地图添加标记、多段线、地面叠加层和信息窗口。这些对象可为地图位置提供更多信息,并允许用户与地图互动。
使用此 SDK 时,您需要遵守 Google Maps Platform 服务条款,并确保您的应用符合适用法律。请注意,使用该 SDK 时,系统会在每次请求中自动发送您的应用名称和版本、身份验证信息以及跨应用匿名标识符。
受众群体
本文档旨在为熟悉 iOS 开发和面向对象编程概念的人员提供概念性指导。您还应从用户的角度熟悉 Google 地图。本课程旨在帮助您开始使用 Maps SDK for iOS 探索和开发应用。您还可以参阅参考文档,详细了解类和方法。
署名要求
如果您在应用中使用 Maps SDK for iOS,则必须在应用的法律信息部分中添加归属声明文本。建议将法律信息作为独立菜单项或“关于”菜单项的一部分进行添加。
[null,null,["最后更新时间 (UTC):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."]]],[]]