Google Places API违规 [英] Google Places API Violation

查看:101
本文介绍了Google Places API违规的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google Places API来提取resturants列表,我正在地图上显示它们。但是,由于Apple已经在iOS 6.0中切换了Google的地图服务,我现在违反了Google的使用条款,该条款规定您必须在Google地图上显示Google数据。

I am using Google Places API to pull a list of resturants, and I am displaying them on map. However, since Apple has switched there map services over from Google in iOS 6.0, I am now in violation of Google's terms of use, which states that you must display Google data on a Google map.

如果您的应用在地图上显示Places API数据,那么该地图必须由Google提供。

"If your application displays Places API data on a map, that map must be provided by Google."

https://developers.google.com/places/policies#terms_of_use

我显然需要更改地图,因为我不会发布违规的应用程序。关于该怎么做的任何想法或建议?我应该使用网络视图访问Google地图吗? Apple是否有某种Google Places API替代方案?

I obviously need to change the map, because I am not going to release an application that is in violation. Any thoughts or suggestions on what to do? Should I go Google Maps with a web view? Does apple have some sort of Google Places API alternative?

编辑:

通过网络视图使用Google地图是一个麻烦,我想找到一个替代方案,虽然它在技术上有用。

Using Google Maps through a web view is a hassle, i'd like to find an alternative to that, although it would technically work.

推荐答案

我决定使用Google Maps JavaScript API。虽然,通过Objective-C来处理它主要是JavaScript有点困难,但它是一个解决方案。地图通过网络视图显示,我使用JavaScript与地图进行互动。

I decided to use Google Maps JavaScript API. Although, it is a little more difficult to deal with, mainly the JavaScript through Objective-C, it is a solution. The map is displayed through a web view, and I use JavaScript to interact with the map.

https://developers.google.com/maps/documentation/javascript/tutorial#api_key

我将等待接受这个答案,看看是否有其他人有任何想法。我只是想发布这个,以防它帮助其他人。

I will wait to accept this answer, to see if anyone else has any thoughts. I just wanted to post this, in case it helps someone else.

编辑:

Google最近发布了一个适用于iOS的Maps SDK,现在是更好的解决方案。

Google recently released a Maps SDK for iOS, this is the better solution now.

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

这篇关于Google Places API违规的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆