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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -