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
Post a Comment