Ho il seguente script:
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, 14);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
var x = point.x;
var y=point.y;
}
}
);
}
}
Come faccio a ritornare x e y al chiamante se utilizzo uno script php?