Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/207.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/119.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Google放置自动完成API,但不返回某些位置的结果_Android_Ios_Objective C_Google Api_Google Places Api - Fatal编程技术网

Android Google放置自动完成API,但不返回某些位置的结果

Android Google放置自动完成API,但不返回某些位置的结果,android,ios,objective-c,google-api,google-places-api,Android,Ios,Objective C,Google Api,Google Places Api,谷歌放置自动完成API,不提供某些位置的搜索结果。当我在Google中搜索时,它会在搜索提示中返回位置名 以下是一些示例位置: 纽约曼哈顿凯富酒店 Radisson Martinique,纽约市,纽约 有人面对过这个问题吗?在iOS和/或android中有什么解决方法吗?我设置了一个参数types=geocode,该参数将位置限制为位置/地址。i、 e.健身房、餐厅等。。。不会返回结果 从url中删除参数解决了此问题

谷歌放置自动完成API,不提供某些位置的搜索结果。当我在Google中搜索时,它会在
搜索提示中返回位置名

以下是一些示例位置:

  • 纽约曼哈顿凯富酒店
  • Radisson Martinique,纽约市,纽约

有人面对过这个问题吗?在iOS和/或android中有什么解决方法吗?

我设置了一个参数
types=geocode
,该参数将位置限制为位置/地址。i、 e.健身房、餐厅等。。。不会返回结果

从url中删除参数解决了此问题