Hello. I want to supply the coordinates and information in my script
as an array:
function codeAddress()
{
var address = document.getElementById("city").value;
geocoder.getLocations(address, addAddressToMap);
}
function addAddressToMap(response) {
map.clearOverlays();
place = response.Placemark[0];
point = new GLatLng(place.Point.coordinates[1],
place.Point.coordinates[0]);
marker = new GMarker(point);
map.addOverlay(marker);
$.post("main/geo",place);
}
finally got in PHP script not the whole array but only his part
Array
(
[id] => p1
[address] => New York, NY, USA
[AddressDetails] => [object Object]
[ExtendedData] => [object Object]
[Point] => [object Object]
)
How can I get the entire array is fully in my PHP script?
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.