Yes, thank you. I couldn't try that right away because I was debugging another error and my code was broken. It's working now and I've tried Placemark[0] and it works. So I'm writing the code to test the array length and access additional elements.
However, I now see another problem. The documentation page, http://code.google.com/apis/maps/documentation/geocoding/index.html , says that the KML response is structurally identical to the JSON output, but it's not. In JSON, accuracy is just another element, but in KML (and XML), it is some kind of parameter of AddressDetails, as in: <AddressDetails Accuracy="8"> How do I access that data? If you give me the answer in Javascript, I should be able to translate it to PHP. I was partly confused before that the code given had "result" where mine has "response". I still don't understand why using Javascript would call for that difference. Thanks for your help. On Dec 8, 5:01 am, Andrew Leach <[email protected]> wrote: > On Dec 8, 12:51 pm, webmaster <[email protected]> wrote: > You surmise Placemark[0] which seems reasonable. What happens when you > try that? -- 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.
