我想展示城市和国家,但我只得到城市
这有效
var options = {
types: ['(cities)'],
};
var autocomplete = new google.maps.places.Autocomplete(input, options);
这不起作用
types: ['(cities)','(coutry)'],
types: ['(cities),(coutry)'],
types: ['(cities,coutry)'],