Thanks Rossko.
It was a cross-domain issue indeed and has gone away when I switched
the URLRequest object with its cross-domain equivalent (I am using
Cappucino - I am now using CPJSONPConnection instead of
CPURLConnection).
But, I am now struggling with another issue: the JSON comes back from
the server and is well-formed as expected (I see it in the firefox
console) but I am getting an error in Chrome and a similar error in
Firefox and Safari.
The following comes from the Chrome javascrpit console...
{
"status": "OK",
===> Uncaught SyntaxError: unexpected token:
"results": [ {
"types": [ "street_address" ],
"formatted_address": "Via Cernaia, 9, 20121 Milan, Italy",
"address_components": [ {
"long_name": "9",
"short_name": "9",
"types": [ "street_number" ]
...
Again I suspect there must be something wrong with the request
headers, but I have not been able to find a solution so far.
Anyway, thanks again for your help.
Regards. Bruno.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.