English 中文(简体)
Google Places API“类型”问题
原标题:Google Places API "types" issue

我习惯于从 Google 站点网络服务获取数据。 但是, 本周我意识到网络服务链接 : < a href="https://maps.googleapis.com/maps/api/place/search/json?place=41.025414,29.114866&radious=5000&type=gas_stand&stype=gas;sensor= true&s=5000&stype=gas_stand&sensor= true&s=XXXXXXXXXXXXXXX'sensor= true& key=x; key=XXXXXXXXXXXXXXX'sensor= rel=nation; refold.com/map/place/search/json?place=41.025414,29. 686&radus= 500&tys= train= treat&s&s= train&= trans&XXXXXXXXXXXX < a > 正在 返回“ZERO_RESLAT.

当我删除类型=气站时,它的工作效果很好。所以,你知道为什么“型号”没有像以前那样工作吗?

最佳回答

我不认为你会得到50个结果, 因为Places API 只能一次退回20个机构。

我建议在多个地点尝试参数 types=gas_stage 以确保该参数不正确运行,然后如果你仍未收到任何结果,我建议在上提出这一问题,http://code.google.com/p/gmaps-api-issues/issues/ inissues/ inport?template=Places%20API%20-%20Bug" rel=“nofollow” >Google Pages API 问题追踪器

临时解决办法是使用 keyword=gas station 参数。 这似乎会返回相关结果 。

问题回答

暂无回答




相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签