iPhone - 我可以在不显示地图的情况下使用 MapKit 吗?

发布于 2024-08-02 18:56:13 字数 475 浏览 0 评论 0原文

我正在编写一个应用程序,它将使用反向地理编码将用户的当前位置转换为街道地址或城市等内容。似乎获取此类信息的唯一方法是通过 MapKit(特别是 Placemark 类)。

我可以在不向用户显示地图的情况下使用它吗?

我问这个问题的原因是因为 Google HTTP 反向地理编码文档< /a> 它指出:

注意:地理编码服务只能与在 Google 地图上显示结果结合使用;禁止对结果进行地理编码而不将其显示在地图上。有关允许使用的完整详细信息,请参阅 Maps API 服务条款许可限制。

我想知道这是否也适用于 MapKit API,或者 Google 和 Apple 是否解决了问题。

I am writing an app that will use Reverse Geocoding to translate the user's current location into something like a Street Address or City. It seems the only way to get this kind of information is via MapKit (specifically the Placemark class).

Can I use this without having to display a map to the user?

The reason I am asking this is because in the Google HTTP Reverse Geocoding documentation it states:

Note: the geocoding service may only be used in conjunction with displaying results on a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.

I'm wondering if this holds true for the MapKit API as well or if Google and Apple worked something out.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏至、离别 2024-08-09 18:56:13

我在这里回答了太多我自己的问题 -

10.12 在没有相应 Google 地图的情况下使用或显示内容,除非地图 API 文档、街景 API 文档明确允许您这样做,或者获得 Google 的书面许可(例如,您不得使用地理编码)通过本服务获得(与 Google 地图结合使用除外),但街景 API 文档明确允许您在没有相应 Google 地图的情况下显示街景图像);或

通过 Google 地图 iPhone TOS

I answer my own question way too much around here -

10.12 use or display the Content without a corresponding Google map, unless you are explicitly permitted to do so in the Maps API Documentation, the Street View API Documentation, or through written permission from Google (for example, you must not use geocodes obtained through the Service except in conjunction with a Google map, but the Street View API Documentation explicitly permits you to display Street View imagery without a corresponding Google map); or

via Google Maps iPhone TOS

不奢求什么 2024-08-09 18:56:13

Map Kit 框架为您的应用程序提供了可嵌入的地图接口。使用它可以从自定义应用程序的窗口和视图显示地图或卫星图像。您还可以使用该框架通过兴趣点和其他自定义信息来注释地图。

上面所说的使用 Google 的 HTTP API 进行反向地理编码将是显示您正在查找的信息并使用文本框读取信息的更好方法。

The Map Kit framework provides an embeddable map interface for your application. Use it to display map or satellite imagery from the windows and views of your custom applications. You can also use the framework to annotate your maps with points of interest and other custom information.

What was stated above about using Googles HTTP API for reverse geocoding would be a better way to display the information you are looking for and using a text box to read the information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文