Google Place API Autocomplete, show only neighborhood, cities and landmarks -


i using google places js library , trying show autocomplete suggestions showing movie theaters in , around places. want user autocomplete neighborhood, city or landmarks.

let autocomplete = new google.maps.places.autocomplete(document.getelementbyid('place'), {     componentrestrictions: {'country': ['us']},     types: ["(cities)"] }); 

i have tried geocode , (regions) types option, geocode returns streets, don't want.

is there way manually search autocomplete suggestions , filter them?

thanks!


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -