0
爲什麼Google API加載程序客戶端地址位置爲多年工作的國家返回空字符串? 對象在這裏,但地址項是空的。google.loader.ClientLocation爲地址項返回emply字符串
API鍵後。
google.load("maps",'3',{other_params:'sensor=true'});
google.setOnLoadCallback(function()
{
if (google.loader.ClientLocation)
{
google.loader.ClientLocation.address.city is ""
google.loader.ClientLocation.address.region is ""
google.loader.ClientLocation.address.country_code is ""
google.loader.ClientLocation.latitude is OK
google.loader.ClientLocation.longitude is OK