无论我从这个Geocoding函数返回什么,它都显示在控制台中未定义。下面是代码片段: axios.get('https://maps.googleapis.com/maps/api/geocode/json', {error);}
event.preventDefault();
var coordinates = G
我使用这个获取自动完成文本视图中的地址,作为建议。我激活了Google并生成了Android密钥。但是当我运行这个应用程序时,我会得到这个错误This IP, site or mobile application is not authorized to use this API key. Request received from IP address <IP>, with empty referer。我是不是做错了什么。如果有人能在这方面帮助我,那就太好了。谢谢。
public class MainActivity extends Activity im