Google Map Javascript API v3 - OVER_QUERY_LIMIT错误 [英] Google Map Javascript API v3 - OVER_QUERY_LIMIT Error
本文介绍了Google Map Javascript API v3 - OVER_QUERY_LIMIT错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
$ output = json_decode(
stripcslashes(
file_get_contents('http://maps.googleapis.com/maps/api/geocode/json?latlng='.$data ['lat']。')。 ,'。$ data ['lon']。'& sensor = false& language = ru')
)
);
print $ output-> results [0] - > formatted_address
I am displaying multiple locations in the map by iterating a for loop. After doing that few times using Google Map API v3 javascript I am getting this javascript error
解决方案
$output= json_decode(
stripcslashes(
file_get_contents('http://maps.googleapis.com/maps/api/geocode/json?latlng='.$data['lat'].','.$data['lon'].'&sensor=false&language=ru')
)
);
print $output->results[0]->formatted_address
这篇关于Google Map Javascript API v3 - OVER_QUERY_LIMIT错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文