Is google.loader.clientlocation still supported

穿精又带淫゛_ 提交于 2019-11-27 02:04:12

It seems this API is kind of "deprecated" although it still works for some IPs.

This is the answer I got from here:

The geolocation functionality in the Loader hasn't been retired, per se. We stopped documenting it several years ago and have recommended the HTML-based solutions due to their improved accuracy, but the functionality itself has not been removed from the Loader at this time. Thanks!

So when location is not found for IP, google.loader.ClientLocation is null

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