< pre class="snippet-code-js lang-js Prettyprint-override">
Код: Выделить всё
const response = await fetch(
`https://maps.googleapis.com/maps/api/geocode/json?latlng=${lat}, ${long}&key=${key}`
);
const data= await response.json();
Подробнее здесь: https://stackoverflow.com/questions/793 ... roid-and-i