如何从Google Places API结果中排除某些类型/类别? [英] How to exclude certain types/categories from Google Places API results?

查看:58
本文介绍了如何从Google Places API结果中排除某些类型/类别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在结果中排​​除个别医生的诊室.

I want to exclude individual doctor's offices in my results.

大多数医生的诊室属于医生"和卫生"类别.

Most doctor's offices are in the category "doctor" and "health".

我想显示健康"类别的地点.

I DO want to show places of category "health".

我该如何实现?

如果我从类型参数中删除医生",但仍然有健康状况",我仍将获得所有医生的诊室.

If I remove "doctor" from the types parameter, but still have "health", i'll still get all the doctor's offices.

有没有一种方法专门排除医生"类型?

Is there a way to specifically exclude type "doctor"?

推荐答案

当前无法通过手动将其从结果中过滤掉来实现.这听起来像是一项很棒的功能请求,请以

There is currently no way to do this with out manually filtering them out of your results. This sounds like a great feature request, please file it as a Places API - Feature Request on the Google Maps issue tracker.

这篇关于如何从Google Places API结果中排除某些类型/类别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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