If you would like me to help you with your code, please schedule a time to have a google meet with me. *30 minute google meet for $10* calendly.com/a... *15 minute meet for $5* calendly.com/a... *1 hour for $30* calendly.com/a...
Пікірлер: 13
@user-fd3vo9qg4gАй бұрын
Very helpful! Thank you!
@pemantauan3 ай бұрын
thank you, this is what i look for.
@bazaar_9.15 Жыл бұрын
thanks man, you are doing great
@emax747 Жыл бұрын
Thanks for the short script but it is LIMITED in number of queries per day.. How can I get the same result using a https// query and with my APIKey from Google Maps API? Thanks for any help!
@ryanpeterson7998 Жыл бұрын
thanks!
@kabirlife1117 Жыл бұрын
Exception: Service invoked too many times for one day: geocode. (line 2). can some help me, why this error showing?
@chimmoi32649 ай бұрын
do you have a solution for this issue?
@reyhansyaiful2163 Жыл бұрын
Nice info there thank you, but i got error when testing a few of the lat nd long, idk why
@keetakum10 ай бұрын
this ez and good
@shailesh1981able Жыл бұрын
var response = Maps.newGeocoder().reverseGeocode(lat, long); Got error 'Exception: The parameters (null,null) don't match the method signature for Maps.Geocoder.reverseGeocode. reverse_geocode @ Code.gs:2' can you pls reply how to resolve it
@wahyu73197 ай бұрын
same here
@zowy50686 ай бұрын
same
@daufbizz4176 ай бұрын
function getLatLong() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); var lastRow = sheet.getLastRow(); var addressesRange = sheet.getRange("F2:F" + lastRow); // Assuming addresses start from F2 downwards var addresses = addressesRange.getValues(); var output = []; for (var i = 0; i < addresses.length; i++) { var address = addresses[i][0]; if (address != "") { var response = Maps.newGeocoder().geocode(address); if (response.status === 'OK') { var location = response.results[0].geometry.location; output.push([location.lat, location.lng]); } else { output.push(["Error", "Error"]); // Push error values for both latitude and longitude } } else { output.push(["", ""]); // Push empty values for both latitude and longitude } } // Write latitude and longitude values to columns G and H sheet.getRange(2, 7, output.length, 2).setValues(output); } *Paste this to App Script then run for the result..hope will help..