谷歌地图API:请求给予经纬度任何地方的标签? [英] Google Maps API: Requesting any place labels given longitude and latitude?

查看:279
本文介绍了谷歌地图API:请求给予经纬度任何地方的标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个iPhone地图应用程序,并想知道是否有可能要求就给予了经度/纬度和半径?谷歌地图上可见的标签

I am working on an iPhone map application and wanted to know whether it was possible to request any labels visible on Google Maps given a longitude/latitude and radius?

例如,如果我给下面的位置<一个href=\"http://maps.google.com/maps?f=q&source=s_q&hl=en&geo$c$c=&q=stanford+university&aq=&sll=37.876276,-122.24556&sspn=0.027303,0.051756&ie=UTF8&hq=&hnear=Stanford+University,+Menlo+Park,+Santa+Clara,+California&ll=37.428132,-122.173231&spn=0.00184,0.003235&z=18\"相对=nofollow>这个谷歌地图API ,我还是会回到麦卡洛厅,莫尔音乐厅等名单将是任何地方标注在地图上可见(并不一定是公正的餐馆,商家)

For example if I gave the following location to this Google Maps API, I would get back McCullough Hall, Moore Hall, etc. The list would be any place labels visible on the map (doesn't have to be just restaurants, businesses).

如果这是可能的,你可以直接我在那里我可以更多地了解这一点。如果这是不可能的,你能不能告诉我走向另一个API地方是可能的吗?

If this is possible can you direct me to where I can learn more about this. If this isn't possible, can you direct me towards another API where it is possible?

推荐答案

简短的回答,你不能!
唯一的办法是按名称搜索的地点,参考键查询地点的详细信息,包括纬度/经度。不是周围的其他方法。

The short answer, you cannot!. The only way is to search for places by name and get a reference key to query the place details including lat/lng. Not the other way around.

恕我直言,这主要是谷歌的政策,而不是被技术限制。

IMHO, this is mainly a policy of Google instead of being technical limitation.

这篇关于谷歌地图API:请求给予经纬度任何地方的标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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