Is it possible to filter out counties (not countries) from Google Autocomplete? -
i return state, cities, , zipcodes within us. restricting results regions within us. bring state, cities , zipcodes adds in others such counties. how can restrict results find state, cities , zipcodes?
this have:
var autocomplete = new google.maps.places.autocomplete(input, { types: ['(regions)'], componentrestrictions: { country: 'us' } });
Comments
Post a Comment