I don't work at Google. But yes I am sure as can be about the
statement. I've seen it stated by Googlers before.

Notice the callback param is NOT documented:
http://code.google.com/apis/maps/documentation/geocoding/v2/index.html

As such anything not listed there, is not offical, nor supported.

(the fact that the 'callback' param, happens to partly work is just
incidental. Its probably used internally by the real API, but that
doesn't mean you are allowed to use it)


(While you are at it, you might like to read the "Usage Limits"
section on the above page too. This whole converstation might be mute,
and you not allowed to even use the Geocoding API at all anyway.)


On Thu, Sep 22, 2011 at 8:26 PM, Vladimir Agafonkin <[email protected]> wrote:
> Barry, Are you working at Google and sure about your statement? It doesn't
> make any sense at all! If Geocoding API does not support JSONP they wouldn't
> support the callback parameter at all in the first place, but it works and
> returns excatly JSONP (which doesn't make sense in a server environment). So
> it was clearly intended to be called from a browser too.
> Jeff, just tried it again and it returned the same key... I guess it is tied
> to your Google account.
>
> 2011/9/22 Barry Hunter <[email protected]>
>>
>> You are using a 'callback' param.
>>
>> That suggests you are using JSONP - which is a mechanism to make cross
>> domain javascript calls in a browser.
>>
>> The Geocoding API does NOT support public JSONP. To use the geocoding
>> api in a webpage you meant to use the provided JavaScript API.
>>
>>
>> ... so either use the Javascript API directly. Or do a server side
>> call (eg with a proxy)
>>
>>
>>
>>
>> On Thu, Sep 22, 2011 at 12:58 PM, Vladimir Agafonkin
>> <[email protected]> wrote:
>> > Hi!
>> >
>> > This page - http://10k.aneventapart.com/2/Uploads/660/ - does a
>> > Geocoding HTTP request when you search in the search box, with the
>> > following URL:
>> >
>> >
>> > http://maps.google.com/maps/geo?q=New%20York&output=json&oe=utf8&sensor=false&callback=Location.handleGoogleResponse&key=ABQIAAAAx3CXoL6IyjVXIDSQpkGwVRQO9Y2xPcAGEpo8UqbWZAvvbb1SdBQ8z7GRXPHYikU_J9qNTlBh_LaYbA
>> >
>> > Key here is a valid API key registered for the
>> > http://10k.aneventapart.com
>> > domain, but the service still returns a 610 error. The request itself
>> > is valid too (it works correctly locally).
>> >
>> > What am I doing wrong? This is really critical. :(
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Google Maps API V2" 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.
>> >
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Maps API V2" 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.
>>
>
>
>
> --
> Vladimir Agafonkin
> http://agafonkin.com/en
> +380 (93) 745 44 61
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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