我已经看到了您网站中的代码,但它仅基于一种类型进行过滤,例如
var request = {
location: myplace,
radius: '500',
types: ['Elementary school']
};
我需要一次搜索多种类型,例如
var request = {
location: myplace,
radius: '500',
types: ['Elementary school','beauty_salon','book_store']
};
是否可以过滤多个地点类型?
答案 0 :(得分:0)
尝试:
var request = {
location: myplace,
radius: '500',
types: 'school|beauty_salon|book_store'
};