如何将返回点转换为与php一起使用的变量?
我有
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
alert("Get point" +point);
/*how to read point as php variable*/
map.setCenter(point, 15);
}
}
);
}
}
任何信息?