On Sep 9, 8:06 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote:
>
> and you need gl=GB, not uk :) (its a country code, not top level domain)

That's actually not the case. 'uk' is the correct value.

The gl parameter takes a ccTLD ("top-level domain") two-character
value as stated in the docs for the HTTP Geocoder:

http://code.google.com/apis/maps/documentation/services.html#Geocoding_Direct

The UK is called out as a specific case where the ccTLD differs from
the ISO-3166-1 code in the GClientGeocoder.setBaseCountryCode()
reference:

http://code.google.com/apis/maps/documentation/reference.html#GClientGeocoder

Also as mentioned in the issue tracker thread that Barry mentioned, gl
just biases the rankings so that results of in that country are
returned above results of roughly equal quality in other countries. It
does not filter results, so results in other countries will still be
included, and may still rank higher than results in the specified
country if they are significantly better matches.

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