dolittle
22 Mar 2009, 10:50 AM
Hi,
I'm using google geocoding service as described here (http://code.google.com/apis/maps/documentation/services.html#Geocoding_Object):
In the example the url for the request is:
http://maps.google.com/maps/geo?output=json&...&callback=_xdc_._1fsm2u0k2
and the response:
_xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({
"name": "1600 Amphitheatre Pky, Mountain View, CA",
"Status": {
...
...
...
}
)
I understand how cross domain requests and ScriptTagProxy works but I don't understand why google respond with:
_xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({...
and not with:
_xdc_._1fsm2u0k2({...
Any ideas?
Thanks
I'm using google geocoding service as described here (http://code.google.com/apis/maps/documentation/services.html#Geocoding_Object):
In the example the url for the request is:
http://maps.google.com/maps/geo?output=json&...&callback=_xdc_._1fsm2u0k2
and the response:
_xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({
"name": "1600 Amphitheatre Pky, Mountain View, CA",
"Status": {
...
...
...
}
)
I understand how cross domain requests and ScriptTagProxy works but I don't understand why google respond with:
_xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({...
and not with:
_xdc_._1fsm2u0k2({...
Any ideas?
Thanks