gpt4 book ai didi

ios - 如何从 Google Maps SDK(适用于 iOS)下载单个 map 图 block ?

转载 作者:行者123 更新时间:2023-11-28 22:43:18 24 4
gpt4 key购买 nike

我一直在检查适用于 iOS 的新 Google Maps SDK,它允许您绕过 Apple Maps 在您的应用程序中使用 map 相关功能!

https://developers.google.com/maps/documentation/ios/intro

SDK看起来还算好用,但我想知道:

  1. 是否可以使用 SDK(是否有 API)下载单个 map 图 block ?
  2. 如果是,怎么做?

我查看了他们的开发人员门户网站上提供的文档,它说了以下内容:

https://developers.google.com/maps/documentation/ios/map

The key class when working with a Map object is the GMSMapView class. GMSMapView handles the following operations automatically:

  1. Connecting to the Google Maps service.

  2. Downloading map tiles.

  3. Displaying tiles on the device screen.

  4. Displaying various controls such as pan and zoom.

  5. Responding to pan and zoom gestures by moving the map and zooming in or out.

  6. Responding to two finger gestures by tilting the viewing angle of the map.

tiles 的下载似乎是自动发生的,或者是否有允许手动访问 tiles 的 API?

如果没有,任何解决方法也会有所帮助!

最佳答案

文档和头文件未指明任何下载单个 map 图 block 的方法。

即使您找到了解决方法,您也不会被允许使用它。参见 Terms of Service 中的第 10.1.1 (a) 条:

No Access to Maps API(s) except through the Service. You must not access or use the Maps API(s) or any Content through any technology or means other than those provided in the Service, or through other explicitly authorized means Google may designate. For example, you must not access map tiles or imagery through interfaces or channels (including undocumented Google interfaces) other than the Maps API(s).

关于ios - 如何从 Google Maps SDK(适用于 iOS)下载单个 map 图 block ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13864522/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com