On Sun, Mar 22, 2009 at 9:25 PM, [email protected]
<[email protected]>wrote:

>
> On Mar 22, 12:03 pm, pablo platt <[email protected]> wrote:
> > Hi,
> >
> > I'm using google geocoding service as described
> > here<
> http://code.google.com/apis/maps/documentation/services.html#Geocodin...>
> > :
> >
> > In the example the url for the request is:
> >
> > http://maps.google.com/maps/geo?output=json&...&callback=_xdc_._1fsm2...
> > and the response:
> > _xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({
> >   "name": "1600 Amphitheatre Pky, Mountain View, CA",
> >   "Status": {
> >   ...
> >   ...
> >   ...
> >     }
> > )
> >
> > I understand how cross domain requests work but I don't understand why
> > google respond with:
> > _xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2({...
> >
> > and not with:
> > _xdc_._1fsm2u0k2({...
> >
> > Why the double callback in the response?
> >
> > Thanks
>
> Do you understand what this:
>
> if (_xdc_._1fsm2u0k2 &&
>
> is testing for?
>
>  -- Larry


I don't see the if statement and I don't understand.
All I can see is _xdc_._1fsm2u0k2 && _xdc_._1fsm2u0k2 in firebug

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to