87,902
社区成员
发帖
与我相关
我的任务
分享
function zoomOut()
{
debugger;
latlng = map.fromContainerPixelToLatLng(clickedPixel);
mygeocode.getLocations (latlng,function(response) {
document.getElementById("toaddress").value = response.Placemark[0].address;
temp = response.Placemark[0].address; //temp是全局变量
}
);
anotherFunction(temp);
- response {...} Object
name "23.386380,112.847443" String
- Placemark {...} Object
- [0] {...} Object
address "中国广东省佛山市三水区" String
+ AddressDetails {...} Object
+ ExtendedData {...} Object
id "p1" String
+ Point {...} Object
+ [1] {...} Object
+ [2] {...} Object
+ [3] {...} Object
+ Status {...} Object