Make sure that put API
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&key=YOUR_API_KEY"></script>Go to generate API KEY
let countryRestrict = { country: [] }; : empty array of country returns cities from all country.
For example, country: ['USA'] returns cities from only United States.
Make sure that put API
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&key=YOUR_API_KEY"></script>
Go to generate API KEYlet countryRestrict = { country: [] };
: empty array of country returns cities from all country. For example,country: ['USA']
returns cities from only United States.