Geocoder function is not working

柔情痞子 提交于 2020-02-24 09:22:45

问题


I have using google api for fetching location address from lat and long.That was running good but today this message suddenly occur.. I have done

geocoder = new Geocoder(MapNavigation.this, Locale.ENGLISH);
                addresses = geocoder.getFromLocation(lat, lon, 1);

HTTP request blocked due to automatic backoff: https://www.google.com/loc/m/api
Blocked by temporary_blocked2: https://www.google.com/loc/m/api
com.google.android.gms.http.a: Blocked by rule: temporary_blocked2

回答1:


Happening with us too. Created following bug for Geocoder team:

https://code.google.com/p/gmaps-api-issues/issues/detail?id=9153




回答2:


Happening with us too. And onLocationChanged of google service also does not work :-(.



来源:https://stackoverflow.com/questions/34806065/geocoder-function-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!