How to exclude certain types/categories from Google Places API results?

依然范特西╮ 提交于 2019-12-23 15:44:52

问题


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".

How can I achieve this?

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"?


回答1:


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.



来源:https://stackoverflow.com/questions/13960698/how-to-exclude-certain-types-categories-from-google-places-api-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!