Barry,

You have a good point... And I just noticed a paragraph about Google
Geocoding not allowing to use its results for anything other than
displaying on a Google map, so I can't use it in this case for sure.
Though I still find it quite confusing that there's nothing in the
docs about not allowing to use the service from the browser - what if
I used the service to display results on a static Google map for
example, just because I didn't need to load the whole JS library for
some minimal use?

On 23 сен, 00:57, Barry Hunter <barrybhun...@gmail.com> wrote:
> 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 <agafon...@gmail.com> 
> 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 <barrybhun...@gmail.com>
>
> >> 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
> >> <agafon...@gmail.com> 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&sens...
>
> >> > 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 google-maps-api@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-maps-api+unsubscr...@googlegroups.com.
> >> > 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 google-maps-api@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-maps-api+unsubscr...@googlegroups.com.
> >> 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 google-maps-api@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-api+unsubscr...@googlegroups.com.
> > 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to