Make a 'maps' request to the Google Geocoding API.
Optional
Coordinates to query
Request options
A promise resolving to the geocoder response
const res = await mapQuery({ location: { lat: 0, lng: 0 } }); Copy
const res = await mapQuery({ location: { lat: 0, lng: 0 } });
Make a 'maps' request to the Google Geocoding API.