1

我想展示城市和国家,但我只得到城市

这有效

    var options = {
      types: ['(cities)'],
    };

    var autocomplete = new google.maps.places.Autocomplete(input, options);

这不起作用

    types: ['(cities)','(coutry)'],

    types: ['(cities),(coutry)'],

    types: ['(cities,coutry)'],
4

1 回答 1

1

我认为迟到总比没有好

types: ['(cities,country)']
于 2013-05-20T13:58:01.913 回答