douyingp82418 2015-10-31 08:23
浏览 22

需要使用google place api中栏的某些字符进行搜索

I am using nearbysearch of google place api for listing all of the bar,restaurant in my webservice to provide list to mobile application.

I need to search like Pizz then all Pizza and other related restaurant and bar should come in list.

I am using below url for this but not getting any results.

https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=22.758,75.891&rankby=distance&types=bar|restaurant&keyword=bar|restaurant|wine&name=Pizza&key="My Api Key"

Anyone can help me in this?

  • 写回答

1条回答 默认 最新

  • doxqszx09742 2015-10-31 14:38
    关注

    I suppose you have to use something like a dictionary which have to predict for the user's choice (as far as i get your question). You can implement live ajax search in the input where the text is entered, searching through a previously inserted dictionary for instance in db or a plain text.

    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记