Issue with Google maps and country only

I there

I use the google map location in my project
https://www.wix.com/velo/reference/$w/googlemap/location
The map automatically centers when the address is entered in an AddressInput field:

let address = $w('#addressInput1').value
$w("#googleMaps1").location = address.location ;

It works fine. However, when only the country is entered, google map does not react, it seems not to recognize the place… Even when autocompleted…

Any solution ?
Beside, is there any simple way to get capital from country ? Or do I need a collection?

Thanks in advance,