“@”如何表示?位置标签有效吗?
为了更好地理解,请先查看此链接:http: //sxsw.usehipster.com/questions/where-are-the-best-breakfast-tacos-in-austin
如您所见,有些答案引用了地图上显示的位置右边的。用户可以通过在位置名称前添加“@”符号来做到这一点。
我想知道这是如何运作的。 usehipster.com 的人是自己开发的还是我也可以使用这个框架?
干杯
for better understanding check out this link first: http://sxsw.usehipster.com/questions/where-are-the-best-breakfast-tacos-in-austin
as you can see there, some answers have a reference to a location which is show on the map on the right. A user can do that by adding the “@“ symbol before the location name.
I'd like to know how that works. Did the guys from usehipster.com developed that by themselve or is that maybe a framework I can use too?
cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来是定制的——即不是一个框架。应该不会太难 - 只需扫描
@\w+
条目,将其插入 Google 本地搜索(可能指定城市),然后将输出插入 Google 地图。例如,请参阅 Google 本地搜索 API 的示例: http:// code.google.com/apis/ajax/playground/?exp=localsearch#the_hello_world_of_local_searchLooks custom-made - i.e. not a framework. Shouldn't be too hard - just scan the entry for
@\w+
, plug that into Google Local Search (possibly specify the city), and plug the output into a Google Map. See e.g. this for an example of Google Local Search API: http://code.google.com/apis/ajax/playground/?exp=localsearch#the_hello_world_of_local_search