Jak stwierdza API odniesienia:Zmień język, w którym Geocoder.geocode() zwraca wyniki
The Geocoding API defines a geocoding request using the following URL parameters:
- language (optional) — The language in which to return results. See the supported list of domain languages. Note that we often update supported languages so this list may not be exhaustive. If language is not supplied, the geocoder will attempt to use the native language of the domain from which the request is sent wherever possible.
Jednak, określając parametr language
wydaje się nie mieć wpływu (testowane z Firefox, IE 8 i 9 Chrome 15).
to nie jest całkiem poprawny: obiekt 'GeocoderRequest' puszka zawierają "lokalizację" typu 'LatLng'. Ale masz rację, nie mogę określić języka w ten sposób. – 0xbadf00d
@SaschaHoll tak, przeoczyłem 'location', ale nadal nie powinno się nazywać" latlng ", jak to zostało uwzględnione w pytaniu. – omarello
W tym parametrze językowym działa świetnie, chociaż nie testowałem tego na innych urządzeniach lub przeglądarkach, ale z góry dziękuję. – hina10531