Geocode by Address
This functions allows to get results by an address using Google Maps Geocoder.
Firm
const geocodeByAddress = (address: string): Promise<google.maps.GeocoderResult[]>;
Usage
import { geocodeByAddress } from 'react-google-places-autocomplete';
geocodeByAddress('Montevideo, Uruguay')
.then(results => console.log(results))
.catch(error => console.error(error));