试图在地图上添加45个不同点,但我只收到<编码>>>> 查询-LIMIT 退回,没有地图。
我正在通过搜身寻找地点,然后将返回的LatLng物体转让给新的google Marker物体
String Search
var geocoder = new google.maps.Geocoder();
geocoder.geocode( { address : x}, function(results, status) {
if (status === google.maps.GeocoderStatus.OK) {
var result = results[0].geometry.location;
return result;
} else {
alert("Geocode was not successful for the following reason: " + status);
}
});