You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the API changed so this line causes an error. Change [7] to [5] and it's good to go!
var country = address_data.results[0].address_components[7].short_name;
Should be with "
{
"apiKey":"YOUR API KEY"
}
With default ' crashes at parsing.
The text was updated successfully, but these errors were encountered: