<form> <input id="pac-input" value="" class="controls" type="text" placeholder="Search Box"> <input type="button" id="find" value="find" /> </form> <script> function initAutocomplete() { var options = { componentRestrictions: { country: "IN" } }; </script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD9CiSrNomU7HPw5PLIpFZYP6NXXOq0dlE&libraries=places&callback=initAutocomplete" async defer></script>
I want the search text, such as "Maharashtra, India", "Mumbai", "India" not to have. In principle, I only need regions and settlements, and not the names of states or the names of cities. Can anyone help?
source share